Hello,
after last update my nmap_tracker dont work anymore. if restart hassio all is good but after few hours all devices become not home, follow my conf:
I found an solution that seems to works for me, only have tested a coupe of days. I used a different scan option as can be seen below. I only use tracking for Android, can’t tell if this will affect other devices, probably not.
Main problem seems to be with Android devices and not with nmap, tested different scan options using Zenmap on Windows. Most of the time nmap is reporting host to be down.
device_tracker:
- platform: nmap_tracker
hosts: 192.168.1.2-99 # my DHCP-span
home_interval: 9 # I use 9 here but i will occasionally get "not_home" for a couple of minutes
new_device_defaults:
track_new_devices: false
scan_options: " -sn --traceroute"