Thanks for this! I got it working this morning and tested it. My son left and it didn’t update for about 30 minutes. Is there a way to refresh faster?
Edit: looks like it is a bit random actually. Works “well enough” for sure.
Thanks for this! I got it working this morning and tested it. My son left and it didn’t update for about 30 minutes. Is there a way to refresh faster?
Edit: looks like it is a bit random actually. Works “well enough” for sure.
If you are tracking apple devices and you can give them fixed IP addresses on your network, I would strongly recommend the iphonedetect integration. It is still based on WiFi connectivity but works even when the phone is asleep and 60 seconds can be used as a reliable timeout for home/away detection.
I have a funny problem
I need to create an automatization based on the presence or non presence of a smart phone from Nokia. All other Automatization are based on either iPhones or normal androids, and they work perfectly.
The Nokia phone is showing up in the UniFi network app from UniFi, and I can see its mac address in there.
But when I go to Home Assistant, and look for that previously found mac address, it’s just doesn’t show up.
Any idea what I could do?
I just found the answer. Usually I am looking for device_tracker.unifi_mac, now I have to use default infront of the MAC address…
The bit I got stuck on with UniFi presence detection was I tried doing an Automation starting with Device (and choosing my mobile phone, then Home & Away.
You need to start with Entity > State > device_tracker.mobile phone name
I’ve got it Arming & Disarming Alarmo.