The title says it all - does any one know a way to get a statistic (a sensor, for example) of the total number of clients connected to each AP?
The end goal is to create a kind of heat-map of where people are in the premises. But I’m not looking at individual presence detection, just an overall view that also includes strangers and visitors that have wi-fi access, but don’t have any HASS account.
Check out this post: Monitoring your Unifi AP.
I didn’t try it myself yet, but using a Python module and command_line sensor it looks like you can get the number of clients connected.