I am using openwrt and I’d like to know if some specific devices are using my wifi and I’d like to know how many devices are connected to my guest wifi.
Is there a recommended way of doing this? In the past using ping and nmap didn’t work correctly since devices put their radios into sleep mode. Is that still the case?
I tried using the openwrt integretations, but those didn’t work for my use case since I have multiple APs.
As I saw you are trying multiple ways to achieve your goal (eg : Openwrt/ubus: Any way to not use root-password?), might it be an idea to simply use ssh to get the information directly from the AP’s? The info wil be at least logged to the devices logs or you might be able to use ARP.
Focus first on how the information you want to get, can be collected. Then you can try to figure out how it can be added to HA most effectively since your main goal is to use HA as a form of monitoring software.
The bottleneck I foresee is how to create and maintain (if the devices you want to track change in the future) a list of components you want to track.
You can consider checking out the Unifi integration/code, they are able to track the devices they ‘see’ on the network and create entities in HA. From there you can then create an automation that if one of the devices has been seen in the last X hours then do Y.