mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-24 23:07:17 +00:00
Add bootcount to Info3 message
This commit is contained in:
parent
6835eabc39
commit
152a5d364a
@ -942,7 +942,7 @@ void MqttConnected(void) {
|
||||
} else {
|
||||
ResponseAppend_P(PSTR("\"%s\""), GetResetReason().c_str());
|
||||
}
|
||||
ResponseJsonEndEnd();
|
||||
ResponseAppend_P(PSTR(",\"" D_JSON_BOOTCOUNT "\":%d}}"), Settings->bootcount +1);
|
||||
MqttPublishPrefixTopicRulesProcess_P(TELE, PSTR(D_RSLT_INFO "3"), Settings->flag5.mqtt_info_retain);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user