HASS.Agent

H

HASS.Agent

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

Join

Shutting your computer down through HA.

I have added the Shutdown command to HASS Agent and my Home Assistant sees the button of the shutdown, but for some reason I am unable to shut my computer down through Google Home. I have WOL enabled and I am able to start my computer through Google Home and HA. Its a WOL Switch with the name of my Desktop.
Solution:
```yaml - platform: wake_on_lan mac: mac_address host: ip name: "My PC Power"...

PC doesn't get discovered in HA but MQTT picks it up + no notify.your-pc service

Posting these as one support thread in case they're related. I'm not getting a HASS.Agent integration pop up with the device discovered, but it still appears under my list of devices for MQTT. I've added the github repo for media/notfications. I'm picking up the sensors I want and I can send the test notification from the App (except GPU Temps which says Unavailable) but there's no notify service....
Solution:
Ok, so apparently I restarted HA at various times, but it looks like I DID NOT reboot after updating the clients in question to the very latest 2.1.0. I definitely did not do anything with the integration side of it - I simply installed the update on the clients having the problem, and when I restarted HA a few hours later for a different purpose, I went to the integrations page and all 3x of the clients previously working with sensors, commands, etc. through MQTT, but there was no notify, nor...

No services using HASS.Agent auto-discovery

I did manage to install HASS.Agent in my PC using MQTT. Also installed all HASS.Agents addons via HACS and it does manage to auto-discover my PC. The problem is that the device found has no entity/service. Any hint?...
No description

Notification Documentation Link

The Notification Documentation Link in the Configuration UI goes to https://www.hass-agent.io/latest/setup/notifications/ which is giving a 404 error. This is just FYI.... should this have been a github issue? πŸ˜„...
Solution:
look if im being honest i was supposed to have finished the setup by now but its mind numbingly boring. So it doesnt exist, however there is a working guide in getting started so i think we'll just swap that in the app

HASSAgent.sys Malware Detected - False Positive, I know.

My work laptop picks up HASSAgent.sys is flagged as malware due to file reputation according to our company malware software. I saw the GitHub where this likely outdated information, but I'm limited in what I can do on my end to resolve this. What functionality is tied to HASSAgent.sys? It seems MQTT still works for the one sensor I'm testing with -- My use case on this computer is Microphone Detection; which appears to be working with the .sys file deleted/quarantined.
Second question, is there a way that I can get the application to stop creating the .sys file on ever restart? Depending on the answers to the first question, a limited functionality may be okay for my work PC, but I'd like to stop generating the quarantine reports before someone from our TOC starts asking questions....
Solution:
since it's "baked in" to the build I don't think there is a way to stop it from generating it

Cannot get HASS/integration working

Long time user... first time complainer. πŸ˜› Brand new computer. Installed the agent on windows using https://github.com/hass-agent/HASS.Agent/releases/latest/download/HASS.Agent.Installer.exe Added the custom repo to HACS (this one right?)...
Solution:
I've got things working too. The point for me was that in core.config_entries file there was a persistant hass_agent entry. Even when I deleted the integration, it stayed there. This entry was a wrongly used name by myself (i'd like to add -hassagent to the identifier). After removing manually, it is gone. Thanks for your support!
No description

Clicking desktop notification custom action?

Is there a way when I get a push notification to my desktop (windows 11) and click on it, that it does something specific on the computer (like opens a browser to a certain page)?
Solution:
am i supposed to have this third option enabled?

last_active is constantly changing but there is no mouse movement

Any clues? I used to use this sensor as a timeout for shutting down the PC. I checked and Move Mouse isn't running, or anything else like that AFAICT. Is there better sensor to use for this purpose?
Solution:
this has stabilized btw - haven't had the issue since i updated Win 11 on her machine and did 1-2 reboots

Only media player discovered

Hi! I'm quite new to using HASS.Agent, and have run into some problems when setting it up. I originally installed the "old" (not forked) version, but only one device with no entities was discovered. I therefore tried to download the forked version, with the new HASS.Agent 2 integration. I removed all integrations and programs beforehand, but still only one device discovered. This was now the media player, which works as expected. I am still missing the main device with all the sensors. I'm not sure which details I need to add for you guys to help me out, but I'm hoping there is an easy fix to the problem πŸ™‚...
Solution:
Sensors/commands show under the MQTT integration

Is it possible to turn on a tablet screen?

I have a Surface setup to never go into deep sleep. With IOTLink I was able to wake the screen with an automation. Is that possible?
Solution:
There is a command that simulates a keypress that should wake the screen (assuming the device is really not sleeping - including s0ix sleep aka modern sleep)

Satellite service not respecting "round", "ignore availability" and "advanced issues"

@SpikeyGG I've created a thread here so it's easier to have the conversation confined πŸ˜„
Solution:
Fixed in 2.1.0+

Can't change audio output until restart of hagent

idk how to reproduce yet. I'm on the latest available beta. II have one audio sensor that I use to get e.g my headphones speakrs whatever else I have connected I use a dropdown select with data from that sensor. This works, I get the exact names, perfect so far!...

command run through powershell not working

i'm trying to run a simple command from here: https://github.com/nathanbabcock/nightlight-cli . i installed it as nodejs, but it seems to run through command line or powershell just fine, but when i try to input the command same as I would there, it doesnt work. i've searched around for a while and haven't been able to figure out anyway to make commands from this work. help figuring this out would be super appreciated
Solution:
Thread closed Issue was with PATH, system needed to be restarted due to changes to PATH...

Can`t send notifications to windows

First, sorry for my english, this is not my native language I searched a lot trying to find the answer for this question, even in the questions below i receive test notifications, my agent its up and runing i've created the script to send the noficiation too, and it's permited to send notification, but its does nothing...
Solution:
You was right, the logs was not showing anything, when i used the mqtt explorer as you recomended,i find out, for some reason, my pc was still showing as using the old vesion of hass.agent, i just uninstaled and reinstaled the program, and every thing works now thanks a lot for your time and effort...
No description

Setting Up Notifications

I am attempting to implement a solution to allow home assistant to send my windows PC notifications, I have installed HASS.agent client on my computer and have enabled the local API on port 5115, when I navigate to my internal IP & port I get 'HASS.Agent Active' however when I enter my hostname (internal ip) within home assistant it immediately says 'failed to connect'. I only mention it's immediate because when I specify an incorrect port/ip combination it takes some time before failing to conn...
Solution:
is the local api an only option (asking about mqtt)?

App keeps crashing lowkey

It stops working randomly and when I check the logs there's an exception. Last time I reported the app randomly stopped working you told me it's my config. it is not.
Solution:
so I guess it should be good

Platform mqtt does not generate unique IDs upon updating to beta2

Hey, thanks for the awesome update! Just updated to beta2 from beta1. I simply ran the installer and followed the prompts and chose migratation. If came back fine, except 2 of my sensors command config sensors came back to HA with the does not generate unique IDs. ...
Solution:
here's what I did. I ended up deleting it in Hass.Agent configuration, then in MQTT explorer on HA side. Remade the sensors and they are now working without errors. Maybe justa glitch somewhere.

Use for a HTPC

Trying to see if I can use this program to have home assistant trigger specific programs to start/stop on my pc. So far I’ve not seen it actually stated if it’ll work or not. Has anyone used this in that manner.
Solution:
So just open and close programs? Definitely doable

Removing old duplicated entities.

Hello ! I installed the old HassAgent, having only played with sensor and commands, but then migrated to V2. Used the compat script in #entity-names , but I still have duplicated entities in my MQTT integration. I Decided to go back from scratch, and indeed the new entities has been deleted, but I can't remove the old ones (the underdogunderdog* ones), because "Entities can only be removed when the integration is no longer providing the entities". And in truth, I see the sensor being active, but with unknown status....
Solution:
Resolved by going into MQTT explorer and clearing leftover topics from pre-migration.
No description