New Person component

Hello

I like the idea of this but not sure if I have it working as it “should” be? Setup as the instructions, but it returns “home”, “not_home”. Where as device trackers are “Home”, “Away” and Zone they are in.

I have hoped this would have used the zone you are in as the main status, i.e. I use owntracks and netgear wifi as trackers… and group them as a group durrrr… this only shows the status as away, not Work etc. I had hoped person would use the last tracker to update, i.e. owntracks when away from home and show the zone you are in as well…

Or am I missing the point please?

Cheers
Mark

I have a similar question. I setup 3 people each have 2 device_trackers iOS and Asuswrt but two people show as “Home” in states and one shows as “home”… watching to see what happens when people leave but I’m not sure how I should reference that in automations/templates etc. Does anyone know if it’s still just using “home” “not_home” in the background?

From the blog post:

This release does basic device tracker state merging, which will be evolved in the future.

My guess is they are working on this, and at the moment it is limited to home/not_home.

Currently my owntracks hasn’t updated and has me as “away” but my wifi is correctly reading me as “home” where my Person component is reading me as “home”. So it seems at the moment it is looking at all the device trackers and if any are home, it takes priority by default.

The last device to change sets the status. I added a bluetooth tracker to my person and it changed my status to away even though my unifi and gps trackers showed home.

1 Like

Yeah, that’s the documented behaviour. Don’t think that it makes sense to use the last updated device_tracker for the overall result, though. I have a laptop and a phone associated to my Person, connected by Wifi to my router. Once I close the laptop, I am not_home.

1 Like

@MarkR. if you take the device trackers out of the group and add them in individual it will work as you want.

I created a person via the GUI and linked it to a device tracker (asuswrt). The device nicely switches between home and not_home states as usual. However, the person always stays at ‘unknown’. Could this be a bug?

/edit: fixed after an additional restart of HA…

Is it possible to use photos for the person component instead of the generic image? And is it possible for it to be in the top row with the Home/Away label on the pic like when using the regular device tracker?

I tried that Adam… still shows as not_home instead of away and don’t show the zone you are in

Maybe it because you OwnTracks device Tracker updates first, which is the one that would show which zone you are in. Then after that you router tracker updates which would put you has not_home, as the person component uses the last state change. To test my theory take the router tracker out of the person tracker. Dose your owntrack tracker show the zone you are in correctly?

Hi All! I started playing with the Person component to see how it looks. I did a manual configuration in Yaml, and listed my Google Maps location sharing and LIfe 360 device trackers. When I pull up my map, I see 3 entities showing up, one for each of the device trackers and then the one for the Person entity. I tried changing the tracking to False on the device trackers, which (of course) broke the whole thing. :slight_smile:

Any idea how to suppress the two direct device trackers and only show the person on the map, or has that not been implemented yet?