Added bridge config

This commit is contained in:
Maximilian Giller 2023-11-25 17:17:35 +01:00
parent 667edf92eb
commit 6b5985febf

View file

@ -6,7 +6,7 @@ LOG_FILE_PATH = "log.txt" # Path for logs
logging.getLogger().setLevel(logging.INFO) logging.getLogger().setLevel(logging.INFO)
# If the distance (in cm) is lower or equal to this value, the people counter will trigger # If the distance (in cm) is lower or equal to this value, the people counter will trigger
MAX_TRIGGER_DISTANCE = 110 MAX_TRIGGER_DISTANCE = 130
# Should lights already turn on where there is any kind of motion in the sensor # Should lights already turn on where there is any kind of motion in the sensor
ENABLE_MOTION_TRIGGERED_LIGHT = True ENABLE_MOTION_TRIGGERED_LIGHT = True
@ -22,9 +22,9 @@ SCHEDULE: dict[time, str] = {}
# Philips Hue configuration # Philips Hue configuration
hue_conf = { hue_conf = {
"bridge_ip": "", "bridge_ip": "192.168.178.85",
"transition_time": 10, # seconds "transition_time": 10, # seconds
"light_group": "", "light_group": "Max Zimmer",
# If file exists, application is considered 'registered' at the bridge # If file exists, application is considered 'registered' at the bridge
"registered_file": "smart_light_registered.bridge", "registered_file": "smart_light_registered.bridge",
} # Custom configuration for philips hue } # Custom configuration for philips hue