I’m a little confused about two options to set up in device_tracker.
I’d like to use tracking without gps, because this drains the battery to fast.
so I think I will chose nmap.
in config.yaml:
device_tracker:
- platform: nmap_tracker
hosts: 192.168.1.170-176
home_interval: 30
consider_home: 180
exclude:
- 192.168.1.15
home_interval
(integer)(Optional)The number of minutes Nmap will not scan this device, assuming it is home, in order to preserve the device battery.
consider_home
Seconds to wait till marking someone as not home after not being seen. This parameter is most useful for households with Apple iOS devices that go into sleep mode while still at home to conserve battery life. iPhones will occasionally drop off the network and then re-appear.consider_home
helps prevent false alarms in presence detection when using IP scanners such as Nmap.consider_home
accepts various time representations, (e.g., the following all represents 3 minutes:180
,0:03
,0:03:00
)
I don’t see the difference and why would home_interval drain the devices battery? Does this wake up the device? I thought I just looks if a device gets online under a certain ip address.