Wireless networks
Wi-Fi presence
Which phones are on the house's Wi-Fi, with any router. No app on the phone, nothing to set on the router, no cloud.
What it does
- Asks the network every 30 seconds (ARP): an iPhone answers even asleep.
- Learns at once when a phone joins the Wi-Fi (DHCP), and its name (DHCP, mDNS).
- In Partner the installer picks each person's phone from the «on the Wi-Fi now» list.
- «Away» after a minute and a half without an answer, never at the first miss.
- Addresses stay on the hub. Only «home» or «away» reaches the cloud.
- In a house with UniFi it asks the console too (Network API, API key): a sleeping phone stays on the access point, so it stays home, with the name it has there.
Worth knowing
- A phone whose address changes («Rotating» on an iPhone) gets lost and does not count.
- A phone on a guest network or another VLAN is not seen.
- It says whether the phone is home, not which room.
- With UniFi: UniFi OS consoles (e.g. Cloud Gateway, Dream Machine), Network 9 and later. Tested against a simulated console only.
- Tested on real DHCP captures and a simulated network, and alone on a Mac. Not yet on a customer's hub.
Setup guide
Driver: systems.arvio.lan-presence. Local: it sees which phones are on the house's Wi-Fi, with any router. No internet, no account, no app on the phone and nothing to set on the router.
What you need
- The hub and the phones on the same Wi-Fi, not on a guest network and not on another VLAN.
- On every phone, a fixed address on the house's Wi-Fi. iPhone: Settings → Wi-Fi → the network → «Private Wi-Fi Address»: not «Rotating». Android: Settings → Wi-Fi → the network → «MAC randomisation»: off.
How to connect
Every hub with Arvio Core has it already. There is nothing to add or pair.
In Partner, open the hub and go to «Παρουσία» (Presence).
- Press «Ανανέωση» (Refresh). The list shows the devices the hub sees now, with their names and when they were seen.
- To tell which phone is which, switch Wi-Fi off and on on the phone. It comes first, marked as having just joined.
- Next to each person pick their phone, and tick «Σταθερή διεύθυνση στο Wi-Fi» (fixed address) once the phone is set.
- Write how many minutes with no phone make the house «empty» (3 or more is advised).
- Press «Κατέβασμα στο hub».
From then on «home occupied» (binary_sensor.arvio_home_occupied) goes into the arrival and departure automations.
A house with UniFi
If the network is UniFi, the hub also asks the console who is connected. A sleeping phone stays on the access point, so it stays «home» too.
- On the console, in UniFi Network, open the settings, then «Integrations», and create an API key.
- In Partner's «Παρουσία», under «UniFi», type the console's address and the key, and press «Σύνδεση κονσόλας» (Connect the console).
- The console's devices join the «on the Wi-Fi now» list with the names they have there. Pick each person's phone as above.
The key stays on the hub only. The hub keeps the console's certificate from the first connection and never sends the key to another.
What works
- The hub asks the whole network every 30 seconds (ARP). An iPhone answers even asleep.
- When a phone joins the Wi-Fi the hub learns it at once (DHCP), with its name. Apple devices only say «iPhone», «iPad», «Mac»; the better name comes over mDNS.
- A phone counts as gone after a minute and a half without an answer, never at the first miss.
- Addresses stay on the hub. Only «home» or «away» reaches the cloud.
- With UniFi, whatever the console knows: every wired or Wi-Fi device, with its name there, even one that does not answer ARP.
Limits
- A phone whose address changes («Rotating» on an iPhone) gets lost and does not count.
- A phone on another VLAN or on the guest network is not seen.
- A large network (a mesh with 1000 addresses): the hub sweeps its own 254 and learns the rest as they join the Wi-Fi.
- It says whether the phone is home, not which room.
- Leaving shows within 2 to 4 minutes, plus the minutes you wrote.
- With UniFi: UniFi OS consoles (e.g. Cloud Gateway, Dream Machine) with Network 9 and later. Tested against a simulated console so far.
If something goes wrong
- The list is empty → the phone is not on the same Wi-Fi as the hub. Switch its Wi-Fi off and on, wait half a minute, «Ανανέωση».
- The phone shows as away while at home → its address changes. Set it as above and pick it again.
- «Ο driver παρουσίας δεν τρέχει» → the hub needs an Arvio Core update.
- A hub without Arvio Core → the list comes from its own trackers.
- «The console did not accept the API key» → create a new key under «Integrations» and type it again.
- «The console has a different certificate» → if the console was replaced or reset, «Αποσύνδεση κονσόλας» and connect it again. Otherwise do not connect it.
