HASS.Agent

H

HASS.Agent

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

Join

Autodiscovery Issues with Integration

Thread to keep track of instances where the integration fails to autodiscover hass.agent instances.
Solution:
Well it seems that worked this time. I guess that it's because i have all machines on the new agent now. Fully uninstalling the old agent on the client machines and installing the new one may have helped....? fwiw, I kinda wish there was a different name for this new agent, it's difficult to make the distinction between the old and the new....even though it's the same thing with continued development.

Friendly name reverting for 'commands' or 'controls' in HA

Hello, A while back i had asked for a friendly name to be implemented to the agent. I noticed that it was implemented and works well for "sensors", but not so much for controls... It seems the friendly name is being reverted to whatever the 'name' field is in the agent. Notice the underscores and all lowercase letters as opposed to bookcase titling of the sensors.
Solution:
will be part of 2.1.0-beta2
No description

Notifications from HA don't work

Hi, ive recently just migrated from 2022.14.0 to 2.0.1 and everything seems to be working fine, the integration detects my device and MQTT does too. If i click "Show Test Notification", the notification appears. However, if i tell HA to send me a notification, nothing happens. I've tried restarting HA, removing and adding the integration again, restarting my computer, even completely deleting hass.agent and installing it from scratch again. Nothing has worked. There are no errors that show up in the logs when i send the service request. ...

High CPU and memory usage

Hey everyone - I'm having pretty high CPU usage (consistently 10-15%) and slow increase in memory usage on windows (starts at a few hundred MBs and slowly climbs to GBs). I submitted a issue on GitHub (#64) but wanted to see if anyone else is experiencing this. Running 2.1.0-beta1 on Windows 10. I have a few quick actions defined for keyboard shortcuts and a few sensors. Nothing interesting from what I can see in the logs....
Solution:
Fixed in 2.1.0
No description

Agent using 20GB+ RAM

Unfortunately I had to close it as I was running out of RAM, and I'm not sure what happened. I went to the store, my monitors went to sleep, and when I came back I found discord and other stuff frozen or crashed, + hass agent using 20 somethingGB RAM Where should I look for logs or anything that can help us figure out what went wrong? I haven't re-opened it yet just in case that might overwrite some logs or something...
Solution:
Should be fixed in 2.1

HACS Add-On no longer available?

Hi! Am I doing something wrong or is the link in the documentation to the HACS add-on no longer valid? TYIA!...
Solution:
Yeah no I know, after downloading it using the wget command etc., clearing browser cache, and going into add integration it wasn't showing up. After updating it again and waiting till this morning it showed up! Something was just delayed.
No description

HASS.Agent Client bugs out if you leave Satellite service open when closing the main window

Holy bug reports 😂 Replication: - Open HASS.Agent - Open Satellite Service config...
No description

HASS.Agent do not change sensors/commands if config is set during host downtime

Admittedly a very silly bug, but a bug nonetheless Replication: - Disconnect from network - Change sensors/commands...
No description

HASS.Agent Satellite randomly stops sending out MQTT after hibernate or sleep

Setup: - HASS.Agent 2.1.0-beta1 [BETA} - Tailscale connecting the desktop to Pi, requesting DNS from PiHole - Docker on Pi - mosquitto 2.0.18...
No description

Autodiscovered 2 instances instead of one

Hello! I have problem (probably) with HASS Integration. I migrate from older verison of HASS.agent. ...
Solution:
Otherwise use mqttexplorer

Keyboard Media Keys

Hi all, Is it possible to use the media keys on my keyboard (Corsair K95) as a hotkey in Quick Actions? Cheers!...
Solution:
Thanks Amadeo, I can not get them to show anything when attempting to set them as a hotkey but I've found a workaround, using iCue to set the keystroke for the play/pause key, then assign that keystroke in HASS.Agent, this is working perfectly. Now I've got a script to work out what in the office is playing (Plex/Youtube) and on what (iPad/TV/PC) and pause it 🙂

mqtt discovery on every update bug

Hey! I'm currently in HA core beta, and was looking for other bugs but ended up noticing that hass.agent does something that's not very efficient on the home assistant side, it sends the discovery payload on every update for every sensor which cost CPU time on HA. For example...
Solution:
will be part of 2.1.0-beta1

Powershell command no longer working after update

Hey! Is there any way for me to log commands? I have a custom powershell command that's just blank so I can run anything I need via home assistant through it, and I have in my path a script called "bt.ps1" Before updating & migrating from the old version, this worked perfectly fine as such:...
Solution:
yeah i found out, because the apps have the exact same name and I started them from windows I kept starting different ones each time The windows bar has a nifty feature when you have 2 programs with the same program name whenever you type it in the search bar it ALTERNATES between the two So that messed up the config somehow, looks like on the new version the mqtt topic changed...

Sensor becoming unavailable after every update

Hi folks. I've got a PerformanceCounter sensor set up, and it's reporting 'Unavailable' after every update (see screenshot). Does anyone know how I can make it remember the last value, rather than switching? Otherwise, I can't set up automations with triggers like if under threshold for X minutes, do something as it's frequenting switching between a value and unavailable....
No description

ActiveWindow name parsing issue

Picture says 1000 words Not really sure what's going on at the moment with all the parsing issuing...
Solution:
2.1.0
No description

Triggering Powershell not working

Following on from https://discord.com/channels/932957721622360074/1208148867799982112 Currently running the forked version, but unable to get Powershell to trigger the command Switch-Desktop -Desktop "Desktop 2"...
Solution:
Ah, escaping the quotes fixed it for the command too
No description

Agent not starting on a fresh install

Just started a fresh win11 pc and installed hass agent. The only thing I modified was the install path which I set to program files - hass agent. I double click it and it just won't run. I see the satellite service running in task manager though, just not the main one. My pc specs are brand new last gen everything...
Solution:
Ok so after careful consideration (of about a couple secs or so) I just decided to uninstall and install back up again using the default dir instead. It didn't make sense to my neophyte brain that it would now work just because of that, but lo and behold, it actually did, so... sorry I can't help track the ticket but at least I am now using it happily heheh.

HASS.Agent crashes on explorer.exe restart

This is kind of a weird one - I use virtual desktops a lot and I have 3 monitors so I'm pretty constantly flipping between 15 or so desktops all day. Windows 11 doesn't always love me doing this, and due to some issue I haven't worked out, the taskbar will get jacked until I restart explorer.exe. This is normally a non-event, taskbar will come back and system tray and everything is happy except HASS.Agent. When explorer.exe restarts, HASS.Agent will crash silently. Windows event log deets in the thread. To re-create: Open Win11 task manager, find explorer.exe, and click "restart task"....
Solution:
Just installed 2.1.0-beta1 and the crash problem is resolved. Nice work!

Notify service missing if offline when rebooting HomeAssistant

When rebooting HomeAssistant, if my PC is offline (which HASS.Agent is installed on), the notify service doesnt exist (and thus triggers repair notices from integrations like Spook) and rebooting homeassistant again after the device is turned on seems to be the only way to automatically clear the repair notice. Is there any way for the entity to remain in HomeAssistant and just change its status to Unavailable similar to how other entities do when the integration fails to set up instead of remov...
Solution:
Try this: 1. Uninstall hass.agent integration 2. Disable local API in hass.agent on PC ...
No description

hass agent CONSTANTLY crashing after minutes of it running

i have been using it for a little while now but recently it has started not updating the sensors and promptly crashing (wont restart, having to close it in task manager) i have no idea what has/is causing it i have tried to do a repair install to no success and i cant find much in the log
Solution:
hahah yes i did but this was so long ago now that i cant exactly remember how hah