Hi,
Sometimes the tunnel stops working until Home Assistant is restarted. Since the Dataplicity integration currently doesn’t expose any entity, it’s not possible to detect this failure from within Home Assistant.
A simple binary_sensor reflecting the tunnel status (on = connected, off or unavailable = disconnected) would allow users to automate recovery. For example, if the sensor stays off or unavailable for 15 minutes, an automation could call homeassistant.reload_config_entry for that entity causing Dataplicity integration to reload and, hopefully, restoring the tunnel without restarting Home Assistant.
This would improve reliability and make failure recovery seamless.
Thank you for considering it
Hi,
Sometimes the tunnel stops working until Home Assistant is restarted. Since the Dataplicity integration currently doesn’t expose any entity, it’s not possible to detect this failure from within Home Assistant.
A simple binary_sensor reflecting the tunnel status (on = connected, off or unavailable = disconnected) would allow users to automate recovery. For example, if the sensor stays off or unavailable for 15 minutes, an automation could call homeassistant.reload_config_entry for that entity causing Dataplicity integration to reload and, hopefully, restoring the tunnel without restarting Home Assistant.
This would improve reliability and make failure recovery seamless.
Thank you for considering it