Hi all,
I’m struggling with the following situation.
A phone had 2 types of presence detection, 1 Router based (unifi controller) and 2 GPS based (life360)
When going away from home, the GPS triggers the device to “not_home”. But because the device is still available in the router, the router set it back to “home”. This process continues till it is finaly removed from the router. This will be in about 3 á 4 minutes.
Because I also have triggers when someone comes home, in this period this device is coming home several times
So I wonder. Is there an option to pause the monitoring for all detections (for this device) for some time after the first “not_home” detection?
This is my configuration for presence detection:
device_tracker:
- platform: unifi
host: >>hidden<<
username: !secret unifi_username
password: !secret unifi_password
site_id: >>hidden<<
verify_ssl: false
detection_time: 300
new_device_defaults:
track_new_devices: false
- platform: life360
username: !secret life360_username
password: !secret life360_password
interval_seconds: 10
filename: life360.conf
show_as_state: places, driving, moving
max_update_wait:
minutes: 30
consider_home: 300
I tried this option:
detection_time
(integer)(Optional)How long since the last seen time before the device is marked away, specified in seconds.
Default value: 300
But it does not seem to do anything.
This is how it looks like in the log: