Doesn't open
i download the new version from "https://www.hass-agent.io/latest/getting-started/installation/" but it doesnt open the istaller. i tried it as admin and also closed the old version.
Solution:Jump to solution
can you launch cmd/powershell as administrator and then run
HASS.Agent.Installer.exe /LOG="install.log"...
24 Replies
Help us Help Others!
To help others find answers, you can mark your question as solved via
Right click solution message -> Apps -> ✅ Mark Solution
Help us Help You!
Please don't delete messages or posts because it makes it impossible to understand what happened. If you don't want your messages to be seen then don't post here.
Please provide us with the version number of your client.
You can find it in the HA device info page after 'Firmware'.Make sure to provide detailed reports of bugs.
Please include error log uploads and info about the bug.
@Amadeo
So you've downloaded the installer exe and after double clicking it nothing happens?
just the liddle loading icon beside the mouse. but this also vanishes in a few seconds. i also dont see anyting in taskmanager afterwards
if it helps in any sens. i had to autostart the old version via task sceduler with admin rights. otherwise also nothing happend
That's not normal
Do you have any custom/strange settings related to widows UAC/administrative rights?
no nothing that i know of
After double clicking the installer a UAC popup should be shown by windows asking for administrative privileges to perform the installation
The thing that worries me is that you had to launch original hass.agent (not it's installer) as admin
evan if i launch it manualy it asks me for admin rights. if i go to properties the checkmark for "lanch as admin" is checked and grayd of. so i cant evan change it
Solution
can you launch cmd/powershell as administrator and then run
HASS.Agent.Installer.exe /LOG="install.log"
it should generate a log file
i need to this in the folder right?
?
cd to the folder of the istall file
yeah
if the install.log won't be there try also with
/LOG=".\install.log"if that also won't work we'll try full path
ok now it started ???
I think your UAC setup has some quirk/issue
if starting it from already elevated context (administrative console) worked
yes now it worked. i evan have already deleted the old version. i just needed to new bind the ports for the local api with the button in the settings. thx for your guys work. i dont evan need to task scedule your version. it justs starts like it schould with the setting.
good that it worked 😄
thx for the help. but a bit offtopic. i still get the prefix warning in home assistant do i need to change some things manually to now?
yes, HA complains about "device name" being part for the "entity name" (I'll need to put that in a FAQ somewhere :D)
you can either run (while HASS.Agent is turned off)
HASS.Agent.exe compat_namesfrom an elevated cmd/powershell (notce: not the installer, the exe of HASS.Agent itself in the "appdata/local" folder where it was installed) which will try to automatically remove the device name from entity names (there are sanity checks so it won't blatantly break your config) wherever possible or you can manually remove the device name from entity name by editing sensor/command, so instead of
SUMPC_cpuloadyou'll need to set
cpuloadI'll ping you in a topic that this was also discussed 😄
perfect thx.
@zuldero There is also now guide available here: #entity-names