Ubiquiti Edgemax Router Presence Detection

Has anyone considered making a component that connects to Ubiquiti routers running on Edgemax to do presence detection?

Some examples:

While there’s no great and straightforward API, the routers are accessible over ssh and a simple “show arp” command would work reasonably well as a starting point for connected devices.

Some other ideas are listed here: