mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 11:46:31 +00:00
parent
b7edd60d9b
commit
aad1aa0dbd
@ -186,9 +186,11 @@ void CommandHandler(char* topicBuf, char* dataBuf, uint32_t data_len)
|
|||||||
uint32_t real_index = SET_MQTT_GRP_TOPIC;
|
uint32_t real_index = SET_MQTT_GRP_TOPIC;
|
||||||
for (uint32_t i = 0; i < MAX_GROUP_TOPICS; i++) {
|
for (uint32_t i = 0; i < MAX_GROUP_TOPICS; i++) {
|
||||||
if (1 == i) { real_index = SET_MQTT_GRP_TOPIC2 -1; }
|
if (1 == i) { real_index = SET_MQTT_GRP_TOPIC2 -1; }
|
||||||
|
if (strlen(SettingsText(real_index +i))) {
|
||||||
grpflg = (strstr(topicBuf, SettingsText(real_index +i)) != nullptr);
|
grpflg = (strstr(topicBuf, SettingsText(real_index +i)) != nullptr);
|
||||||
if (grpflg) { break; }
|
if (grpflg) { break; }
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
char stemp1[TOPSZ];
|
char stemp1[TOPSZ];
|
||||||
GetFallbackTopic_P(stemp1, ""); // Full Fallback topic = cmnd/DVES_xxxxxxxx_fb/
|
GetFallbackTopic_P(stemp1, ""); // Full Fallback topic = cmnd/DVES_xxxxxxxx_fb/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user