HASS.Agent

H

HASS.Agent

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

Join

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

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

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?...
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!...
No description

hey

how do i get notification form home assistent to my pc

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?...
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....

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

Can i use local api to send a keystroke to my hass.agent pc?

I'm trying to use hass.agent for a simple task: i want to be able to send 1 key from HA to my windows pc. I'm not using MQTT, is there a way to use the local api for sending a keystroke or do I need to setup a MQTT server for this single task?

Newbie trying to get mqtt to work

Hey, im trying to get MQTT to work and connect from my home assistant green to MQTT using the hass.agent software but its not working, ive made sure to put in the same information but it never connects

Is there any way to change the shutdown wait period?

I feel like 1 minute is a bit long. RPC shutdown can configure the delay time.

No media player entity

I have installed the latest update (both satellite service and client), it's connected to HA instance and works well, except I don't get any media_player entity in my HASS.Agent device. This was broken for me before the update was installed and the update hasn't fixed it, I tried restarting PC, restarting HA (running on rPI), disabling and enabling media player functionality and nothing works. Additionally, when trying to consult media player documentation, I get 404 error. Can I do something about this? Do you need more info?...

sensor and command from hass intégration?

Hi, in the original version I used to see all the sensors and command directly inside the HASS Agent intégration page, now I can see them only inside the MQTT integration. Is there any way to get them back on the HASS Agent integration near the media player? Thank you...
Solution:
The commands/sensors only show in the integration if you use local api

PC On/Off status as sensor?

I have a button on my dashboard to turn the pc on/off remotely using WakeOnLan and Remote Shutdown, but if I turn the PC off or on manually it doesn't update the state of the button. Is there a sensor on HASS.Agent to just purely detect if it's on or off? I have this so far, but it won't change the state of the button when the PC is switched off because HASS.Agent's sensors just become unavailable, they don't report 0. Anyone got any ideas? ```alias: PC ON/OFF description: ""...
Next