Describe the bug
After Power ON, the MQTT sends an ONLINE once in the field McL/config. A connected client receives this status. A new client or a new query brings an OFFLINE, although the McL is still switched on and working.
To Reproduce
- MQTT Broker Mosquitto
- MQTT-client Node-Red
- MQTT-Client Laptop
- ESP McL with SK6812
a) Node-Red is connected to the broker. The field McL/config is subscribed.
Power on ESP. Node-Red MQTT says ONLINE
b) Laptop establishes a new connection to the broker The McL/config field is subscribed to. I see an OFFLINE. But the ESP is ONLINE
c) Node-Red MQTT-Client makes a reconnect to Broker. Subscribes to new McL/config. The answer is OFFLINE. But the ESP is ONLINE
d) Power OFF from ESP all MQTT clients get an OFFLINE
Describe the bug
After Power ON, the MQTT sends an ONLINE once in the field McL/config. A connected client receives this status. A new client or a new query brings an OFFLINE, although the McL is still switched on and working.
To Reproduce
a) Node-Red is connected to the broker. The field McL/config is subscribed.
Power on ESP. Node-Red MQTT says ONLINE
b) Laptop establishes a new connection to the broker The McL/config field is subscribed to. I see an OFFLINE. But the ESP is ONLINE
c) Node-Red MQTT-Client makes a reconnect to Broker. Subscribes to new McL/config. The answer is OFFLINE. But the ESP is ONLINE
d) Power OFF from ESP all MQTT clients get an OFFLINE