mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 05:06:32 +00:00
Revert removal of exception details from MQTT info on restart
Revert removal of exception details from MQTT info on restart
This commit is contained in:
parent
dfee90bd61
commit
e9f8792649
@ -3,6 +3,7 @@
|
|||||||
### 7.1.2.4 20191209
|
### 7.1.2.4 20191209
|
||||||
|
|
||||||
- Change HTTP CORS from command ``SetOption73 0/1`` to ``Cors <cors_domain>`` allowing user control of specific CORS domain by Shantur Rathore (#7066)
|
- Change HTTP CORS from command ``SetOption73 0/1`` to ``Cors <cors_domain>`` allowing user control of specific CORS domain by Shantur Rathore (#7066)
|
||||||
|
- Revert removal of exception details from MQTT info on restart
|
||||||
- Add Wifi Signal Strength in dBm in addition to RSSI Wifi Experience by Andreas Schultz (#7145)
|
- Add Wifi Signal Strength in dBm in addition to RSSI Wifi Experience by Andreas Schultz (#7145)
|
||||||
- Add Yaw, Pitch and Roll support for MPU6050 by Philip Barclay (#7058)
|
- Add Yaw, Pitch and Roll support for MPU6050 by Philip Barclay (#7058)
|
||||||
|
|
||||||
|
@ -555,7 +555,13 @@ void MqttConnected(void)
|
|||||||
MqttPublishPrefixTopic_P(TELE, PSTR(D_RSLT_INFO "2"));
|
MqttPublishPrefixTopic_P(TELE, PSTR(D_RSLT_INFO "2"));
|
||||||
}
|
}
|
||||||
#endif // USE_WEBSERVER
|
#endif // USE_WEBSERVER
|
||||||
Response_P(PSTR("{\"" D_JSON_RESTARTREASON "\":\"%s\"}"), GetResetReason().c_str());
|
Response_P(PSTR("{\"" D_JSON_RESTARTREASON "\":"));
|
||||||
|
if (ResetReason() == REASON_EXCEPTION_RST) {
|
||||||
|
CrashDump();
|
||||||
|
} else {
|
||||||
|
ResponseAppend_P(PSTR("\"%s\""), GetResetReason().c_str());
|
||||||
|
}
|
||||||
|
ResponseJsonEnd();
|
||||||
MqttPublishPrefixTopic_P(TELE, PSTR(D_RSLT_INFO "3"));
|
MqttPublishPrefixTopic_P(TELE, PSTR(D_RSLT_INFO "3"));
|
||||||
MqttPublishAllPowerState();
|
MqttPublishAllPowerState();
|
||||||
if (Settings.tele_period) {
|
if (Settings.tele_period) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user