Person status updates - new option on how to merge statuses of device trackers

I think using the last status change of any of the devices linked to a person leads to incorrect results. I’d like an option to merge or combine the statuses of linked devices to represent the status of a person.
I have added two device trackers for a particular person. Specifically I have used bluetooth and the Unifi device trackers to track a particular phone.
I have added both these using the hass.io front end to the person.
But, as the documentation says, the state of the person is the state of the last change of one of the components. The issue is that the bluetooth has less range than the wifi tracked by the Unifi component. So when the phone goes out of range of the bluetooth, the person gets marked as away, even though the Unifi device tracker still says that the phone is in range.

So, would it be possible to have an option where the state of the person is a logical OR of the states of the linked devices?

In my case, it would mean if either of the wi-fi or bluetooth device trackers detect the phone is “home”, the person status will be “home”. And the person status will remain home until both device trackers indicate “away”.

I would like to add to this that other devices may be used for person tracking. I have set up RFID tags for door entry. When an RFID tag is presented I want the person to which the tag belongs to be marked as presence for a given time.

I feel the same way… I multiplied the devices tracker to make sure that when any of those see me home, I am considered at home. Until then I will use template sensor.

I tried setting up a group, where you can define any/all for whether the group is active if any of the members are active.
But then I tried using the group as the entity for the person, but it did the like it - the hassio front end gave an error when I tried using the group’s I’d.

1 Like

Already better than my template sensor :smile: as well when both does not work to be under person.

I’ve got the same issues while using google maps component & wifi device tracker.
even if I’m still at home - when my wifi disconnects [for example: my phone turns off wifi while I’m sleeping - thanks to tasker automation] home assistant turns me as “not_home”.

maybe adding some kind of “priority” setting could help?

also, it would be nice to have a possibility to show a person on the map. this is how I understand “grouping” device trackers into a “person” component - also to show it on the map :slight_smile:

Hi there,
I also would like this.
I’m using iOS device tracker, but sometimes the location “hangs” right outside the home perimeter (we are located between cellular antenna’s). I tried adding an NMAP tracker, which is much more correct for “home” state, but gives false away-states when wifi on our phones is sleeping.

@pnbruckner wrote a custom object to combine states, and that component discards the away states from entities like NMAP and Router.
It would be nice to be able to do this native in HA, instead of using custom components.

Even better: when adding a MAC address to an iOS/Android device tracker, it would be nice if there was some logic to combine these 2 together.

To illustrate things this is what I would like to become:

1 Like

Thanks for mentioning my custom component. But unfortunately you provided a link to a different tool. Here is the link I think you meant to provide:

Oops sorry
At least it was another tool from you :slight_smile:
I changed the link in my post

1 Like