mirror of https://github.com/arendst/Tasmota.git
Add relevant program core information
This commit is contained in:
parent
5a314f72e3
commit
6bd7be44ef
|
@ -942,8 +942,8 @@ void MqttConnected(void) {
|
||||||
if (Mqtt.initial_connection_state) {
|
if (Mqtt.initial_connection_state) {
|
||||||
if (ResetReason() != REASON_DEEP_SLEEP_AWAKE) {
|
if (ResetReason() != REASON_DEEP_SLEEP_AWAKE) {
|
||||||
char stopic2[TOPSZ];
|
char stopic2[TOPSZ];
|
||||||
Response_P(PSTR("{\"Info1\":{\"" D_CMND_MODULE "\":\"%s\",\"" D_JSON_VERSION "\":\"%s%s\",\"" D_JSON_FALLBACKTOPIC "\":\"%s\",\"" D_CMND_GROUPTOPIC "\":\"%s\"}}"),
|
Response_P(PSTR("{\"Info1\":{\"" D_CMND_MODULE "\":\"%s\",\"" D_JSON_VERSION "\":\"%s%s%s\",\"" D_JSON_FALLBACKTOPIC "\":\"%s\",\"" D_CMND_GROUPTOPIC "\":\"%s\"}}"),
|
||||||
ModuleName().c_str(), TasmotaGlobal.version, TasmotaGlobal.image_name, GetFallbackTopic_P(stopic, ""), GetGroupTopic_P(stopic2, "", SET_MQTT_GRP_TOPIC));
|
ModuleName().c_str(), TasmotaGlobal.version, TasmotaGlobal.image_name, GetCodeCores().c_str(), GetFallbackTopic_P(stopic, ""), GetGroupTopic_P(stopic2, "", SET_MQTT_GRP_TOPIC));
|
||||||
MqttPublishPrefixTopicRulesProcess_P(TELE, PSTR(D_RSLT_INFO "1"), Settings->flag5.mqtt_info_retain);
|
MqttPublishPrefixTopicRulesProcess_P(TELE, PSTR(D_RSLT_INFO "1"), Settings->flag5.mqtt_info_retain);
|
||||||
#ifdef USE_WEBSERVER
|
#ifdef USE_WEBSERVER
|
||||||
if (Settings->webserver) {
|
if (Settings->webserver) {
|
||||||
|
|
Loading…
Reference in New Issue