Location request

Hello,
I have last version of the ios 17.0.3 and last version of the ios app 2023.7.

I see in the notification bar really often request for location, however I am still on the same place - home and zone is also home.

Please see the log file from the app Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.

Do you have an idea how to eliminate or set a timer for location request?

do you mean this?

- service: notify.mobile_app_<name_of_phone>
  data:
    message: request_location_update

I have it as a script that is called from a button on my dashboard (and also from certain automations - eg: when front door is opened to ensure))

I don’t have script in my home assistant with request on the location.

Oh, I thought you were asking how to create a location request. …it doesn’t have to be in a script, it can be in an automation as well.

Do the logs tell you what is calling for the location request?

Is it the app asking for permission to get location rather than the request for location itself?

The main problem is that in the notification bar is really often the location icon because the home assistant location request. And I have no idea why it is soo often, once / 5 min??

In the settings of the application I have:
Location access always
Location update on background allowed

However, in automation I don’t have nothing with location request.

I thied to reinstall app, the result is same :frowning:

Is there anything ion your logs?

In the logs is really lot of things to the location, it is hard for me to understand to it.

In the first message is the link to log file, could you please check it?

This might have something to do with it:

2023-10-15 09:59:50.719 [Error] [main] [HAAPI+RequestHelpers.swift:15] handleResponse(response:seal:callingFunctionName:) > Error on GetMobileAppConfig() request: responseValidationFailed(reason: Alamofire.AFError.ResponseValidationFailureReason.unacceptableStatusCode(code: 404))
2023-10-15 09:59:50.722 [Info] [main] [HAAPI.swift:415] GetMobileAppConfig() > ios component is not loaded; pretending there's no push config

I’m not educated enough to understand what that means (it appears to me that HA cannot access your iPhone, but not really sure). Hopefully someone else can jump in - sorry. How are you running HA (is it HAOS, what hardware)?

I am running home assistant on the Intel nuc, there is proxmox and Home assistant os in vm.