narsaw
February 17, 2021, 11:08pm
1
I am using the official HA iCloud integration for iphone device trackers.
I noticed that the account_fetch_interval
is set to 30 minutes which means the device location is polled once every 30 minutes?
source_type: gps
battery_level: 18
latitude: xx.58346143712715
longitude: -xxx.40431105354229
gps_accuracy: 32.44831935179608
attribution: Data provided by Apple iCloud
account_fetch_interval: 30
device_name: iPhone 11
device_status: online
owner_fullname: Full Nam
battery_status: NotCharging
battery: 18
low_power_mode: false
friendly_name: User iPhone 11
icon: 'mdi:cellphone-iphone'
Can this be changed to be more frequent, say maybe every 5 minutes?
narsaw
February 18, 2021, 5:42pm
2
I learned on the HA Discord that the service icloud.update
that can be called from an automation. I can use a time_pattern of say /5 minutes but worried about battery drain.
So I am still w/o a solution.
1 Like
Jorggs
(Jorggs)
October 10, 2022, 9:11pm
3
Did you ever find a solution for this?
miles267
(Jason)
January 8, 2024, 2:59pm
5
Looking for a similar solution. Has anyone found one?
Anyone know a solution to changing polling interval?
I was previously using this in an automation, and I believe it worked, however it seems to drain the battery which made rely on HA app instead.
alias: Update iCloud
description: ""
trigger:
- platform: time_pattern
minutes: /15
enabled: false
condition:
- condition: state
entity_id: binary_sensor.somebody_is_home
state: "off"
action:
- service: icloud.update
data:
account: YOUR APPLE ID
mode: single