Nmap or dd-wrt presence detection?

Hello,
What presence detection component would you recommend to monitor the devices that are connected to the wifi network?
I currently have the dd-wrt working well but sometimes HA can’t connect to the router. I was wondering if nmap is a better solution…
Any recommendation?
Thanks!

Haven’t used dd-wrt myself since my router doesn’t run it, but I’ve had great success with nmap. Instead of scanning my entire range, I set it to about 20 IPs. Anything I want tracked I will give a static DHCP assignment inside the range. Makes the scan nice and fast.

Does it means that nmap recognize the devices by their IPs? Why not using the MAC Addresses?

That’s just how nmap is - it’s a layer 3 network scanner. MAC address is layer 2. You still need to specify MAC address in your known_devices.yaml file so it knows what it found.

I had a problem with the dd-wrt detection at my house - it would seem to hammer the router a bit much and then the router would stop taking logins - and sometimes, it would even reboot - turned it off and went to owntracks instead, but thought about nmap too.

That is exactly why I’m evaluating nmap. Sometimes the dd-wrt stop responding and I suspect that it is related to the constants requests from HA.

New to HA, but i have had a HA instance with DD-WRT presence detection running fine for over a week so far, and no signs of any issues for me.