HASS.Agent

H

HASS.Agent

HASS.Agent's discord community server for getting help and chatting with other users.

Join
fair-rose
fair-rose4/24/2025

WMI Disk Free sensor

Hi all! Trying to use wmiquery to get disk free space, and I can see the sensor showing the correct value at Hass.Agent, but hass itself is just showing "Unknown". What am I missing?

Commands not showing in Home Assistant

Most of the commands are missing on HA, tried to restart the PC, Restart HA, MQTT status is connected, and one of the commands is grayed out
No description
exotic-emerald
exotic-emerald4/19/2025

WebView closes when another window becomes active

I don't know if this is supposed to be the case or not, but I wanted to open a webview with cameras and then move that window to another monitor (since multiple monitors are not supported yet, but I saw that they will be in 2.2.0), but as soon as I click on another window, the WebView closes. I want to know if this is how it was intended to be? If so, is there a way to make the WebView not close when another window becomes active?...
homely-rose
homely-rose4/16/2025

HASS won't stay running

I'm using HASS.Agent on my Windows 10 HTPC. The HTPC runs 24/7 and I'll start HASS and see it in the system tray. After a few days go by, it will be gone from the system tray and I have to restart HASS. Is there any reason why HASS is shutting down on its own?
genetic-orange
genetic-orange4/14/2025

audio sensor

hello everyone, there is a problem that the audio sensor does not output anything. How can it be solved?
No description

Focus Assist

Does anyone know if its possible to create a command with HASS Agent that can enable/disable focus assist? I'm regularly turning Focus Assist on in Windows during meetings, but often forgetting to turn it back off. I'm hoping to find a way to toggle it based on either my meeting calendar or some sort of status from my virtual meeting software... Any help is appreciated....
flat-fuchsia
flat-fuchsia4/8/2025

ServiceStateSensor Sunshine Service running

Hello, also first time poster here. I've managed to setup an "ServiceStateSensor" for the "Sunshine Service". Its telling either running or not. Is there a way to get the deeper informations? Like "Is paused", "Connected". I'd like to have an automation look for the state if of it, and NOT put the PC to sleep if an user is currently connected via the sunshine service (or a different one). Kinda that as an InternalServiceState?...
deep-jade
deep-jade4/4/2025

Autostart not working

App won't autostart, have tried toggling off and on in settings.
deep-jade
deep-jade4/1/2025

all notifications in automations are broken

Hi, after installing HASS.agent in all automations notifications broke. I would have managed it somehow if not for the awtrix watch which after installing the agent I can no longer set notifications. I only need to send notifications to PC, is it possible to do it somehow from a link? e.g. http://MY_IP:5115/message?text=test...
optimistic-gold
optimistic-gold4/1/2025

Computer is showing Unavailable

Just noticed that my computer shows as unavailable in HA and not receiving any messages. Not sure if it is on the HA side or the agent side. HA Agent version is 2.1.0 beta 1 and computer HASS.Agent version is 2.1.1. Turned on logging and this is what the logs show: Logger: homeassistant.config_entries Source: config_entries.py:967...
No description
flat-fuchsia
flat-fuchsia3/30/2025

Home-assistant intergration

Hello so recently i wanted to add my pc as a media player so that i can use music assistant to play music but i ran into a problem for some reason the hass agent intergration for home assistant doesnt work i checked the logs and it says that something it uses has been deprecated

Looks like I screwed up my install

I managed to get 2 different satellite services installed. Also, the "installed apps" shows 2 different versions?

How can I pass a payload message from node red to an MQTT action?

I'm trying to launch a Burnt Toast Notification with a text message from Node Red via msg.payload. https://github.com/Windos/BurntToast Now as a powershell command in hass agent i linked to a ps1 file: powershell -ExecutionPolicy Bypass -File "C:_automationScripts\mqtt-toast-notification.ps1" "{payload}" and via node red I send an mqtt out to the command with my custom payload. The notification pops up, but the message is still "{payload}"...
extended-salmon
extended-salmon3/24/2025

Changing the Name of the Device in HASS.agent makes Media Player Unavailable

The device name was originally the PC so I changed in to somthing more user friendly and it made the media player go unavailable.
stormy-gold
stormy-gold3/13/2025

Windows notifications -> HA

Is there a way to push windows notifications back to HA? For example, if I receive a notification from Slack in my windows notification centre, change my office light bulb colour.
xenial-black
xenial-black3/12/2025

Sensors not updating MQTT server at appropriate frequency

Hello, I've recently migrated to the fork due to lots of errors clogging up the HA log. The fork has resolved those issues, but I've got one new annoying problem. My sensors are not updating at the defined frequency; worse, they're seemingly updating at a random frequency. Looking at my MQTT server with MQTT Explorer, I see that the Agent is online, and updating that it is online every 30 seconds, reliably. The primary sensor in question is a "monitorpowerstate" that runs on the agent and should update every 3 seconds. If this was just a case where updates are only sent when status changes, that'd be fine, but it doesn't seem to be that way. Updates are still a seemingly random time period after actual status change. Looking at the topic in MQTT Explorer, I see update frequencies ranging from 30 minutes to 1 second Steps I have taken so far: I have restarted my PC running HASS Agent. I have restarted HomeAssistant. I have restarted my MQTT server. I have deleted and recreated the sensor....
No description

Unable to shutdown

I'm unsure if this is an issue with HASS.Agent or just home assistant but here goes. I have a button I had made "Shutdown PC" which calls the following in scripts.yaml. This previously worked but must have stopped working recently. I presume an update with either Home Assistant or HASS.Agent broke it, but I don't recall seeing anything in breaking changes relating to this. ```restart_amdpc: alias: Reboot AMDPC...
Solution:
I think it's due to changes in HA, not HASS.Agent. It wasn't worth troubleshooting so i ended up deleting that config and instead sending basic CMD commands (eg shutdown /s /t 20, shutdown /r /t 20) via HASS.Agent.
sensitive-blue
sensitive-blue3/9/2025

Media play pause stops working via HA when resuming from suspend.

Here's the output from the broken PC, it seems to work on another PC so I really don't know what I'm doing wrong. {"availability_topic":"homeassistant/sensor/THEATER-PC2/availability","command_topic":"homeassistant/button/THEATER-PC2/mediaplaypause/set","action_topic":"homeassistant/button/THEATER-PC2/mediaplaypause/action","unique_id":"c9fcb6d4-aad8-4454-a990-4861290e64e2","object_id":"THEATER-PC2_mediaplaypause","device":{"identifiers":"hass.agent-THEATER-PC2","manufacturer":"HASS.Agent Team","model":"Microsoft Windows NT 10.0.26100.0","name":"THEATER-PC2","sw_version":"2.1.1"},"entityname":"mediaplaypause","name":"mediaplaypause","state_topic":"homeassistant/button/THEATER-PC2/mediaplaypause/state"} Here's the working one ...
deep-jade
deep-jade3/2/2025

Failed to Connect

I recently found out my PC notifications were not working. I removed the integration but when I try to re-add I get faile to connect every time. I have the Hass.Agent running on PC and verified the firwall rule exists. I've also verified that the HA instance and the PC can see each other HA Version 2.1.1 PC Version 2.1.1...
No description
quickest-silver
quickest-silver3/1/2025

Projection Settings

Hi! Wondering how can I control DUPLICATE , EXTENDED OR ONLY SECOND SCREEN with HASS AGENT