HASS.Agent

H

HASS.Agent

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

Join

How to install and configure MQTT broker on Home Assistant running in Docker?

Hi, in the documentation (https://www.hass-agent.io/2.0/getting-started/installation/) there is a video on how to install a MQTT add-on in Home Assistant. But I'm running Home Assistant in Docker on Raspberry Pi OS, so no add-ons are available. What should I do to make HASS.Agent work?

Server 2016 APPCRASH after migration.

I have a bunch of Windows Server 2016. At one time, I used HASS Workstation Service, then moved to HASS.Agent. I tried to migrate from the 2022 version to 2.1.1. After migrating, the app won't launch at all. I can see it in the task manager for about 1 second, then it vanishes. ...

Sensor to check if PC is on?

Hello, is there a sensor to check if the pc is simply powered on?. I had a manually created entity that uses Wake On Lan + RPC Shutdown to detect the pc state and switch it on/off accordingly with a single switch, but the state detection on that has long since stopped working. I was hoping to replace the shutdown/state detection part using HASS Agent/integration. Is this possible?

no media player entity after fresh hass os install

doesnt seem to be any residuals from the previous install in mqtt explorer, sensors and everything else seems to be functioning as intended.
No description

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

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

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?

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

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

Autostart not working

App won't autostart, have tried toggling off and on in settings.

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

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

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

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.

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.

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
Next