Data stops coming to main instance whenever I reboot/rebuild/restart containers of remote HA instances.
Hi, I have 1 main HA and 2 remote instances. Whenever I rebuild/update/restart any of the remote instances, the main instance will stop pulling data from them despite the integration claiming it is connected. This is corroborated by all the graphs from remote devices getting stuck at the last recorded value.
The only fix is to go to Settings/Integrations and click each remote instance and reload the integration manually at which point the sensors jump to their correct current values and start pulling any updates as expected.
Thanks for any advice.
Same issue here, four months later. Is anyone still monitoring this integration?
a dirty workaround
I created a webhook on remote instances that triggers on HA startup
inside configuration.yaml
shell_command:
call_remote: curl -X POST http://192.168.1.227:8123/api/webhook/helper-ha-restart-QveMyq9Rdl-mGkOgdU1nfJFp
then on main instance you need to find Config entry ID of the remote_ha integration on main instance: Settings / Integration / click on the device(s) under Remote Home Assistant, then click on the Remote Home Assistant in top left corner under Device Info again and look into the URL bar, you will see the config entry id at the end:
http://192.168.1.227:8123/config/integrations/integration/remote_homeassistant#config_entry=8fbf0cf2da7c2477c0e6b909dc38258b
and then on main instance make an automation that listen for the webhook and reloads the integration when receiving it: