HASS.Agent

H

HASS.Agent

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

Join

Cant install Agent?

ive tried to reinstall the agent a few times, I had it installed and working, it seemed to crash, then once i reinstalled it it gives me error "c:\users\david\appdata\roaming\lab02research\hass.agent installer\2214.0.3\hass.agent1.cab. verify that the file exists and that you can access it" after i agree to the licence terms and conditions and clicked the big green install button I have tried: uninstalling it using the built in uninstaller using revo uninstaller in case it had some previously saved settings causing problems, revo uninstaller doesnt show hass agent as being on the computer at all ...
No description

Server alive sensor?

So what sensor should I setup to get a proper "Server is alive"?
Solution:
the only reliable way I think is to use the "homeassistant/sensor/<device>/availability" mqtt topic as HASS.Agent uses it as last will message

lastactive and remote desktop question

Hi from the newb. I use last active as part of monitoring locations. I've found that when using remote desktop, which I do often, the last active triggers as if I was actually at the machine. I get why this happens. The question is if there is a reasonable work around that anyone has come up with to monitor if a human is actually at the station? Monitor keystrokes or mouse movement?? TIA...
Solution:
maybe you can use this to have a sensor in HA that is true when RDP session is active and when not?

Unable to send images via notification

HA version: 2024.11.1 HASS.Agent version: 2.1.0 HACS "HASS.agent" version: v2022.11.9 HACS "HASS.Agent 2 Integration - Media Player & Notifications" version: 2.1.0-beta1 ...
Solution:
relative notification images (without https://....) were fixed in this version https://github.com/hass-agent/HASS.Agent/pull/186

cmd.exe and conhost.exe processes opened by Hass.Agent never close

Aplogies in advance, because I don't have much information to diagnose te issue, but I noticed i have lots and lots of cmd.exe and conhost.exe processes active in my process list. In trying to figure out what caused this I ended all the active processes, left hass agent closed for a few hours, and none of the processes in question were ever opening. Within a few minutes of opening hass.agent they beginning appearing again, slowly over time. I suspect this might have something to do with sensors or commands that I have active but im not sure how to better diagnose the issue. I've attached 2 screenshots showing my sensors and my commands....
Solution:
i dont think so no. i moved to a new computer recently but i also changed some of my commands around, so it seems clear of these extra processes, at least for now
No description

Mqtt not connecting

Unauthorised error in broker console
Solution:
I don't know why It doesn't, but with de local IP and the Z2M pass runs

shutdown command / Wake on Lan Issue

Hey all I have come across an issue where if i use hass.agent to shutdown my pc (which is main reason i use Hass.agent appart from notifications) causes my pc to not be able to Wake on Lan. WOL works if i shutdown the pc normally through the start menu, i have also tried running a custom command to shutdown aswell, but this issue still remains. thank you in advance any help is greatly appreciated...
Solution:
thank you i revisited my bios, and found power on pcie was disabled, now wol is working, however num lock still remains off when powered on via wol,

HA crashes because of HACS integration

My homeassistant instance keeps crashing in about 30 sec after startup. At least the front end. From logs, I think it's because the hass.agent integration. How do I get rid of it without the front end? I tried to rename the folder but the same error is happening. 2024-11-01 22:21:20.168 ERROR (SyncWorker_5) [homeassistant.util.logging] Exception in updated when handling msg on 'hass.agent/devices/PC': '{"serial_number":"24ce56b4-001a-410b-a5cf-5efcd4160827","device":{"identifiers":"hass.agent-PC","manufacturer":"LAB02 Research","model":"Microsoft Windows NT 10.0.19045.0","name":"PC","sw_version":"2022.14.0"},"apis":{"notifications":true,"media_player":true}}' Traceback (most recent call last): File "/config/custom_components/hass_agent_disabled/init.py", line 144, in updated...
Solution:
looks like you're using the original ingration and not the forked one

Powershell Command not running

Hey, I have a PS command like so, this works via PS directly. I can see the request in MQTT Explorer, but it doesn't seem to trigger via the agent and im not sur ewhy. Any ideas?...
Solution:
Nice, thank you, will include it as part of full 2.1.1
No description

How to use SetAudioOutputCommand?

Hey folks, I have recently started using HAAS.Agent (long time HomeAssistant user,. new PC user). and I'm trying to use SetAudioOutputCommand to switch between my headphones and my speakers. Unfortunately, when I click the button in HomeAssistant the audio output doesn't seem to change. I suspect that it might be because I'm using the wrong "name" for the audio output (as you can see in the screenshot of my audio settings, each device seems to have two names). When I look at them in device manager, it has a different name which seems to be the two names in settings combined. Which of the names am I supposed to use? Thanks!...
Solution:
Typical... after posting this I decided to try the long name as seen in device manager and it works. I'm an idiot - but I will leave this here in case any one else ever looks for it!
No description

hey

how do i get notification form home assistent to my pc

Sattelite service not installing "Unable to install, binary location unknown"

What can I do? Kinda new to HA
Solution:
Then, select advanced in the searching mode, this will basically look for files and registry that are still on ur computer, related to hass

Adding entity to HA using Node-RED MQTT Broker

Hi all, I am trying to set HassAgent up for the first time on Home Assistant, so I can shut down a NUC via HA. I am using Node-RED and running the Aedes MQTT broker node from here, as I run a whole lot of devices through already. I can see HassAgent is connecting to this broker and sending messages on connection. I've set Hass.Agent up and setup a Command, but I can't get anything into HA itself. Trying to manually add the integration into HA gives the error message "The integration could not be loaded..." and there is no entity showing up under entities for the command. Is this an issue because I'm running a broker from within Node-RED and not a HA addon? If so, is there any around that?...
Solution:
the sensors/commands should appear in the MQTT integration section
No description

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

Get process stats into HA

I am trying to work out how to get process statistics into HA. At the moment i use hass agent to send cpu usage stats and i often see that running at 100% and have been trying to work out how to get historical data per process to work out the cause... I have worked out that i can ues the following powershell module to get json of the statistis i am after, but due to character restriction this isn't a viable way to get the data into HA (though i could do a top 10 process). If i were to use the top processes option, is there a better way to format this data so it is somewhat useable in HA to analyse? ```ps...

Repository structure for HASS.Agent 2.1.0-beta1 is not compliant

I am attempting to install the 2.1.0-beta1 from the Github repository. I am doing so because I don't see the media player entity in HA after installing the original HASS.Agent from the HACS repository. However, when I try and install the above custom repository I am getting the above HADS error message. I'm running HACS v2.01 on HA Core 2024.10.2...

My device was found but no entities were created

The integrations page found my device, everything looks configured ok on the windows side, but no entities were created on the device.
Solution:
the devices will be visible in the MQTT integration
No description

Argh! Lost all recent config thanks to migration option in 2.1.0 - any way to fix?

I did a major update of my commands and sensors last month when I upgraded to the new fork of this app. For the 2.1.0 I had the "try migrations" checked and it pulled OLD config/sensors/commands from YEARS ago back into the app, and I lost all my stuff. Do the previous config files still exist somewhere??

Typo in Config Wizard

Reinstalled the new version and did a clean install. Noticed a typo. That's it.
Solution:
Thanks for the catch!
No description

Frigate notification to HASS.Agent

as the title says, I want an automation that sends a notification to my windows pc via HASS.Agent. I've tried changing the notify.device entity in the automation but the Frigate blueprint seems to only work with mobile or any devices with the HA app installed.