Updated settings

This commit is contained in:
EpicKiwi 2023-11-04 18:01:24 +01:00
parent ea7097a016
commit 91a348e5b9
Signed by: epickiwi
GPG Key ID: C4B28FD2729941CE
2 changed files with 3 additions and 2 deletions

View File

@ -13,5 +13,5 @@ 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 """
LOL_OPENED_CMD = """/var/www/html/status/set-status.sh opened"""
LOL_CLOSED_CMD = """/var/www/html/status/set-status.sh closed"""

View File

@ -3,6 +3,7 @@
After=network.target
[Service]
User=www-data
Restart=always
ExecStart=/usr/share/zigbee-opener/main.py
Type=simple