Recommend patient timeouts in the sample config

Beacon apps pause advertising while the phone sits still, so the 30s
default for missing_after_secs false-locked. Ship 120s plus comments
explaining the beacon pauses and the 10s pre-lock connect probe;
presence_timeout_secs 30 pairs with the duty escalation.
This commit is contained in:
Bastian Mäuser committed 2026-11-05 14:58:45 +01:00
1 parent c25ccde58e
commit a5b798dceb
1 file changed
+9 -2
+9 -2
View File
@@ -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