@daice said in Pimatic phone icloud error:
I have another question. Would it be possible to trigger the position of an device by a rule and not with a interval? This could save a lot of accupower on the phone. I’m thinking of situations like, when i’m at home and my phone is connected by wifi i don’t need the gps location service and use this service only when i’m not connected to my wifi.
regards daice
Assuming you are talking about an iOS device, I would take this as an interesting feature request. I see at least two different solutions: (a) let the pimatic-phone plugin check if the device is available and suspend iCloud requests in this case (b) use pimatic-ping plugin to check device presence and trigger a rule to suspend location updates through a new API call to pimatic-phone. Both require you to configure your DHCP-Server/WLAN-Router to use a static IP address for your phone.
The situation looks completely different for Android devices where the phone itself updates it’s location directly via an API call to your pimatic server. You can use tools and apps as described in the documentation to handle location updates with very low power consumption.
Maybe, someone develops an iOS app which uses the pimatic-phone API for efficient location updates without the need of periodically iCloud pushes.