Updated settings
This commit is contained in:
parent
ea7097a016
commit
91a348e5b9
@ -13,5 +13,5 @@ OPENING_TRIGGER_DELAY = 30
|
|||||||
# Delay to wait before marking room as closed
|
# Delay to wait before marking room as closed
|
||||||
CLOSING_TRIGGER_DELAY = 5
|
CLOSING_TRIGGER_DELAY = 5
|
||||||
|
|
||||||
LOL_OPENED_CMD = """echo "opened" > /var/run/zigbee-opener/status """
|
LOL_OPENED_CMD = """/var/www/html/status/set-status.sh opened"""
|
||||||
LOL_CLOSED_CMD = """echo "closed" > /var/run/zigbee-opener/status """
|
LOL_CLOSED_CMD = """/var/www/html/status/set-status.sh closed"""
|
@ -3,6 +3,7 @@
|
|||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
User=www-data
|
||||||
Restart=always
|
Restart=always
|
||||||
ExecStart=/usr/share/zigbee-opener/main.py
|
ExecStart=/usr/share/zigbee-opener/main.py
|
||||||
Type=simple
|
Type=simple
|
||||||
|
Loading…
Reference in New Issue
Block a user