I have a device tracker for my car (from bmw connected drive integration) and I would like to detect when the car is parked. My idea was to detect when the device tracker is not changing the position for a certain time but I’m not sure it is feasible or not.
The device tracker has the following attribute:
source_type: gps latitude: xxxxxxxx longitude: xxxxxxx gps_accuracy: 0 car: 320e vin: xxxxxxxxxx direction: 224 attribution: Data provided by MyBMW icon: mdi:car friendly_name: 320e
I can check when the device tracker was updated but it’s not really the same. If something else that gps location changes it will also be considered as an update.
What would you do to detect that the car is parked ?