Setting Up Presence Detection

I configured Presence Detection, and something does not work. It detected all phones that I configured and detected the correct zone - Home.

This morning I took my daughter to the summer camp and she is about 20 miles away. When I checked in HA, it shows that she is no longer home and her picture on the map and her coordinates about two miles from home. I restarted HA and it fixed the problem for my daughter’s, but the other two phones are not on the map. Both phones are home and HA’s main screen shows that phones are home, but not on the map.

How do I fix it? Can someone help?

This is part of my configuration file:

Presence Tracker

mqtt:
broker: *****.cloudmqtt.com
port: 555555
client_id: HA
keepalive: 60
username: ***********
password: ***********

Owntracks

device_tracker:

  • platform: owntracks
    max_gps_accuracy: 200
    waypoints: True
    waypoint_whitelist:
    • Phone1
    • Phone2
    • Phone3

#Zones
zone 1:
name: Home
latitude: 55.55555551
longitude: -77.7777771
radius: 100
icon: mdi:account-multiple
zone 2:
name: MyWork
latitude: 55.5555552
longitude: -77.777772
zone 3:
name: MiddleSchool
latitude: 55.55555553
longitude: -77.7777773
radius: 250
icon: mdi:school

This is my known_devices.yaml file:
phone1_p1:
hide_if_away: false
icon:
mac:
name: Phone1
picture:
track: true
vendor:

phone2_p2:
hide_if_away: false
icon:
mac:
name: Phone2
picture:
track: true
vendor:

phone3_p3:
hide_if_away: false
icon:
mac:
name: Phone3
picture:
track: true
vendor:

Thank you.

If the other devices are “Home” they do not show on the map.

The location changes on the phone, but not in Home Assistant. It does not change neither on the main page, nor on the map.

Can someone help me with this?