I’ve a friend who visits often, whom I’m not asking to install the home assistant app. I’ve been tracking his here/not here status using the TP-Link Omada integration, but after he’s not here for a while, his entire device_tracker entry disappears. I have him set up as a Person in HA, and after a while of not being here, he’ll arrive and I get no notification. I go to check his Person entry in HA, and the devices ‘that belong to this person’ list is empty. I’ll add him, and everything that should happen when he arrives suddenly goes off. He leaves, and the ‘he left’ automations trigger. But then a few days later when he comes back, nothing happens and the devices attached to his ‘Person’ entry is empy again.
When I check the history of device_tracker.my_friends_phone, it just does not exist until suddenly he appears as ‘home’.
So I guess first, anyone know how to stop the Omada integration from deleting his entry? And if not, I’d like to make a custom template tracker that says he’s not here if his entry is unknown or not_home, and here if he’s ‘home’. I ask the second part because the HA docs for the device_tracker entity are, well, bad.
You may be making certain assumptions that may not be true in reality. While you may have the best of intentions, your actions could be constituted as stalking or invasion of privacy if unknown to your friend, and illegal in some jurisdictions.
Are you basing his presence on a ever changing MAC address used to connect to your network via their phone?
Hint: most modern phones, by design, change their MAC address on network reconnection, specifically to avoid tracking and stalking.
Yes, this feature can be turned off, but it involves changing phone settings.
He may not be disappearing, just changing.
Solution: You may need to hold down your chameleon friend to have the dog microchip surgically implanted. Alternatively, use an iTag tracker.
Considering that IOT7712’s “Attention-al” Post IS truth( i actually don’t know how it is in US ), i maybe should not answer your Post / Answer you
But somehow you have givin your friend access to your wifi, othervice his Phone would not be registered in Your Router, Unless your have decided to register any Devices which tries to get an IP-number from your Router
As his phone might report a i.e Name, you can use this, instead of i.e Mac/IP, and Your Router’s setting “release of the IP” causes it to “vanish”, you can also use as mentioned above, but also a template-sensor, Where the Name of the “phone_name in a device_tracker” , == his/her phone , on/off
Guys, it’s not an invasion of privacy to track a phone home/away status on your own network. You get this information from your router anyways. So please, let’s drop the white night mentality and just answer the question.