Geofencing


#1

Hi, I was just wondering: in some of my automations I use the ‘geofencing’ capabilities of the device_tracker items. I noticed that when I track a iphone, and use its, icloud address, it switches to the ‘gps’ source_type. This often goes wrong, when for example I try to track a phone that has mobile data turned off. When it leaves the WiFi range, and has no mobile data signal, the gps tracker keeps the last position, which does not get updated.
Is there any way around this? Can I turn off the use of the ‘gps’ source type?


#2

Perhaps a template sensor that checks for the gps attribute?


#3

Good idea, I will try that. Do you have an example?


#4

I’m sorry, not really. Nothing that is based on a device tracker.