zigbee-opener/settings.py

17 lines
511 B
Python
Raw Permalink Normal View History

2023-07-19 10:20:07 +02:00
# 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
2023-11-04 18:01:24 +01:00
LOL_OPENED_CMD = """/var/www/html/status/set-status.sh opened"""
LOL_CLOSED_CMD = """/var/www/html/status/set-status.sh closed"""