H
HASS.Agent4mo ago
Mike

Notify service missing if offline when rebooting HomeAssistant

When rebooting HomeAssistant, if my PC is offline (which HASS.Agent is installed on), the notify service doesnt exist (and thus triggers repair notices from integrations like Spook) and rebooting homeassistant again after the device is turned on seems to be the only way to automatically clear the repair notice. Is there any way for the entity to remain in HomeAssistant and just change its status to Unavailable similar to how other entities do when the integration fails to set up instead of removing the entities entirely?
No description
No description
Solution:
Try this: 1. Uninstall hass.agent integration 2. Disable local API in hass.agent on PC ...
Jump to solution
19 Replies
DrR0x
DrR0x4mo ago
This is without mqtt correct? If so we are working on this but cannot update the HACS integration until Sam returns. We will look at distributing a custom install one so can notify you when that happens.
Mike
Mike4mo ago
I have MQTT enabled, but I believe the notify is through local api right? I have both enabled
DrR0x
DrR0x4mo ago
Okay, I would try disabling local api Because this doesn't happen for me But you may be right And how did you setup the integration? Autodiscovery or manual setup?
Mike
Mike4mo ago
I'm confused- am I using the wrong integration? It only has a manual setup for me, and says it only supports Local API
DrR0x
DrR0x4mo ago
Okay that's the issue then Here's how it works: You enable mqtt. Mqtt devices are shown in the mqtt integration. Hass.agent integration, as long as installed should Autodiscover the mqtt and prompt you to set it up
Mike
Mike4mo ago
I guess HASS.Agent Notifier is different from HASS.Agent??
DrR0x
DrR0x4mo ago
If you manually set it up then something went wrong somewhere
Mike
Mike4mo ago
When I click Add Integration, and search HASS.Agent, I just get this
No description
DrR0x
DrR0x4mo ago
No, so if you only use local API then you have to manually setup. But if you use mqtt you do not have to click on the integration. Exactly, you should not have to do this.
Mike
Mike4mo ago
Right So I do have MQTT set up, and I have a single sensor in it, but I dont see a notifier attached to the device
Solution
DrR0x
DrR0x4mo ago
Try this: 1. Uninstall hass.agent integration 2. Disable local API in hass.agent on PC 3. Restart home assistant 4. Install hass.agent integration 5. After a home assistant restart it should Autodiscover
DrR0x
DrR0x4mo ago
For people finding this later on; The issue was that hass.agent integration had been setup through local API. The above steps will only fix it in that case. Also, can you send me your version number, found under the help tab off Hass.agent
Mike
Mike4mo ago
2.0.1
DrR0x
DrR0x4mo ago
Okay cool. After all these steps you should see something like this in the integration tab
No description
DrR0x
DrR0x4mo ago
That will setup notifications and media player through mqtt. Do not click add integration because that will try to use local api
Mike
Mike4mo ago
is v2022.11.9 the latest version of the integration? just to be sure
DrR0x
DrR0x4mo ago
Well that's what I mean. That's the latest you can get through HACS 😂 But no, that is still from Sam. I have my own copy which has more features but nothing you will want or can use. So yes it's "latest" but old
Mike
Mike4mo ago
Gotcha lol Ok cool, that appears to have fixed it Even after all that at first Spook was still complaining that the service was missing but one extra reboot again after that seems to have shut it up haha Thank you!
DrR0x
DrR0x4mo ago
👍
Want results from more Discord servers?
Add your server
More Posts
hass agent CONSTANTLY crashing after minutes of it runningi have been using it for a little while now but recently it has started not updating the sensors andRunning a powershell script via HASS.Agent causes it to run script more than once.I have a script which outputs text to a text file with including the time that the log happened. WheTrouble reconnecting to MQTT after resuming from sleepHi! I'm having an issue with Hass.Agent 2.0.1 where everytime the computer resumes from sleep there'AutoImport or general ImportHey there, i love your tool and iam creating e little game dashboard. There was a little tool for thArithmetic with WMI Command Type?Anyone know if there is a way to do arithmetic with WMI type command or is it just plain WMI? I coulOld Hass.agent system service not being removedWhen migrating the old hass.agebt service is not removed. > Credit to @JonnyBergdahl for the reportSensors not Updating (on change or publish)New Hass Agent user and am struggling to figure out why my sensors are not being updated. They work Notifications not appearing in Windows 11Just installed on my Win11 machine, just wanted to have a notification sent to my desktop. I see my getting a lot of MQTT errors in HA logs...eg. ```2024-01-25 03:15:29.082 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entiSensors become unavailable after a while but all green status in HASS.agentHey, running 2.0.1 and this happens where it says its connected to mqtt and HA but sensors are unav