Do private Wi-Fi addresses break UniFi presence? They do when the address changes, because a new address is a new client to UniFi and a new tracker to Home Assistant. On iOS 18 and later, a Fixed private address never rotates, and Android's default randomized address stays the same for a given SSID and security type until a factory reset.
Home Assistant's UniFi documentation is blunt: presence detection is not compatible with MAC address randomization, which most modern phones enable by default, and it tells you to disable the feature per network on the phone. That advice is safe.
However, the phone makers' own documentation shows the real requirement is narrower, because the tracker simply needs an address that stays the same.
Apple's private Wi-Fi address documentation describes three settings from iOS 18, iPadOS 18 and macOS Sequoia 15 onward:
- Off. The device uses its hardware MAC address.
- Fixed. The device uses a private address that does not rotate. It is the default when joining a new network secured with WPA2 or stronger.
- Rotating. The private address changes every 2 weeks. It is the default when joining a new network with weak security or none.
Android's MAC randomization documentation makes persistent randomization the default from Android 10. The address is derived from the network profile, including the SSID and security type, and it survives until a factory reset.
Non-persistent randomization, which can change the address between connections, applies only in narrower cases: a developer option, apps that request it for a network, and some open networks.
In practice, a household phone on a WPA2 or WPA3 SSID usually keeps a stable address. The events that change it are the ones worth remembering:
- On an iPhone, forgetting the network discards its private address, unless the same network was also forgotten in the previous 24 hours. Erasing the phone or resetting its network settings produces a new address too.
- On Android, the SSID and the security type both feed the persistent address, so renaming the SSID gives every Android phone on it a new one.
- On any phone, switching between the hardware address and a private one changes what UniFi sees. An iPhone using a private address also treats a renamed SSID as a new network, and Apple gives each network its own address.
Note that the renaming rules catch people who reconfigure the network itself. If you change an SSID's name or security type, for instance moving it to WPA3-only for MLO as the Wi-Fi 7 MLO guide describes, check your trackers afterwards.
The integration's Ignore Wi-Fi clients with private (randomized) MAC addresses option skips any Wi-Fi client with a locally administered address, which Home Assistant's documentation says covers private and randomized addresses and leaves wired clients alone. Clients you select under Create entities from network clients are still included, so select the household phones before switching it on.