HASS.Agent
HASS.Agent copied to clipboard
Misc: MQTT running but all sensors showing as "Unknown"
I have configured everything as per the instructions/docs, and all was working fine. Recently, I have installed an SSL certificate and cloudflare tunnel, and now all of the sensors are showing as "Unknown", despite MQTT showing as "running".
same here. perhaps its outdated. last update 2022. i fear the project is dead.
I have installed an SSL certificate and cloudflare tunnel, and now all of the sensors are showing as "Unknown", despite MQTT showing as "running".
Most likely when you installed those addons, you had to restart HA. HASS.agent cannot reconnect to HA (at least for me it ) after HA is restarted. You need to restart the agent on your Windows PC each time HA itself is restarted. This is the most annoying issue with HASS.agent for me.
I also have Cloudflare on my HA. It makes no difference for HASS.agent assuming your Windows PC is on local network and you are connecting to HA directly via HTTP.
There is some further recent development work of HASS.agent (fork) happening here:
https://github.com/hass-agent/HASS.Agent
but sadly no lack with resolving the "agent reconnection after HA restart" issue so far....
Most likely when you installed those addons, you had to restart HA. HASS.agent cannot reconnect to HA (at least for me it ) after HA is restarted. You need to restart the agent on your Windows PC each time HA itself is restarted. This is the most annoying issue with HASS.agent for me.
How do I "restart the agent" on my Windows PC? Is it just a matter of restarting the actual application, or is there something else I have to do?
Right-click the Hass.Agent icon on the Windows system tray:
Select restart:
In any case get the latest version of Hass.Agent (fork) from here: Click here to download the latest installer as per my post above. From my experience it seems more stable/robust and able to recover from (some) HA restarts.
I tried restarting as you mentioned above, and installing the latest version, but my of the sensors are still showing as "Unknown", despite MQTT showing as "running".
Separately, do you know of any alternatives to HASS.Agent?
Ps. thanks for your help thus far!