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 😄
48 Replies
I have just tested this build https://github.com/amadeo-alex/HASS.Agent/releases/tag/2.1.0-beta3-service-sensor-settings2
GitHub
Release 2.1.0-beta3-service-sensor-settings2 · amadeo-alex/HASS.Agent
Please do not download files from this "release"
It's only purpose if to provide testing bed for the insiders/issue reporters.
Unless explicitly instructed by the developers, please d...
and it saved the sensors properly: https://b.chihi.ro/hSMtkg.png
Thank you for the segregation.
Is this one different than the one I installed a week ago?
but since previously it didn't for you I think (unless you've used a older one) I'd like to ask you to try again with installing it and then testing
Looks like the same binary. I'll try it again this evening and respond here with the results.
if it still fails I'll give it a day of thinking and if nothing comes up we can have a chat or something so I can see it live (only if you'd be up to it of course)
Should I uninstall the version I have installed before running the new installer?
no
shouldn't be required
you've installed it into the default paths that installers suggest?
Yes
Hey @Amadeo, I just installed the new version and I tried to add the
cpuload
and it still doesn't send it to HA.When you navigate back to the satellite sensors, is it there?
Are the mqtt messages of this sensor visible in MQTT.Explorer?
when I close the sensor window and immediately open it back up the
cpuload
sensor I just created is gone.
I launched MQTT Explorer and connected to my MQTT host but it's weird, I don't see all the sensor data in the MQTT Explorer window...
this is the whole string for Deckard, my computer with HASS.Agent on it.you should have a topic like this "homeassistant/sensor/AMADEO-PC-satellite" - with different device name ofc - that contains the sensors for example (and same for commands)
one more thing
oh my could you please screenshto me the modification dates of exe files for both client and service?
I think I know why it fails
oh, no the 2.1.0-beta3-service-sensor-settings2 linked above already has the installer fix
but the screenshots would help anyway
it looks like this one is old, it's from C:\Program Files\HASS.Agent Satellite Service\Service\
Here's the
HASS.Agent.exe
file:thanks for the path to the mqtt item! it looks like I have the sensor defined in the mqtt and it's getting updated but it isn't defined in the satellite service.
in theory the "June 26th" is correct, what gives then
and why in the world I cannot reproduce it
what timezone are you in? I'm closer and closer to proposing a call (or just a screen share with text chat if you'd prefer) because I'm starting to run out of ideas
I'm in MDT
I wonder if I need to remove it from MQTT retained messages so it adds properly in the sensor window.
actually, it doesn't look like it's removing any of the old retained values... from my testing with lots of different names... interestingly after a reboot I don't see cpuload on there now:
every value in the list shows a datestamp for right now... even though they don't exist in the satellite sensor window.
I went through the MQTT list with explorer and removed all the stuff that shouldn't be there. It seems trying to remove the
lastboot
value, the satellite service just puts it back.I don't have
lastboot
in my list of sensors for the satellite, I guess it must be one built-in sensor.
ok, so after removing all the chaff, I checked my satellite service list and there was no cpu_load
so I added it and watched everything. I can see that it wasn't added to the MQTT explorer and nothing showed up in HA-->Settings-->Devices & Services-->MQTT-->Deckard. I think the old values that I found in there were created by an older version of the application or something.I'll be hones
that doesn't make sens
I mean not that I don't belive of course 😄
but in terms of "how could this happen"
last what I can suggest is to fully uninstall hass-agent & satellite (and to make sure the folders where they were installed are empty) and then installing again
because for the life of me I cannot reproduce it
I'll give that a try. Should I use the binaries at this URL? https://github.com/amadeo-alex/HASS.Agent/releases/tag/2.1.0-beta3-service-sensor-settings2
Yeah
Or https://github.com/amadeo-alex/HASS.Agent/releases/tag/2.1.0-beta3-testbuild1 as an alternative (bleeding edge build)
GitHub
Release 2.1.0-beta3-testbuild1 · amadeo-alex/HASS.Agent
Please do not download files from this "release"
It's only purpose if to provide testing bed for the insiders/issue reporters.
Unless explicitly instructed by the developers, please d...
I uninstalled everything and was checking the directories and manually removing anything left and it wouldn't let me delete
C:\Program Files\HASS.Agent Satellite Service\Service\HASS.Agent.Satellite.Service
because it was 'in-use' even though the service had been stopped and removed! Anyway, I restarted my computer and deleted it after that but I wonder if that could be causing some issues if the installation app isn't able to replace the file because it's in use.
lol, after installing everything and then trying to add the cpuload, the problem persists and never makes it to Home Assistant. 😦That's strange, if service is stopped there shouldn't be anything using the files (unless some logs/config was open in text editor)
And it's not visible in the ui I assume?
If not, let me know when (including timezone :D) you'd be up for a call or just screenshare - that's the last I can do to investigate it
Yeah, when I add it, it shows up in the window but doesn't appear in Home Assistant, if I just close the Satellite config window and reopen it, the entry is gone.
What timezone are you in? I'll see if I can organize something that works for both of us. I'm at work at the moment but later this evening might work, if your time is okay too.
CEST aka GMT+2
it's 20:42 here atm
I'm thinking maybe this Saturday morning MDT if that timeframe works for you, it should be your Saturday afternoon, I think. My 8am = your 4pm, I think.
might be later than 8am/4pm, turns out I'm getting to bed really late. 😕
I'm out today but if I'm back in sensible hours (waf) I'll ping you 😄
And if not then maybe tmrw
that sounds good.. turns out I got up at 6am anyway. lol
I had some unexpected events going on
will try to catch up with you during the weekend
apologies
no worries @Amadeo. If you think of anything I can try in the meantime, I'll do it.
I've found more issures regarding saving commands and sensors of satellite service
I'll be included in 2.1.0 full release
which should happen today
let's see if this changes something
I installed the 2.1.0 release from here: https://github.com/hass-agent/HASS.Agent/releases/tag/2.1.0 and after installing the agent and satellite service, I loaded the sattelite settings and tried to add the
cpuload
and, sadly, it still doesn't show up in Home Assistant after hitting the "Send & Activate Sensors" button. 😕damnnit
does it at least stay in as configured one within hass.agent ui?
or it dissapears?
oh, let me see...
yeah, when I hit "Send & Activate Sensors" nothing happens on the HA side. Then I just close the Satellite Service Configuration window and reopen it, navigate to the Sensors tab and the entry is gone.
I don't need to change the configuration of
cpuload
, at all - take defaults.could you please go to the satellite service installation path and check the newest logs for something like this:
?
yes, I see it:
2024-09-28 07:05:03.842 -06:00 [INF] [MAIN] Version: 2.1.0.0
in this file:
C:\Program Files\HASS.Agent Satellite Service\Service\logs\2024-09-28_HASS.Agent.Satellite.Service_20240928.log
I noticed something else -- I'm trying to get the media player working but I'm having a hard time getting HA to not show it as 'unavailable'. When I try to perform a reload
on the HA device, it seems to fail and lock up the component.with the latest update of Home Assistant it looks like the sensors are changing units on me even though I'm not messing with the service settings.
ok now I'm lost, the version is ok, I thought it didn't update properly...
one last try with this hunch - what is the modification date and size of the satellite exe file (in C:\Program Files\HASS.Agent Satellite Service\Service)(
it has a date of 9/27/2024 @ 9:26pm
ffs
yeah, I know. ðŸ˜
there was a similar issue on GH where the person basically wiped all hass.agent (only the forked one of course) and then installed again
supposedly it solved the issue
but why
I still need to know why