Relaxed time intervals for device tracking
This commit is contained in:
parent
dbf11551c5
commit
be56ad1956
1 changed files with 4 additions and 2 deletions
|
@ -5,8 +5,10 @@ from datetime import datetime
|
|||
from ..hue import hue
|
||||
|
||||
|
||||
refresh_every_seconds: int = 15 # Every x seconds devices are polled again
|
||||
trigger_away_after_seconds: int = 60 # After all away-devices are gone for x seconds
|
||||
refresh_every_seconds: int = 60 # Every x seconds devices are polled again
|
||||
trigger_away_after_seconds: int = (
|
||||
3 * 60
|
||||
) # After all away-devices are gone for x seconds
|
||||
away_triggered = False
|
||||
away_devices = ["B2:06:77:EE:A9:0F"] # Max' iPhone
|
||||
macaddresses_to_track = ["B2:06:77:EE:A9:0F"] # Max' iPhone
|
||||
|
|
Loading…
Reference in a new issue