#Hass agent
1 messages ยท Page 1 of 1 (latest)
Let's try ^^
Never done it before ๐ซฃ๐
so, now I am getting a lot of repair issues that integrations could not be found.
basically for all custom_components ...
hass_agent does not show up in the logs
Can you show them?
one sec. booting up in normal mode again to get a new log ๐
Then, I will load safe-mode again
hm... that's odd... now I don't have that log anymore in normal mode either... (or not yet...)
yes.
Maybe need to check if we should not show it then
Because it's easy to just destroy your custom component configurations
hm... ok, that's true.
no, it does not show up in the logs right now.
If I know if it can be reproduced, I will let you know.
๐
hm... that's INTERESTING
So ... let me explain a bit more in detail:
I am using HA within a Google Chrom "App" ... (you know, Google Chrom --> Create App)
when I got the error, I was actually using this app on my Laptop (windows 11...)
before I did start the debugging, I had to restart HA - but I was working on my private computer.
As you know, nothing showed up in my logs.
Now, I've just switched to my Laptop again - and ... here it is.
The same message again.
i will now restart HA in safemode again, but connected from my laptop
after another reboot in safe_mode from my laptop, no new error in the logs... ๐ค
you know
Euh I don't
๐
Haven't touched chrome in a long time
and I remember the name, but I can't remember what it was for
anyway - after booting into safe_mode, i haven't seen the issue on the laptop, anymore.
I will send the laptop to sleep again and will check it then again
ok, error is back ...
Logger: homeassistant.components.websocket_api.http.connection
Quelle: components/websocket_api/commands.py:514
Integration: Home Assistant WebSocket API (Dokumentation, Probleme)
Erstmals aufgetreten: 17:25:53 (3 Vorkommnisse)
Zuletzt protokolliert: 17:26:27
[140425668184672] Error handling message: Unknown error (unknown_error) Christoph from 217.245.255.171 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36)
[140425084977936] Error handling message: Unknown error (unknown_error) Christoph from 217.245.255.171 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 514, in handle_manifest_list
raise int_or_exc
homeassistant.loader.IntegrationNotFound: Integration 'hass_agent' not found.
I have removed hass_agent for quite a while...
Oh that's interesting why is it in your error log
Wait
How does Hass agent work?
Could it be that Hass agent is installed on your PC and is using the websocket?
It works through mqtt but there's also a media integration
Yeah that's possible if it's still installed on your Windows PC
Maybe it's connecting to home assistant but there's nothing on home assistant for has agent
was the old one also working with MQTT?
I was just using the PC app but this has been also removed (or should)
It's also not a Hass agent issue
We're trying to see if my core feature is correct
ok, i think i figured it out now
Like, the logs indicate something is expecting Hass agent is present, but it's not
But the websocket raises it, so it's either an application using the websocket
Or there's still configuration left, and if that's the case, this should raise
I don't think that matters, mqtt only listens if you configure it like that
ok, looking deeper into it, these are some old z2mqtt topics
This is not a mqtt jssue
.
Can you double check your laptop or whatever ran Hass.agent
And reboot that machine for fun
And check if it gets logged again
yes, I will do.
I will check, if something is left on the computer.
thanks... didn't remember on the mqtt setup of the integration, since it is quite a while since I used it the last time...
just wonder, why I never recognized the error in the log earlier
ok, now it is clear.
Removing the "Windows Application" seems not to remove everything... Restart does probably not change much, because since the application has been removed from the computer, I should already have rebooted my computer ...
And probably, it was one of the topics left on my broker:
"MqttDiscoveryPrefix": "homeassistant",
So its still installed?
no. it should not.
There were no logs since december ... this should be the time when I uninstalled it.
I have now deleted the folder and no new topics have been sent to the broker so far.
I guess, it was only the message left on the broker.
Yes but again, mqtt doesn't make websocket requests
So it's either the frontend or an application calling it
lol
Logger: homeassistant.components.websocket_api.http.connection
Quelle: components/websocket_api/commands.py:514
Integration: Home Assistant WebSocket API (Dokumentation, Probleme)
Erstmals aufgetreten: 17:53:21 (1 Vorkommnisse)
Zuletzt protokolliert: 17:53:21
[139703840606528] Error handling message: Unknown error (unknown_error) Christoph from 217.245.255.171 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 514, in handle_manifest_list
raise int_or_exc
homeassistant.loader.IntegrationNotFound: Integration 'hass_agent' not found.
still ... showing up ๐ฆ
What did you do 3 minutes ago
checked if the application is installed on my computer... but thanks, I think I have some more ideas where I can check further.
Let me know if you find anything
ha ๐
probably found it...
The log message always appears, when I open the Integration (Devices & Services) page
@earnest cove maybe you do have an Idea in how to identify where the device/Integration Page might call this Integration?
Could it still be the mqtt Integration itself? (At least, there are still some information from the Integration hass.agent ...
I would expect something customs
Or there is still a remnant left of Hass agent
@elfin whale does Hass agent create a config entry?
@uneven pagoda can you open the .storage/ config entries file?
And search for the Hass agent thing?
Sure.
Just 5 min ๐
{
"created_at": "1970-01-01T00:00:00+00:00",
"data": {},
"disabled_by": null,
"domain": "hass_agent",
"entry_id": "2a88103f88fadf375f3865399716b65f",
"minor_version": 1,
"modified_at": "1970-01-01T00:00:00+00:00",
"options": {},
"pref_disable_new_entities": false,
"pref_disable_polling": false,
"source": "ignore",
"title": "WSCCA",
"unique_id": "a17b1032-a82a-412a-852a-b6dc48873d88",
"version": 1
},
And if you go to /config/custom_components
No hass_agent?
Oh wait
Huh
You ignored this one
How did that work
Oh but this is an old one, it has been created in 1970
:p
๐ค i ignored it at some Point and then removed it
and no, no hass agent ๐
modified at: 1970-01-01T00:00:00+00:00 - seems to be a default value ๐ unix default ? ๐
Yes haha
That was the joke
Got added this release
But you did not remove it
It only got ignored
But how do you ignore a config entry
Could be Auto detected after it was still downloaded but Not installed?
But it's removed.
There's No folder available and hacs doesn't Show it as downloaded
I won't ^^
I want to find out what happened and how we can catch these cases
Because apparently they raise errors
I can try to reproduce it on another proxmox machine later
Yea I need to see what ignoring exactly does
Now that i know what i need to look for
I also have 2 integrations ignored
So I need to see how they are stored
And maybe the ignore part is good
But then the frontend should not request it
I Just removed sind Others i ignored.
Will Check If there are also config entries left
ok, sorry - I have to correct me... it is still there... was really ignored... but then, I wonder, why HACS does not show it as downloaded anymore...
I guess, I now know how this could have happened...
- ignore the custom_component
- remove it via HACS
in this case, you don't have any option to 'remove' the component from the UI anymore.
It MIGHT show up again (in case of hass.agent if you would install the desktop client again?) but without, it does not show up on the integrations page after "unignoring" it.
Can't you open the ignored integration list?
I did. it was there...
Tbh - I completely forgot about this list, as the "deactivate" filter is way more present ๐
'unignoring' the integration seems to solve the issue... unfortunately, that was by mistake, while I promised NOT to fix it... ๐ฆ
I will reproduce the case, if you need this to debug something ?
that's how to do it:
- ignore the custom_component
- remove it via HACS
(3. open the page devices & services)
could just recreate the case
Right
oh by the way, I discussed this with some others and we said that this is indeed also nice to be caught with an issue in the future