I have another quick question. I have 2 zones: Home and Work. When I am at home my state is “home”, however when I am in the “work” zone, my state shows as “not_home”. Is that working as expected? Secondly, am I correct to assume that if I do want to change that I would need to use an automation to do that? Something like:
If you have a properly defined “work” zone, and your device tracker properly identifies you as in that zone, the location will automatically change to indicate your presence in that zone.
The zone should appear on the map, and your icon should appear near or in that zone (except the home zone where your icon disappears). If it’s not working that way, try increasing the radius on the work zone.
What is your device tracker? Owntrack? I had similar issues when I had both nmap_tracker and owntrack configured. Now I am using only owntrack for the family member devices and only use nmap for guest devices. It is working properly for me. You do not need that automation.
If you use owntrack, are you sure that you can communicate with your mqtt server from outside of your home network?
I believe we need more information from you to solve this.
Near the top are the two devices, I’m Home, Laura is at Laura’s House.
A few lines below is the group, it’s home because I am. If I drove to Laura’s house now, the two individual trackers would be Laura’s house, but the group would just be Not_home (because it’s only bothered about whether somebody is home or not). In the same way, I could be at my work place, Laura could be at hers. The individual trackers would say our individual work locations, the group will be Not_home.
I’m using OwnTracks for presence. Here’s my groups.yaml config (relevant part)
chris:
name: Chris
entities:
- device_tracker.chris_iphone
megan:
name: Megan
entities:
- device_tracker.megan_iphone
family_info:
name: Family Info
entities:
- group.megan
- group.chris
- sensor.megan_location_to_home
- sensor.chris_location_to_home
Here’s a screenshot from the iOS app. You can see it is clearly finding that I’m at Stepping Stone (the zone), however if you look in the top area the panel is showing that I am “not_home”. How can I get the panel to show the zone?
3 - setup your zones, I assume you know how to do and the end results would be something like this:
As you can see it knows that I am on a known location called “My Zone 2”, my wife is not in a zone so her state is “not home”. If I home it shows home… The default group.all_devices only has a “home” and “not home” state which is great for automations… Hope it makes sense.