H
HASS.Agent4mo ago
Ani

PC doesn't get discovered in HA but MQTT picks it up + no notify.your-pc service

Posting these as one support thread in case they're related. I'm not getting a HASS.Agent integration pop up with the device discovered, but it still appears under my list of devices for MQTT. I've added the github repo for media/notfications. I'm picking up the sensors I want and I can send the test notification from the App (except GPU Temps which says Unavailable) but there's no notify service.
21 Replies
DrR0x
DrR0x4mo ago
How did you install integration? What versions are U running? Windows, hass.agent, integration
Ani
AniOP4mo ago
Windows 10 version 22H2 HASS.Agent most recent version (can't find the version number on the app) Same for the integration I installed the integration by going to HACS and then Integrations > Custom Github Repository > pasted the link provided
Ani
AniOP4mo ago
I've restarted HA too
No description
Ani
AniOP4mo ago
I'm running HA Container, not sure if that makes a difference
DrR0x
DrR0x4mo ago
Is there anything in HA logs? The best way we know to fix this is restarting both, and then reinstalling integration. Problem is that I want to fix this, but I have never experienced the issue, can't fix it without information. So if you find anything in the logs that would be helpful 😁
Ani
AniOP4mo ago
logs are only showing stuff related to my UI looks like i was gonna send it but it's huge, just a bunch of deprecation warnings the only Errors are from Minimalist
2024-08-12 13:46:34.715 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles/themes", "/config/themes", True)])`; This function will be removed in 2025.7 at custom_components/hacs/base.py, line 1182: self.hass.http.register_static_path(f"{URL_BASE}/themes", self.hass.config.path("themes")), please create a bug report at https://github.com/hacs/integration/issues

2024-08-12 13:46:34.717 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles/frontend", "/config/custom_components/hacs/hacs_frontend", False)])`; This function will be removed in 2025.7 at custom_components/hacs/frontend.py, line 54: hass.http.register_static_path(f"{URL_BASE}/frontend", locate_dir(), cache_headers=False), please create a bug report at https://github.com/hacs/integration/issues

2024-08-12 13:46:34.718 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles/iconset.js", "/config/custom_components/hacs/iconset.js", True)])`; This function will be removed in 2025.7 at custom_components/hacs/frontend.py, line 57: hass.http.register_static_path(, please create a bug report at https://github.com/hacs/integration/issues

2024-08-12 13:46:34.719 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues

2024-08-12 13:46:34.720 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles", "/config/www/community", True)])`; This function will be removed in 2025.7 at custom_components/hacs/base.py, line 1162: self.hass.http.register_static_path(, please create a bug report at https://github.com/hacs/integration/issues
2024-08-12 13:46:34.715 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles/themes", "/config/themes", True)])`; This function will be removed in 2025.7 at custom_components/hacs/base.py, line 1182: self.hass.http.register_static_path(f"{URL_BASE}/themes", self.hass.config.path("themes")), please create a bug report at https://github.com/hacs/integration/issues

2024-08-12 13:46:34.717 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles/frontend", "/config/custom_components/hacs/hacs_frontend", False)])`; This function will be removed in 2025.7 at custom_components/hacs/frontend.py, line 54: hass.http.register_static_path(f"{URL_BASE}/frontend", locate_dir(), cache_headers=False), please create a bug report at https://github.com/hacs/integration/issues

2024-08-12 13:46:34.718 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles/iconset.js", "/config/custom_components/hacs/iconset.js", True)])`; This function will be removed in 2025.7 at custom_components/hacs/frontend.py, line 57: hass.http.register_static_path(, please create a bug report at https://github.com/hacs/integration/issues

2024-08-12 13:46:34.719 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues

2024-08-12 13:46:34.720 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles", "/config/www/community", True)])`; This function will be removed in 2025.7 at custom_components/hacs/base.py, line 1162: self.hass.http.register_static_path(, please create a bug report at https://github.com/hacs/integration/issues
i dont think these are relevant either i've tried a fresh install and restarted the server too
DrR0x
DrR0x4mo ago
still not being picked up? maybe try deleting the topics in mqttexplorer and restarting hass.agent to get them re-added'
Ani
AniOP4mo ago
Uh sure I can try that just need to figure out how 😅
DrR0x
DrR0x4mo ago
Sry, you'll need mqttexplorer It's an app U can download, very helpful for debugging all mqtt home automation apps
Ani
AniOP4mo ago
gotcha ill give it a go today when i'm home. thanks!
Ani
AniOP4mo ago
so i've remoted into my PC, do i delete subtopics here? under hass.agent?
No description
DrR0x
DrR0x4mo ago
Yep The ones that most likely matter more are under homeassistant tho
Ani
AniOP4mo ago
right, there's 77 under home assistant 😅
Ani
AniOP4mo ago
this keeps flashing, not sure if that is an indication of something
No description
Ani
AniOP4mo ago
so I found the ones under homeassistant and cleared them then restarted HASS.Agent, still no device discovery on Home Assistant except it appearing under MQTT like before
Dr_DragonKiller
Dr_DragonKiller3mo ago
I haven't yet had the time to dig deeper, but I'm having the same problem. Installed the latest beta4 for admin - user account installation support. The sensor data is picked up by mqtt and I can tirgger commands. But the notification service and media player are not there.
DrR0x
DrR0x2mo ago
it flashes everytime it is changed(new sensor update from hass.agent) seeing as their is 2 cases in similar timeframes ill have a closer look tonight, might be a new bug
Melancholytron
Melancholytron2mo ago
So mine will detect in home assistant, but no notifications or media player. lastest version of the pc app and the Hacs integration
Ani
AniOP2mo ago
same here, are you using MQTT or a local API? I'm a bit confused, do I need to have local API also configured even though I'm using MQTT? okay it worked using the local API
Amadeo
Amadeo2mo ago
are you using the forked integration (https://github.com/hass-agent/HASS.Agent-Integration) or the one available by default on HACS?
GitHub
GitHub - hass-agent/HASS.Agent-Integration: HASS.Agent's Home Assis...
HASS.Agent's Home Assistant integration. Adds notifications and mediaplayer capabilities to HASS.Agent - a Windows based client (companion app) for Home Assistant. - hass-agent/HASS.Agent-I...
pickupthepace
pickupthepace2mo ago
I also have this problem, but it is only on half my PCs... I am currently using the latest forked integration and the latest client that just was released. Everything works as expected except that I have no actions for notify and no media_player. In fact, I don't even see the PC in the HASS.Agent integration for half my devices, which the other half perform fine. I really don't want to delete the devices (much less the entire integration) so I have tried enabling and disabling notify and media in every combination, renaming the device to force a config update to HA, etc, but nothing makes the missing devices register in the HASS.Agent integration. MQTT is fine and all sensors and commands work great, but I am particually missing the ability to fire the notifications and do not want to use the local API so I can keep all connections from the client to server and not have to maintain the vice versa. Anyone have a suggestion, even if editing raw config files or something, to see if I can force a re-register of the notify action in particular? Ok, so apparently I restarted HA at various times, but it looks like I DID NOT reboot after updating the clients in question to the very latest 2.1.0. I definitely did not do anything with the integration side of it - I simply installed the update on the clients having the problem, and when I restarted HA a few hours later for a different purpose, I went to the integrations page and all 3x of the clients previously working with sensors, commands, etc. through MQTT, but there was no notify, nor media_player, items created suddenly were auto-discovered and I set them up immediately. No reinstall of client, no reconfiguring, so it looks like the developers took care of correcting the issue on their side. Just FYI - hopefully everyone else sees this behavior as well and I didn't do some magical mystical combination that I'm not aware to get it working!
Want results from more Discord servers?
Add your server