# 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 = """echo "opened" > /var/run/zigbee-opener/status """ LOL_CLOSED_CMD = """echo "closed" > /var/run/zigbee-opener/status """