Open andjo opened 1 month ago
2024-09-28 16:47:16.792 +02:00 [ERR] [SETTINGS_COMMANDS] [sleep] Unknown configured command type: RadioCommand
2024-09-28 16:47:16.792 +02:00 [ERR] [SETTINGS_COMMANDS] [shutdown] Unknown configured command type: WebViewCommand
That's interesting to say the least? Investigating :)
I couldn't replicate this so I took a look at the logs again
2024-09-28 16:47:00.383 +02:00 [INF] [MAIN] Version: 2.0.1.0
What we should see is
2024-09-29 15:28:14.442 +02:00 [INF] [MAIN] Version: 2.1.0.0
That means the client and satellite version is not matching, did you install the satellite service while doing upgrade? (The second installer). I might have a clue of what happened but need to ask some questions to confirm it.
Yes.
Tried to update again, and it appears like the service is installed, but what I have in C:\Program Files\HASS.Agent\Service\
is still 2.0.1.
Is there an installation log somewhere?
Ah, I see it has changed location. The old service is still the one running though.
When you upgrade the old service should be replaced by a new one (old from the fork, the forked HASS.Agent won't touch the original one so if both of them will be there and only one should be running) You went from 2.0.1 straight to 2.1.0 or from one of the original versions?
I have been using the fork for a while now, and upgraded from 2.0.1 to 2.1.0.
Resolved the issue by uninstalling both "HASS.Agent" and "HASS.Agent Satelite Service" via windows settings. Then downloading the 2.1.0 release manually and installing that from scratch.
After that I could again reproduce the issue by uninstalling everything, installing 2.0.1 from scratch, and running the update via "Check for update".
Funny observation after the upgrade:
🤷
Thank you for the information I'll try to replicate this.
Describe the bug Can't create Shutdown or Sleep commands in the satellite service. It appears to be working, but after reopening the configuration they are gone and there is an indication of why in the log.
To Reproduce Steps to reproduce the behavior:
Expected behavior Sleep and Shutdown command present and working.
Screenshots
Misc info (please complete the following information):
Windows build (ideally screenshot/info of
winver.exe
output):Windows' UI language: English
HASS.Agent version: 2.1.0
Please check what's applicable (multiple answers possible):
Additional context Modifying existing commands from previous version also did not work as expected, so I removed them and tried to recreate.
162 might be related.
Logs