cyberjunky / home-assistant-arpscan_tracker

This component tracks devices using the arp-scan liinux command, it's very fast, and reasonably accurate.
MIT License
28 stars 4 forks source link

Android / Apple home and not_home issue #9

Closed AdmiralRaccoon closed 3 years ago

AdmiralRaccoon commented 3 years ago

Hello... So one thing I found out after testing it a couple of minutes is that both my Apple and Android devices are playing home and not_home every minute. Is this a known limitation due to the nature of energy savings in mobile devices, or are my values to short?

image

My config:

- platform: arpscan_tracker interval_seconds: 15 consider_home: 30 track_new_devices: yes scan_options: " --interface=enp11s0 192.168.1.0/24 -g"

cyberjunky commented 3 years ago

@AdmiralRaccoon Yes iPhones are difficult (I use this https://github.com/mudape/iphonedetect for them) Some Androids (Samsung) have same issue, but my Pixel is fine. I'm not sure if specifying a higher consider_home parameter will work with arp_scan.