started to add heuristics as an extra class (for now global not inverter independent)

This commit is contained in:
lumapu 2023-10-29 17:17:05 +01:00
parent 7a97124bf7
commit 92855a7f0c
3 changed files with 170 additions and 8 deletions

View file

@ -205,8 +205,8 @@ void app::onNetwork(bool gotIp) {
every(std::bind(&app::tickSend, this), mConfig->nrf.sendInterval, "tSend");
mMqttReconnect = true;
mSunrise = 0; // needs to be set to 0, to reinstall sunrise and ivComm tickers!
//once(std::bind(&app::tickNtpUpdate, this), 2, "ntp2");
tickNtpUpdate();
once(std::bind(&app::tickNtpUpdate, this), 2, "ntp2");
//tickNtpUpdate();
#if !defined(ETHERNET)
if (WIFI_AP == WiFi.getMode()) {
mMqttEnabled = false;