Always away nmap configuration

hello i have installed all in one on my raspberry 2. i use that configuration:

device_tracker: !include device_trackers.yaml

device_trackers.yaml

  • platform: nmap_tracker
    hosts: 192.168.1.254-254 (my ip router acess is 192.168.1.254)
    home_interval: 300

known_devices.yaml

rodolfo:
name: rodolfo
mac: XX:XX:XX:XX:XX:XX
picture:
track: yes
hide_if_away: no

after that when i go to homeassist page, rodolfo show AWAY, but my samsung is connected network.
how i can resolve this problem?

Your router IP address may be x.x.x.254 but you still want to put the range in that you are searching for.

For Example:

- platform: nmap_tracker
  hosts: 192.168.1.64-253
  track_new_devices: yes
  interval_seconds: 15
  consider_home: 180

thank you Corey. works like a charm.
best regards from Portugal.

1 Like