Phone information not updating in HA

Tags: #<Tag:0x00007f739eb4a5c8>

Hello All,

I have had a whirlwind introduction to Home Assistant and it’s been a great few weeks. I can see how I’m going to build my home around this wonderful piece of software and have also signed up to the Cloud service which has made Google Home integration and absolute breeze.

I have an issue however with the data collected from my iPhone. The data seems to be collected on first install of the app but is then never updated.

There is a field called ‘Last update trigger’ which is sitting on Initial still after 2 weeks now. I have uninstalled and reinstalled and that doesn’t fix the issue.

The location seems to update ok - in that I am able to see my live location on the map (checker that last night while I was at my sister in laws house) but everything else doesn’t. Still showing my steps, battery life et al etc from the first install.

Am I missing some crucial step to force the data to be updated? I have checked that the app has all the access to the phone that it requires and also has permanent access to the device location.

What I am after here is giving HA as much data as possible from my phone to drive through tea about what I can do / trigger with that data so I’d like it to be as ‘Live’ as I can make it (ie if I dock the phone on the charger I’d like the data to update instantly etc).

Would also be interested in any other integration apps for the iPhone that are out there if anyone has any recommendations.

Thanks and nice to be part of another thriving community!!

Welcome!

This is actually a known issue with the current version of the iOS app. What happened is that Apple changed something at the OS level with the iOS 13.4 update which broke the way the sensors worked. If you were using iOS 13.3 the HA iOS app would work perfectly fine. But once you upgrade to iOS 13.4 the sensors will no longer update and have stuck values.

The problem has been identified, but Robbie (who is the sole developer of the iOS app) has a new job and has been busy with other things, so he hasn’t been able to release an update yet. Hopefully sometime in the near future.

Other parts of the app like device tracker and notifications still work, it’s just the sensors.

Hi Sean, thanks for the welcome and the detailed answer.

Are you aware of another mechanism of obtaining this data other than this app?

The Life360 integration is a solid alternative for some information. It has battery level (percentage) and battery state (charging/not charging) and some activity attributes (walking/driving/stationary).

Life360 only has a single device tracker entity though with all this information listed as attributes. So if you wanted dedicated sensors for them, you’d have to create Template Sensors. A bit more manual work involved compared to the iOS app which creates these for you already.

For the many other sensors like step count, SSID, etc you’re not going to find too many (if any?) alternatives for those. So hopefully the official Home Assistant iOS app gets fixed soon. It has more sensors than anything else and you can manually update them using automations which is a huge plus. Once that gets fixed, it’s the way to go IMO.

2 Likes

How do you update the sensors via an automation? I couldn’t find a service that would update those. Would it just be homeassistant.update_entity?

Hello any update about this topic?
Thank you

I have companion app on ipad and two iphones all running latest IOS 14.0.1. I have background refresh on for HA and location set to always, but sensors in HA won’t update in the background. They only update if I open the app.
Any suggestions?

Thanks!

Hi

I installed HA two days ago on a Raspberry Pi 4 and I’m having the same issue as described. Running the companion app on an iPhone XR, iOS 14.2 and background refresh switched on. However I only see updates for the sensors when I actually open up the app.

Any help would be massively appreciated! Thanks all