NMAP device tracker - no entities or devices show up

Hello. I’m trying to set up the NMAP device tracker integration to track devices connected to my network. I’m on Home Assistant OS, so as far as I know, I don’t need to install anything. I’m using this configuration (which I’ll admit is sort of a mashup of other people’s configurations that I’ve seen on posts):

device_tracker:
  - platform: nmap_tracker
    hosts:
      - 192.168.0.0/24
    home_interval: 10
    exclude:
      - 192.168.0.139/24
      - 192.168.0.157/24
    scan_options: " --privileged -sP "
    interval_seconds: 3
    consider_home: 180
    track_new_devices: yes

It passes the config check and doesn’t cause any errors to appear in the log when restarted - however, I see nothing new on my devices or entities. This is the first time I’m trying to set this up. Am I overlooking something?

Thanks in advance.

This is nothing to do with SNMP.

Your exclude lines should not have the /24 on the end: that excludes the entire network.

Oh shoot, I got NMAP and SNMP mixed up! I’m sorry, I’ll edit the post.

Your exclude lines should not have the /24 on the end: that excludes the entire network.

Seems like I’m extra thick in the head today. I’ll change that, thank you for your help.

1 Like