Hi,
I’m looking into presence detection through wifi and was wondering if there was a difference in terms of performance between pulling the list of connected devices directly from your router and using nmap ?
Thanks !
Hi,
I’m looking into presence detection through wifi and was wondering if there was a difference in terms of performance between pulling the list of connected devices directly from your router and using nmap ?
Thanks !
NMap probably takes a bit longer to cycle through. The router already knows what’s connected. NMap has to figure it out all over again on each run. But, that’s not the biggest issue.
NMap also ACTIVELY queries the device. So, this means network traffic, and, quicker drain on battery powered devices. Additionally, some devices, like iPhones, don’t always play well with the NMap method, so you may see false reports of not_home.
If your router has an integration, I’d use it over NMap. If it doesn’t, NMap will get the job done in most cases.
Ok thanks for the explanation !
Do you know if an arpscan also drains the battery?
i have found this component and consider testing it:
https://github.com/cyberjunky/home-assistant-arpscan_tracker