H
HASS.Agent10mo 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
DrR0x10mo 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
MikeOP10mo ago
I have MQTT enabled, but I believe the notify is through local api right? I have both enabled
DrR0x
DrR0x10mo 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
MikeOP10mo 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
DrR0x10mo 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
MikeOP10mo ago
I guess HASS.Agent Notifier is different from HASS.Agent??
DrR0x
DrR0x10mo ago
If you manually set it up then something went wrong somewhere
Mike
MikeOP10mo ago
When I click Add Integration, and search HASS.Agent, I just get this
No description
DrR0x
DrR0x10mo 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
MikeOP10mo 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
DrR0x10mo 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
DrR0x10mo 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
MikeOP10mo ago
2.0.1
DrR0x
DrR0x10mo ago
Okay cool. After all these steps you should see something like this in the integration tab
No description
DrR0x
DrR0x10mo ago
That will setup notifications and media player through mqtt. Do not click add integration because that will try to use local api
Mike
MikeOP10mo ago
is v2022.11.9 the latest version of the integration? just to be sure
DrR0x
DrR0x10mo 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
MikeOP10mo 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
DrR0x10mo ago
👍
Want results from more Discord servers?
Add your server