I can control things, but I can't get notifications

I've gone through the instructions and forums soooo many times. I'm running the forked version done as a custom repository. I've installed/uninstalled/re-installed. I'm in the Core 2024.10.2 and running the latest update for HA 13.2. I seem to be able to control everything just fine - I can use shortcut keys to control devices etc. But the one function I'm dying to have - a notification on my PC when my doorbell rings - eludes me. I can test the popup from HASS.Agent, and it works fine. But I cannot seem to get the notify action to pop up a notification on my PC. I can send the action notify.PC_Name and it always gives me a green checkmark, but i don't see it anywhere in the logs. My desktop is in HASS.Agent in HA as a device, but the only entity is the media player. I do not see anything in MQTT, for what it's worth - no devices, no entities.
Solution:
Try removing the integration, restarting HA, and then installing integration again
Jump to solution
39 Replies
Amadeo
Amadeo•4mo ago
👋
I do not see anything in MQTT
so after sending the notification action from Home Assistant you don't see the message in MQTT? there should be a message on topic similar to
hass.agent/notifications/AMADEO-PC
hass.agent/notifications/AMADEO-PC
and with something like:
{"message": "asdasdad", "title": "test", "data": {"image": "/media/smth/image.png"}}
{"message": "asdasdad", "title": "test", "data": {"image": "/media/smth/image.png"}}
DrR0x
DrR0x•3w ago
Still having issues?
Terry @ Hogtown Pens
Terry @ Hogtown PensOP•3w ago
I'll say yes because I haven't done anything with it after I couldn't get it working (and then my PC what the bed and I had to do a fresh rebuild without backups, and haven't reinstalled it) I will say though that I've got push2run working over mqtt. Not as good as the notifications with hass agent but... It's something!
DrR0x
DrR0x•3w ago
You could try the latest build if you'd like, should be able to fix the issues fairly easily. Latest info is available here
Installation - Hass Agent Documentation
Access your homeassistant from any windows machine - send notifications, collect data and automate repetitive tasks
Subjunctive
Subjunctive•3w ago
I'm also having this problem: no notification entity seems to have been created for my PC running the Agent (just the media player). I'm running Hass.Agent 2.1.1-beta2 and integration 2.1.0-beta1. I've tried disabling and re-enabling notifications in the HASS.Agent config, but I still don't see a notification entity created (just the ones for my phone apps exist)
Solution
DrR0x
DrR0x•3w ago
Try removing the integration, restarting HA, and then installing integration again
Subjunctive
Subjunctive•3w ago
and by that you mean Delete in here?
No description
Subjunctive
Subjunctive•3w ago
I can't actually see how to remove the whole integration
DrR0x
DrR0x•3w ago
HACS
Subjunctive
Subjunctive•3w ago
ah! ok OK, reinstalled and let it set up the integration again, but still no notification entity oh, but it's in the target list now, yay! OK, thank you!
DrR0x
DrR0x•3w ago
All good, sorry it didn't work first time, stupid autodiscovery issues
Subjunctive
Subjunctive•3w ago
now to figure out how to get rid of these old sensors that just reappeared
DrR0x
DrR0x•3w ago
Have you got mqtt-explorer? use it to bin all of the unneeded sensors
Subjunctive
Subjunctive•3w ago
no, but that sounds like a useful tool
DrR0x
DrR0x•3w ago
MQTT Explorer
MQTT Explorer
An all-round MQTT client that provides a structured topic overview
DrR0x
DrR0x•3w ago
delete everything under homeassistant/ device type/Hass.agent it will auto regenerate whats needed/active
Subjunctive
Subjunctive•3w ago
hmm, I just have /homeassistant and /hass.agent as siblings, and under the device types I just have things like /homeassistant/sensor/STANGOR , /homeassistant/button/STANGOR, etc. (which is the computer's name) -- should I just delete all of those STANGOR entries and let them repopulate?
DrR0x
DrR0x•3w ago
yes, as long as you only touch HASS.Agent stuff its should be fine. There's info here too.
Subjunctive
Subjunctive•3w ago
yeah that seems to have worked, thank you! thanks for your work on this, it's a wonderful tool!
Terry @ Hogtown Pens
Terry @ Hogtown PensOP•3w ago
every time it comes back up, it's the 2.1.0-beta1 instead of 2.1.1 - how the @#$@#% do you fully delete the integration?? I seem to be having an impossible time cleaning it out fully. edit: it's been so long since i installed it that i'm wondering if I must have done it without HACS. because according to HACS, i have none of the integrations installed but it still somehow autodiscovers my PC if the HASS.Agent is running
Terry @ Hogtown Pens
Terry @ Hogtown PensOP•3w ago
am i taking crazy pills or is the integration not supposed to show up as 2.1.1? this is what i'm basing that on - but cannot for the life of me get it to show up that way. it always shows up as "HASS.Agent" and not "HASS.Agent 2" in my integrations. Checking the manifest shows the 2.1.0-beta1 info as well
No description
No description
DrR0x
DrR0x•3w ago
HACS removed all custom repos when it moved to V2, you need to re add it and reinstall integration to get it syncing again Or at least it did for me
Terry @ Hogtown Pens
Terry @ Hogtown PensOP•3w ago
yeah i've re-added using the URL several times... probably in the double digits now what's odd to me is it's still using the same thumbnail for my desktop (which is an album cover of the thing i was listening to the first time i installed it) when it finds the device. and always reports as unavailable
DrR0x
DrR0x•3w ago
Might need to remove it, restart and then check the file manager for anything related to it
Terry @ Hogtown Pens
Terry @ Hogtown PensOP•3w ago
the custom_repositories directory is clear every time i look!
Terry @ Hogtown Pens
Terry @ Hogtown PensOP•3w ago
i see this in the device/entity
No description
Terry @ Hogtown Pens
Terry @ Hogtown PensOP•3w ago
yet agent 2 is the only one i downloaded:
No description
Terry @ Hogtown Pens
Terry @ Hogtown PensOP•3w ago
in my integrations it's this:
No description
Terry @ Hogtown Pens
Terry @ Hogtown PensOP•3w ago
in HACS it's this:
No description
Terry @ Hogtown Pens
Terry @ Hogtown PensOP•3w ago
and i see this on the hacs integration page - but it doesn't find any devices/entities, like where i have the agent installed:
No description
DrR0x
DrR0x•3w ago
this is correct, only in HACS it says 2 Every screenshot you sent looks correct this actually looks like a bug, we forgot to version bump
Terry @ Hogtown Pens
Terry @ Hogtown PensOP•3w ago
ok, it was starting to feel that way, haha!
DrR0x
DrR0x•3w ago
Fixed now Now, is the device discovered in HA? media player or notifications?
Terry @ Hogtown Pens
Terry @ Hogtown PensOP•3w ago
its always been discovered, but always unavailable. there's only ever one device / one entity. what's odd is - i do not have the hass agent or satellite service running on my computer but it keeps getting discovered. i tried changing the name on my PC, but it's not seeing the new name i set up. (i have another PC on the network but confirmed it's not running there either) i even re-installed by going into safe mode, removing the entity and device, manually deleting the directory via the file editor... alright, i don't know what the fuck is going on. i deleted the agent, the satellite service. i deleted the program files directory that had the satellite service cache, i deleted the appdata/local directory for the Agent that contained the config. i made a new API key, gave the device an entirely new name while i was setting up HASS.Agent. Did another new install of HASS.Agent 2... and it's still pulling the old machine name. I'm at my wits end so I'm taking a break from this for a few weeks (vacation coming up so i'm not going to make much use of this for a while anyway). It's immensely frustrating, what could I be doing wrong?????
Terry @ Hogtown Pens
Terry @ Hogtown PensOP•3w ago
screen recording of what's happening right now, this is WITHOUT the HASS.Agent or the satellite service running - somehow it's still pulling my machine name. (sorry this was supposed to be a GIF)
Terry @ Hogtown Pens
Terry @ Hogtown PensOP•3w ago
the only thing i can think that might be an unusual circumstance is - this is running inside a virtualbox VM on the same machine i'm trying to set up the notifications on. i typically run off a pi but it shit the bed after a power outage earlier this week, and i'm rebuilding on the VM before i back it up and put it back on the pi. but the VM has its own IP address, so it shouldn't be a factor...
DrR0x
DrR0x•3w ago
Sorry i couldnt respond earlier, try the section below on the docs
DrR0x
DrR0x•3w ago
Troubleshooting - Hass Agent Documentation
Access your homeassistant from any windows machine - send notifications, collect data and automate repetitive tasks
DrR0x
DrR0x•3w ago
Only just saw you're taking a break, all good, can continue when your back, just message when you need help 😄

Did you find this page helpful?