HASS.Agent

H

HASS.Agent

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

Join
Ccralwalker5/3/2024

Command to force Windows Update

Is there a trick to making command 'Wuauclt.exe /updatenow' execute a complete Windows Update?
EDEl Dingo5/2/2024

Screenshot sensor, fail state?

Is there a way currently where if the PC is asleep for example and the screenshot sensor has no data to either hide the card or display a line of text like "PC is not currently available"?
Solution:
i assume UI. 1. Add a conditional card 2. Add a condition for entity state 3. Set it to check that the screenshot is not unavailable...
Eewonais5/2/2024

media player disappeared

when i uppdated core to 24.5
No description
BBigRed5/1/2024

Microphone sensor showing ON when it's not.

RIght now I'm aseeing that the attribute is Discord, even though i'm not on a call.
Ssidewinder03784/30/2024

Auto Discovery fails at second device

Hi Guys, I Installed hass.agent at my windows PC and AutoDiscovery in HA worked fine. I can use motifications etc. Now I installed HASS:agent on a second device to use it there too. Installation worked fine, I use the same configuration as on the first PC (besides ClientID) but the new device doesn't show up in HA. Is there anything I may have missed in the process? Thanks for your help.
CChrisRosenkreuz234/28/2024

Process name

Hi, what is the precess name of hass agent in windows11? I sometimes notice the process crashing, and all sensors going unavailable. Suffice to say my whole house basically shuts down when HA thinks the PC "turned off" like this. Wanna set a scheduled event on crash to just re-run the process. Also I vaguely know how to do this but am not sure about the event number as trigger. ChatGPT says it's 7024. Is that it?
SSirios_Dev4/24/2024

Window not appear using custom command w/out Low Integrity

I have created a custom command that launches a python script (which currently contains only a print and an input to test), however, launching it no window/terminal appears in normal mode (I see that the app runs from the task manager), while with low integrity mode it appears. This would be solved here except that past experiments I realized that low integrity is too restricted for what I need. Am I doing something wrong?
No description
BBakaDolev4/19/2024

Media Player unavailable

Hey, so after i moved from LAB02-Research app the auto discovered media player is unavailable with the old name of my computer i reinstalled the app rediscovered the hass.agent intergration with no luck....
Solution:
Nevermind, after messing around in the mqtt explorer and deleting old entities of the media player and removing hass.agent intergation from home assistant and rediscovering it worked
No description
Kkoshi4/13/2024

Getting wake lock status into HA

Hi! I am so glad to see someone has adopted this, since the project itself has been a life-saver in so many situations. I am trying to get my wake lock state into home assistant to have one more thing to check to make a decision if the system should be suspended or not - and I did see a powershell sensor has been integrated, which is really helpful for that, because now I just could do an "powercfg -requests | Select-String -Pattern "PROCESS"" or something as a quick hack - unfortunately powercf...
Solution:
you can also right click -> properties -> compatibility -> tick run as admin
DDrR0x4/13/2024

Autodiscovery Issues with Integration

Thread to keep track of instances where the integration fails to autodiscover hass.agent instances.
SShredder52624/13/2024

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.
No description
Ccrawmartino4/8/2024

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. ...
Ssreknob3/24/2024

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....
No description
Bbarrelltitor3/23/2024

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...
IIan3/21/2024

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
BBucky3/17/2024

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
BBucky3/17/2024

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
BBucky3/15/2024

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
OOzzi3/14/2024

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
Rrexnocti2/29/2024

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 🙂
Next