HASS.Agent

H

HASS.Agent

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

Join

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? πŸ˜„...

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

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

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?

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 πŸ™‚...

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?

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 πŸ˜„

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

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.

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

Possible to switch users?

Hi everyone! Is it possible to switch / log in a user from HA? I have an older Surface Pro which is used by all family members. I'm thinking about using it as a HA dashboard when it is not in use. My idea is, anybody can grab the computer with its own user and when the computer is idle but connected to power, The user is automatically switched to the HA dashboard user. Maybe there is another way to achieve somthing similar, but I did not find a solution yet....
Solution:
You can't change which user is logged in due to security concerns in windows. You would have to make every user logout and login to an admin/ha user when they are done unfortunately.

Can't send notifications

I deleted all of my computers from the original HASS.Agent integration and restarted HA. The integration was gone and MQTT found all of my computers. I then installed the forked version via HACS custom repository. I then hit the configure button for all of my computers. However if I try to send notifications the notify service has not been configured automatically. HA can't find service notify.PC_NAME. When I look at MQTT Explorer under hass.agent I see them under devices and media_player but nothing about notifications. I have the most current version of HASS_Agent on my pc and the notifications test is working. Any suggestions on how to get this working are greatly appreciated....

Jatoxo - Integration device name mismatch

@Jatoxo
Solution:
Then you need to use something like mqttexplorer to go into the hass.agent topic and clear the old data