Presence detection router based really slow

Dear Community

Im pretty new to Home Assistant and got blown away by all this!
So i set up Router based presence detection and it works - but the trigger from home to not_home is really slow (5 minutes). Is there a variable to request the router more often? It all depends on just one device.

Do you guys have any input? Should I switch to NMAP or does it drain the battery unnecessary ?

config.yaml
device_tracker:
  - platform: swisscom
    host: 192.168.0.254
    interval_seconds: 10
    new_device_defaults:
      track_new_devices: false

known devices.yaml

pixel 3a:
  name: Pixel3a
  mac: 58:cb:52:8c:f7:d5
  consider_home: 15
  icon:
  picture:
  track: true

Thank you & BR
Ferdi

Routers generally keep the device in the list of connected devices for a short time after they disconnected, not a lot you can do about that.

But your consider_home parameter will ‘keep’ you home for that long even after the router has updated, so lowering that (or removing it) should speed things up a touch.

1 Like

NMAP won’t have any meaningful impact on battery - I’ve used it since I started with HA, and one of my devices is a Pixel 3a. I see the phones go into deep sleep mode as you’d expect.

However, if you want something that 100% doesn’t then consider moving to Bluetooth tracking, ideally using monitor.

1 Like

Welcome fellow swiss guy :slight_smile: