Closed jwinston100 closed 1 year ago
I have always used device_tracker.fordpass_tracker
Please use the device_tracker entity. It has all the same details as fordpass_gps just layed out a lot nicer.
In my configuration.yaml, I created a template sensor from the GPS data and also a proximity sensor from that so that, for example, my garage door will open within a certain number of feet of my house when the tracker will still just say "Away".
Yep so instead of using that sensor use the device tracker attributes it still has all the same details as the removed gps sensor.
{{ state_attr("device_tracker.fordpass_tracker", "latitude") }}
{{ state_attr("device_tracker.fordpass_tracker", "longitude") }}
{{ state_attr("device_tracker.fordpass_tracker", "Altitude") }}
If you post your template code I'll happily edit it to work :)
In my configuration.yaml, I created a template sensor from the GPS data and also a proximity sensor from that so that, for example, my garage door will open within a certain number of feet of my house when the tracker will still just say "Away".
Yes! Please Share!
Yep so instead of using that sensor use the device tracker attributes it still has all the same details as the removed gps sensor.
{{ state_attr("device_tracker.fordpass_tracker", "latitude") }} {{ state_attr("device_tracker.fordpass_tracker", "longitude") }} {{ state_attr("device_tracker.fordpass_tracker", "Altitude") }}
If you post your template code I'll happily edit it to work :)
I see. Thank you, itchannel, I didn't realize the GPS coordinates were also stored in the device tracker.
gniknalu, here is my proximity sensor for the vehicle:
proximity:
ford_raptor_from_home:
latitude: {{ state_attr("device_tracker.fordpass_tracker", "latitude") }}
longitude: {{ state_attr("device_tracker.fordpass_tracker", "longitude") }}
tolerance: 50
unit_of_measurement: ft
@jwinston100 I'm assuming this is completed by moving to the device_tracker?
Yes, I'll close it.
I updated to the newest release, 1.57, and now my fordpass_gps sensor is gone. I have been using this is several automations.