You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: sensor state not updating after sleep/hibernation #204
When resuming from sleep/hibernation, in some cases sensors aren't updated anymore (unless their values change), or HASS.Agent doesn't properly reconnect. This can also occur when Home Assistant restarts.
This is a known bug which will be addressed in a future update.
To circumvent the bug after HA restarts, you can trigger a PublishAllSensors command to have HASS.Agent resend all current sensor values.
That same Issue happened for me today, My Sensors were Unknown in Home Assistant after I restarted Home Assistant.
To be specific, HASS.Agent_Available & HASS.Agent_sessionstate are having problems while HASS.Agent_lastactive seams to work fine. And for now it seems reproducible since I got the same issue while restarting just now.
I noticed that after HA restarts the MQTT connection on the Satellite Service stays Disconnected. Even going to the settings and pressing Send & Activate doesn't reconnect it. Only thing I found that fixes it is to change the hostname, save, change it back. That way it reconnects.
Activity
LAB02-Admin commentedon Nov 12, 2022
Attempted to fix in latest release: https://github.com/LAB02-Research/HASS.Agent/releases/tag/2022.14.0
I'm unable to reproduce this, if anyone still encounters issues please let me know.
MarcelHue commentedon Dec 31, 2022
That same Issue happened for me today, My Sensors were Unknown in Home Assistant after I restarted Home Assistant.
To be specific, HASS.Agent_Available & HASS.Agent_sessionstate are having problems while HASS.Agent_lastactive seams to work fine. And for now it seems reproducible since I got the same issue while restarting just now.
LAB02-Admin commentedon Jan 14, 2023
You can use the PublishAllSensors command in conjunction with this automation trigger:
Created a ticket to fix this internally: [hassagent-202]
ITensEI commentedon Oct 17, 2023
I noticed that after HA restarts the MQTT connection on the Satellite Service stays Disconnected. Even going to the settings and pressing Send & Activate doesn't reconnect it. Only thing I found that fixes it is to change the hostname, save, change it back. That way it reconnects.