Reverted status MQTT message.
This commit is contained in:
parent
4a5a9b73b1
commit
991fe31569
@ -132,7 +132,7 @@ void publishMqtt()
|
|||||||
|
|
||||||
strcpy(subuf, mqttDeviceTopic);
|
strcpy(subuf, mqttDeviceTopic);
|
||||||
strcat_P(subuf, PSTR("/status"));
|
strcat_P(subuf, PSTR("/status"));
|
||||||
mqtt->publish(subuf, 0, false, "online"); // do not retain message
|
mqtt->publish(subuf, 0, true, "online"); // do not retain message
|
||||||
|
|
||||||
char apires[1024];
|
char apires[1024];
|
||||||
XML_response(nullptr, apires);
|
XML_response(nullptr, apires);
|
||||||
|
Loading…
Reference in New Issue
Block a user