Home Assistant ios app not updating location

I’m considering a workaround using the Shortcuts app in iOS, and using the iPhone’s location to trigger a Personal Automation to update the location. What I need to figure out is, what action I should take…? I can call a service using Home Assistant, fire an event, or just about anything. What should that Shortcut do?

I feel I shouldn’t have to go this route, but it’s the only thing I can think of that might work consistently.

There’s a generic update sensors action that will update your location too.

I have tried that, but it’s not working… likely because I haven’t allowed Shortcuts app access to location info “Always.” I’ll change that and update this thread…

I would add your details to the bug tracker here: iPhone 12 (ios 14.6) keeps resetting location access from ‘always’ to ‘on use’ by itself · Issue #1697 · home-assistant/iOS (github.com)

1 Like

I reset my iPhone and it seemed to work.

Is anybody still experiencing this? My HA shows the device home but sensors always update, even shows the address. Seems it doesn’t register when I leave but updates as soon as I’m home (hence always showing Im home). iphone 14 here. The sensors work so well, the second I click “focus” or plug in the phone it updates. So close but I can’t get the location to update when I leave.

Is your HA server publicly accessible by your phone?

1 Like

It wasn’t but now it is. Testing today looks promising. Updating Home/Away correctly today. Thank you!

I use this script to send request_location_update to my sons iphone… but its not working!
What am I doing wrong?

I use this:

alias: Request Location Update
sequence:
  - service: notify.mobile_app_iphone
    data:
      message: request_location_update
mode: single

Elaborate.

Does the app permissions on that phone allow for location tracking and running in the background?

You can force a device to attempt to report its location by sending a special notification. The notification is not visible to the device owner and only works when the app is running or in the background.

Yes it does work, the trigger “Significant Location Change” is often the Last Update Trigger…
But when I send the request location update the last update trigger wont update to “Push Notification” and the location wont updat according to how it should work here:

1 Like