I use espresense and an ibeacon, as the only device tracker for my person entity.
In automations, I use the if zone.home > 0 condition - but since 2026.7, this is broken because my device tracker is no longer showing up in the correct zone.
My person shows as home, the device tracker shows as home, but neither have the zone set, even though the device tracker has the associated zone.
Same issue for me. No persons in zone and the count is always 0. Happens since 2026.7. Obviously breaks various of my automations. Home zone covers the location of my house. I don't get why this suddenly broke. Any ideas how to fix it?
Can you use MQTT Explorer to investigate what json attributes are being published by ESPresense?
If it has an in_zones attribute than all you need to do is update your mqtt device tracker to obtain that attribute.
If it does not then ESPresense needs to be updated. Until then you could use a Template device tracker to update the in_zones template option from the mqtt room data.
More information please. We wouldn't know what your map card would be, nor what exactly the 2 "things" they are. Are you saying you have a person card inside a map card (??) And if P2000 is not a person card, what is it then?
Let's start with your map card config in yaml. Edit the card, and go to Code Editor of the card, and copy & paste what's in there with proper format in your post.
Ahum…
Person> tracking
P2000 tracker
P2000 is an intregration for tracking police etc fire department
Etc 112…
Device tracker person works flaffless…
The p2000 ain’t anymore…
And is pointing to Africa instead my neighborhood…
And…last not least flightradar24 tracker is dead for months now
I also use the companion app’s location tracking and the phone’s Wi-Fi detection. All three of these ensure that my presence is reliably tracked.
Before, it seemed to me that if the Wi-Fi or the tag was detected at home, the person was marked as present even if the app didn’t detect them at home. Since the update, I get the impression that if the app no longer detects the person at home, they’re considered to be outside. Have the priorities changed?
Hi, i don’t know much about code. But i had problem with the way HA “read” the code. You need to put json between ’ '.
For your wifi thing, i had the problem too. Wifi and BLE are on the same level of priorities. But it keeps alternating between Wifi that has “in_zones” and BLE that doesn’t. It only takes the last one. So even, you’re still in wifi=home if you were on BLE and it’s not home for the last time, it considers you’re out.
Hope i’m clear .. anyway solve your BLE problem or disable it and it will be fine
Actually, my problem isn’t about Wi-Fi or BLE, but rather the fact that before, when a person’s device tracker was still at home, that person would show up on the map. Now, it seems to me that no matter what happens, the companion app’s location takes precedence.
yes that what I’ve done “my zone.home longitude” is just to explain what I put. Try with none without '. Thanks
EDIT :
I did that and it works really well (but if you have any suggestions for improvements, I’d love to hear them too…) :
Zones :
{{ ['zone.home'] if 'on' in [
states('binary_sensor.olimex_bluetooth_proxy_033cc4_chipolo_blanc'),
states('binary_sensor.olimex_bluetooth_proxy_046ec4_chipolo_blanc'),
states('binary_sensor.olimex_garage_chipolo_blanc')
] else [] }}
Lattitude :
{% set is_home = 'on' in [
states('binary_sensor.olimex_bluetooth_proxy_033cc4_chipolo_blanc'),
states('binary_sensor.olimex_bluetooth_proxy_046ec4_chipolo_blanc'),
states('binary_sensor.olimex_garage_chipolo_blanc')
] %}
{% if is_home %}
{{ state_attr('zone.home', 'latitude') | float(0.0) }}
{% else %}
0.0
{% endif %}
Longitude :
{% set is_home = 'on' in [
states('binary_sensor.olimex_bluetooth_proxy_033cc4_chipolo_blanc'),
states('binary_sensor.olimex_bluetooth_proxy_046ec4_chipolo_blanc'),
states('binary_sensor.olimex_garage_chipolo_blanc')
] %}
{% if is_home %}
{{ state_attr('zone.home', 'longitude') | float(0.0) }}
{% else %}
0.0
{% endif %}
However, we still have the issue where the sensor is always detected as present, but the person is marked as absent because the companion app sent a GPS location that’s far away. This might seem like an unrelated issue, but I think it would be good to have the option to choose the tracking_type again.