mqtt improvement (sunrise, sunset, wifi rssi)

This commit is contained in:
lumapu 2022-11-18 13:15:32 +01:00
parent c1eed6eef2
commit 4c52e9c307
2 changed files with 10 additions and 5 deletions

View file

@ -43,6 +43,7 @@ void app::setup(uint32_t timeout) {
mPayload.addListener(std::bind(&PubMqttType::payloadEventListener, &mMqtt, std::placeholders::_1));
addListener(EVERY_SEC, std::bind(&PubMqttType::tickerSecond, &mMqtt));
addListener(EVERY_MIN, std::bind(&PubMqttType::tickerMinute, &mMqtt));
addListener(EVERY_HR, std::bind(&PubMqttType::tickerHour, &mMqtt));
}
#endif
setupLed();