HA Companion App doesn't report some item to the Server

Hi all,
I’m quite new to HA, before writing this topic I triend to found some advise on the Web but all of them were involving the right configuration of the companion app on the mobile device. I followed all the suggestions (i.e. for getting the right to execute in background, to avoid battery saving issues, etc.) but what I have so far is that the App doesn’t report correctly all the enabled items to the server.

And this seems depending on the mobile phone, on S20/S22 is quite good but for example on Samsung M13/Redmi /A only some items are correctly reported but others appears as “unknown” where instead if you look on the App they have a correct Value.

Any clue? Something I missed to check? The strange point as said is that only some of them are updated correctly other not.

Thanks in advance.

Sensors with unknown state will update next time they get a state update.

Hi dshokouhi,

thanks for your feedback but I’m monitoring for several days and also trying to trigger some sensors to update (i.e. like disconnecting the WiFi for example and reconnecting it) but no change reported on the server (an RPI) whereas locally on the App they’re correctly updated.

check companion app logs for errors after reproducing the issue

Settings > companion app > troubleshooting > show and share log

Hi dshokouhi,

I had a check on the logs but it seems that beside the location updates and step sensor in the logs the other sensors/parameter dosn’t explicitly appear. Btw also on the location update the log were diffferent on S20 (working) and Redmi7A w/o a real reason. So I uninstall the HA App on the Redmi and when installed again I got the updates.
In any case there are several parameters not correctly exported by this model (Redmi7A) like the WiFi signal which is always = -1dBm or the WiFi Frequency always = 0 but this is another problem not related to the topic I opened.

KR

we had a fix for this actually https://github.com/home-assistant/android/pull/3970 currently in the app beta and will be part of next release

Thanks for the prompt answer.
Any way to try the app beta? … or when is the new official HA app release foreseen?

The same doesn’t happen on other android devices like S20/M13 for example maybe depending on the android version.

Thanks again

beta link can be found in https://companion.home-assistant.io/docs/core/android-flavors

there is no set schedule but we may be cutting a release soonish not sure on the date.

yes some devices do not play well with the new APIs while others do which is why we had to keep using the deprecated methods. No 2 android manufacturers implement things the same unfortunately. Not all manufacturers follow android documentation.

Hi dshokouhi,

for the beta testing I subscribed, I have already the APP installed. I should receive an alert via app to upgrade it right?

KR

no you should see the beta update almost immediately or as soon as teh registration finishes. We do not prompt to update in app, at least not yet :slight_smile:

Understood, thanks “beta sign up in progress” on Google Play …

Good with this version also the old Redmi7A shows the parameters correctly
image.

Thanks a lot.

PS) I exploit your kindness to ask for another problem I’m fighting since a couple of days in another topic I’ll open shortly.

1 Like