Can't send notifications

I deleted all of my computers from the original HASS.Agent integration and restarted HA. The integration was gone and MQTT found all of my computers. I then installed the forked version via HACS custom repository. I then hit the configure button for all of my computers. However if I try to send notifications the notify service has not been configured automatically. HA can't find service notify.PC_NAME. When I look at MQTT Explorer under hass.agent I see them under devices and media_player but nothing about notifications. I have the most current version of HASS_Agent on my pc and the notifications test is working. Any suggestions on how to get this working are greatly appreciated.
32 Replies
Amadeo
Amadeo•5mo ago
You've removed the devices & uninstalled the original integration or only removed the devices? Sounds like you might have 2
Entirelynutz
Entirelynutz•5mo ago
I removed the devices, restarted HA and the original HASS Agent did not show up as an integration. I did not see any other way to uninstall the original. Did I miss something?
Amadeo
Amadeo•5mo ago
It needs to be removed in HACS - the original integration I mean
Entirelynutz
Entirelynutz•5mo ago
I checked and realized I hadn't removed the original from HACS. I proceeded to remove the original from HACS, I also deleted the new custom repository. I then restarted HA. I re-installed the new custom repository again. I still cannot send notifications. If I try to call a service notify.computer it does not exist. I don't see how to delete my computer from devices to see if it gets rediscovered. I did look in MQTT Explorer again and all my computers show up as devices under HAS_Agent and under media players but nothing about notifications
Amadeo
Amadeo•5mo ago
GitHub
Bug: Latest HA Core update 2024.5.0 breaks notification entities. ·...
Please make sure that the issue you're planning to report is not already registered :) Describe the bug The latest HA Core update (2024.5.0) stops hass.agent from creating any notify entities. ...
Amadeo
Amadeo•5mo ago
Oh Wait It was you 😄 I assume that the last thing you've tried was exactly those steps?
Entirelynutz
Entirelynutz•4mo ago
I removed the HASS Agent from HACS and deleted the HASS Agent forked from the HACS custom repositories. I've restarted HA several times. When I go into MQTT Explorer I still see entries under hass.agent devices and media_player. Should I be seeing these with no HASS_agent installed?
DrR0x
DrR0x•4mo ago
The mqtt topics are created and sent from the app on windows, home assistant simply views them If the app is uninstalled and there are still topics then you need to manually delete them
Entirelynutz
Entirelynutz•4mo ago
I stopped the HASS Agent on one of my computers and it disappeared from media players in MQTT Explore but still shows up as a device under HASS_Agent. What do I need to do to remove all of the old HASS_Agent entries in Home Assistant before I try to set up the new forked repository? I have a lot of automations trying to send notifications but keep getting error messages that say notify.computer is not definec.
DrR0x
DrR0x•4mo ago
Ah okay, if U have the old Hass.agent then you just need to uninstall that integration If there are no topics in mqtt explorer and you have uninstalled all Hass.agent integrations then there is a much larger issue happening @Entirelynutz do you still need help?
Entirelynutz
Entirelynutz•4mo ago
I have uninstalled the old hass.agent and the new one also. I stopped the agent on one of my windows machines. Even though it disappeared from media player in MQTT explorer it still shows up under hass.agent->devices. Is there a way to remove the devices and have them rediscovered after installing the new repository? I stopped the hass.agent on all of my pc's. I then went into MQTT Explorer and clicked on each one under devices. I removed them from MQTT Explorer by licking on the retained button. I restarted MQTT Explorer and all of the devices under hass.agent were gone. I restarted HA, I started the agent on two of my computers. I then installed the custom repository for HASS Agent 2. I didn't get any notification of new devices found. I did go into MQTT Explorer again and the two pc's showed up under hass.agent->devices. However I don't see where to configure these pc's and I don't see any service like notify.pcname like under the original hass.agent. What am I missing?
DrR0x
DrR0x•4mo ago
On the integrations page is there no Autodiscovery for any of your devices?
Entirelynutz
Entirelynutz•4mo ago
I've always gotten notifications of new devices before. I'm not sure where on the integrations page I should see Autodiscovery. I don't see any entry on the integrations page for hass agent. I see my pc's listed under devices as MQTT clients. Do I need to delete them from devices and if so how do I do that? I've also upgraded the agent on my pc's from 2022 14 to 2.0.1
DrR0x
DrR0x•4mo ago
They show under the mqtt integration? Could you open the home assistant logs and see if there is anything from Hass agent?
Entirelynutz
Entirelynutz•4mo ago
When I go to the integrations page and click on MQTT it show 158 devices. When I click on devices I can search for the pc's by name. In the home assistant core log all I see when searching for the word hass are some browser.mod.helpers that will become deprecated in November. I don't see any reference to hass in the MQTT IO or MQTT Broker logs either.
DrR0x
DrR0x•4mo ago
And you definitely have the new forked integration installed?
Entirelynutz
Entirelynutz•4mo ago
No description
Entirelynutz
Entirelynutz•4mo ago
No description
Entirelynutz
Entirelynutz•4mo ago
I'm assuming that version 2.0.1 is the most current for Windows?
DrR0x
DrR0x•4mo ago
Yep, and you have actually installed the integration right? Haven't just added the repo?
Entirelynutz
Entirelynutz•4mo ago
I have not installed any integration, just the repository. I didn't see any step to install any integration in the instructions. Where do I find that and how do I install?
DrR0x
DrR0x•4mo ago
Ah okay, so after adding the repo you need to search for the integration in HACS, click on the integration and bottom right will have download button
Entirelynutz
Entirelynutz•4mo ago
I guess I misread that piece. I assumed the custom repository was all I needed to do. Now I did another dumb thing. I downloaded the original hass.agent and it is pending restart. Is there a way to remove it before the restart?
DrR0x
DrR0x•4mo ago
The integration should show in hacs to be removed? If not just restart and thenr remove it, it's quicker than trying to manually remove
Entirelynutz
Entirelynutz•4mo ago
So it shouldn't be a problem to install both the original and version 2?
DrR0x
DrR0x•4mo ago
No, they can be side by side on HA, only the new one will work tho, old one is broken
Entirelynutz
Entirelynutz•4mo ago
Did a restart. Both integrations showed up in HACS. I removed the old one. How long should it be before the clients are discovered and notify services created? Four computers were discovered. I clicked on configure and submit. Said it was successful. I still do not see the service notify.computer name come up in automations. Do I need to configure something else of will it eventually happen? Do I need another retart? I read somewhere that a person added -name entries under notify: in configuration.yaml. Do I need to do something like that?
Entirelynutz
Entirelynutz•4mo ago
I now see this error in the HA log
No description
Entirelynutz
Entirelynutz•4mo ago
And this error
No description
DrR0x
DrR0x•4mo ago
Ah, thought this might happen 😭 U may have to reinstall, hacs combined them I think
Entirelynutz
Entirelynutz•4mo ago
You are correct again. I uninstalled and re-installed and am now able to send notifications once again. Thank you for your patience in helping me get this resolved. Getting old is a bitch. I should have read the documentation steps for installing more diligently.
DrR0x
DrR0x•4mo ago
It's all good 😂 I do the same all the time, only realising now from writing the docs that maybe if I follow the information someone spent time putting together it would work better 😂
Nah, who reads instructions?😂
Want results from more Discord servers?
Add your server