Aircoookie / WLED

Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
https://kno.wled.ge
MIT License
15.04k stars 3.25k forks source link

Heartbeat / Mqtt status update at an intervall #4282

Closed WhiteLionATX closed 6 days ago

WhiteLionATX commented 1 week ago

Would be nice to get an option that will send a device status update to mqtt to see if the device is online / connected to mqtt. Devices like Shellys does this by sending every 60 seconds a mqtt message.

netmindz commented 6 days ago

That goes against the whole idea of event-driven software architecture, you should never emit messages at a fixed rate other than any heartbeats that may be required to confirm the active TCP connection