diff --git a/config.toml.example b/config.toml.example index 825dff2..8926284 100644 --- a/config.toml.example +++ b/config.toml.example @@ -6,10 +6,17 @@ device_mac = "AA:BB:CC:DD:EE:FF" #adapter = "hci0" # Lock the session after this long without strong evidence of presence. -missing_after_secs = 30 +# Beacon apps pause advertising for stretches while the phone sits still +# (Android doze / battery optimization / motion-gated beacons), so this +# must outlast those pauses — too small causes false locks. Before +# locking, the daemon additionally probes the phone with a 10s connection +# attempt, which cancels the lock if the phone answers. +missing_after_secs = 120 # Advertisement updates newer than this count as "recently seen". -presence_timeout_secs = 15 +# Once updates stall past half of this, the radio steps up to the +# suspect duty cycle while the state stays Present. +presence_timeout_secs = 30 # Discovery only reports devices at or above this RSSI (dBm). rssi_floor = -90