zigbee-opener/settings.py
2023-07-19 10:20:07 +02:00

17 lines
481 B
Python

# ZigBee address of door magnet sensor
MAGNET_ADDR = "d617"
# Attribute name defning if door is opened or not
MAGNET_ATTRIBUTE = "onoff"
# Value of previous attribute that represents opened door
MAGNET_ATTRIBUTE_OPENED_VALUE = True
# Delay to wait before marking room as opened
OPENING_TRIGGER_DELAY = 30
# Delay to wait before marking room as closed
CLOSING_TRIGGER_DELAY = 5
LOL_OPENED_CMD = "ln -f -s a.txt test/status.txt"
LOL_CLOSED_CMD = "ln -f -s b.txt test/status.txt"