HASS.Agent

H

HASS.Agent

Join the community to ask questions about HASS.Agent and get answers from other members.

Join

Extremely high CPU/RAM (~100% CPU, 16GB+ RAM) usage from Device Association Service?

heya, i just found this and installed it. i'm very sorry if this is already in the wiki or somewhere, i couldn't find it. whenever i have HASS.Agent running, the "Service Host: Device Association Service" very quickly goes up in CPU/RAM usage until it's using close to 100% CPU and like 16GB of RAM for reference, i have the following specs (can ask for more detail if needed):...
Solution:
Solved in 2.1.0
No description

Surface Go monitor sleep

I have a Surface Go 2 running Win 11 Pro that Iā€™m trying to get Hass agent/home assistant to control the screen of. I want to be able to turn the screen off but not put the Surface to sleep so that you can tap the screen and it wakes up again. I tried using the monitorsleep control but it requires you to press the power button to turn it on again and the monitorwake does not wake it up. Is what Iā€™m looking to do possible?
Solution:
I'll take 2.1.0, merge the test branch and ping you here šŸ™‚

HassAgent no longer starts up after restart

Have made no changes in the past months to the config, just restarted as my commands weren't working anymore and now this happens
Solution:
Fixed in 2.1.0+
No description

Setting Up From A Remote Computer

Hi, I want to set up the client from a remote PC, so, there is no local api, I used Nabu Casa server instead. Is there any way to help the system to discover the device? Because I have tested the online link from the client, and it can discover all the devices in my home assistant system. Many thanks.
Solution:
Just to close this thread HASS.Agent currently has a websockets option that doesn't require MQTT, however it does require access to your home assistant server with websocket url included.

Cannot communicate with PC over MQTT

I've been trying to figure this out, but i cannot talk to my computer over MQTT by sending notifications or anything.
Solution:
So i got it all working. I just removed everything off my pc and ha and reinstalled it all. The one thing that tripped me up in the docs on the "latest" branch is you don't have the new integration setup but it is on the "beta" branch. Other than that I was able to get everything up and running without issue.
No description

.NET Desktop Runtime Error

Hi, I just downloaded HASS Agent and having an issue getting it to run. After I install it I get an .net desktop runtime error that says I need version 6.0.25. However I already do have it. If I click Yes to if I want to download it now. Nothing happens and it just closes.

Notification doesnt work

I got the 2.1.0-beta1 installed im able to send commands to my computer the test notification in the Hass client works but when trying to send notification with HA it doesnt work ...
Solution:
hm, I see the HASS.Agent version is 2022.14.0 - one of the original builds
No description

Can't see notify service or entity

Hello, after 1 week of trying, i came here to see if you can help me. I first try the original version of hass.agent + hass agent windows, but of course it didn't work. So i delete all of it, even the entity create by the original version. ...

Shutting your computer down through HA.

I have added the Shutdown command to HASS Agent and my Home Assistant sees the button of the shutdown, but for some reason I am unable to shut my computer down through Google Home. I have WOL enabled and I am able to start my computer through Google Home and HA. Its a WOL Switch with the name of my Desktop.
Solution:
```yaml - platform: wake_on_lan mac: mac_address host: ip name: "My PC Power"...

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....
Solution:
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...

No services using HASS.Agent auto-discovery

I did manage to install HASS.Agent in my PC using MQTT. Also installed all HASS.Agents addons via HACS and it does manage to auto-discover my PC. The problem is that the device found has no entity/service. Any hint?...
No description

Notification Documentation Link

The Notification Documentation Link in the Configuration UI goes to https://www.hass-agent.io/latest/setup/notifications/ which is giving a 404 error. This is just FYI.... should this have been a github issue? šŸ˜„...
Solution:
look if im being honest i was supposed to have finished the setup by now but its mind numbingly boring. So it doesnt exist, however there is a working guide in getting started so i think we'll just swap that in the app

HASSAgent.sys Malware Detected - False Positive, I know.

My work laptop picks up HASSAgent.sys is flagged as malware due to file reputation according to our company malware software. I saw the GitHub where this likely outdated information, but I'm limited in what I can do on my end to resolve this. What functionality is tied to HASSAgent.sys? It seems MQTT still works for the one sensor I'm testing with -- My use case on this computer is Microphone Detection; which appears to be working with the .sys file deleted/quarantined.
Second question, is there a way that I can get the application to stop creating the .sys file on ever restart? Depending on the answers to the first question, a limited functionality may be okay for my work PC, but I'd like to stop generating the quarantine reports before someone from our TOC starts asking questions....
Solution:
since it's "baked in" to the build I don't think there is a way to stop it from generating it

Cannot get HASS/integration working

Long time user... first time complainer. šŸ˜› Brand new computer. Installed the agent on windows using https://github.com/hass-agent/HASS.Agent/releases/latest/download/HASS.Agent.Installer.exe Added the custom repo to HACS (this one right?)...
Solution:
I've got things working too. The point for me was that in core.config_entries file there was a persistant hass_agent entry. Even when I deleted the integration, it stayed there. This entry was a wrongly used name by myself (i'd like to add -hassagent to the identifier). After removing manually, it is gone. Thanks for your support!
No description

Clicking desktop notification custom action?

Is there a way when I get a push notification to my desktop (windows 11) and click on it, that it does something specific on the computer (like opens a browser to a certain page)?
Solution:
am i supposed to have this third option enabled?

last_active is constantly changing but there is no mouse movement

Any clues? I used to use this sensor as a timeout for shutting down the PC. I checked and Move Mouse isn't running, or anything else like that AFAICT. Is there better sensor to use for this purpose?
Solution:
this has stabilized btw - haven't had the issue since i updated Win 11 on her machine and did 1-2 reboots

Only media player discovered

Hi! I'm quite new to using HASS.Agent, and have run into some problems when setting it up. I originally installed the "old" (not forked) version, but only one device with no entities was discovered. I therefore tried to download the forked version, with the new HASS.Agent 2 integration. I removed all integrations and programs beforehand, but still only one device discovered. This was now the media player, which works as expected. I am still missing the main device with all the sensors. I'm not sure which details I need to add for you guys to help me out, but I'm hoping there is an easy fix to the problem šŸ™‚...
Solution:
Sensors/commands show under the MQTT integration

Is it possible to turn on a tablet screen?

I have a Surface setup to never go into deep sleep. With IOTLink I was able to wake the screen with an automation. Is that possible?
Solution:
There is a command that simulates a keypress that should wake the screen (assuming the device is really not sleeping - including s0ix sleep aka modern sleep)

Satellite service not respecting "round", "ignore availability" and "advanced issues"

@SpikeyGG I've created a thread here so it's easier to have the conversation confined šŸ˜„
Solution:
Fixed in 2.1.0+