ESteanes / RP2040Home

MQTT Client for RP2040 based boards that directly interfaces with Home Assistant
MIT License
0 stars 0 forks source link

Polling Home Assistant Discovery #16

Open ESteanes opened 2 weeks ago

ESteanes commented 2 weeks ago

Since HA discovery is only done once when the device turns on, there's a case where HA/MQTT server is restarted without the RP2040Home client also restarting afterwards - this means from HA's perspective, the device is not alive as the message will have been cleared from the MQTT server.

We need to poll every ~X minutes (config defined) and re-send the discovery payloads

ESteanes commented 1 week ago

Encompasses #8