mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-30 01:06:11 +02:00
fix MQTT status
update
removed MQTT `available_text` (can be deducted from `available`) enhanced MQTT documentation in `User_Manual.md` remvoed `tickSunset` and `tickSunrise` from MQTT. It's not needed any more because of minute wise check of status (`processIvStatus`) changed MQTT topic `status` to nummeric value, check documentation in `User_Manual.md` fix regular expression of `setup.html` for inverter name and channel name
This commit is contained in:
parent
2a24400550
commit
a8d9b7ad0b
6 changed files with 52 additions and 53 deletions
|
@ -145,8 +145,6 @@ void app::tickCalcSunrise(void) {
|
|||
onceAt(std::bind(&app::tickCalcSunrise, this), nxtTrig);
|
||||
if (mConfig->mqtt.broker[0] > 0) {
|
||||
mMqtt.tickerSun(mSunrise, mSunset, mConfig->sun.offsetSec, mConfig->sun.disNightCom);
|
||||
onceAt(std::bind(&PubMqttType::tickSunrise, &mMqtt), (mSunrise - mConfig->sun.offsetSec));
|
||||
onceAt(std::bind(&PubMqttType::tickSunset, &mMqtt), mSunset);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue