Nmap_tracker problem (not_home) after few hours

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:

  • platform: nmap_tracker
    hosts: 192.168.1.0/24
    track_new_devices: yes
    scan_options: "–privileged -sP "
    home_interval: 10

interval_seconds: 600

- platform: owntracks

max_gps_accuracy: 100

exclude:
 - 192.168.1.10

I have the same experience, updated yesterday and my Android device keeps losing “home” status.

Tried ta disabe and enabeling wifi on the device, but no difference. Reboot will work, for a while.

Iphone seens to work better

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"