For my campervan build I added an ATGM336H GPS sensor via an ESP32 and ESPHome. Got an entity for latitude/longitude etc, all working, so far so good
(sensor.test_gps_latitude, sensor.test_gps_longitude)
But now I’m struggling for a day to create a device_tracker with these entities, searched and tried everything, tried chatgpt, but I think I miss something (braincells ).
I need to add the device_tracker in configuration.yaml, but the correct way to do this for such a sensors, I can’t get it. Anyone an idea?
Thanks for your help! I saw both earlier but didn’t quit understand it could solve my problem. But I’m a step further now, I created an automation to call that action, with device_tracker.see, first with latitudes and longitudes from nearby as fixed numbers. With that there is a tracker I could select to my ‘person’ named Camper.
It was showing on the map, so far so good. But now I want to take the coordinates from the sensor, so I changed it to: