mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 10:24:26 +01:00
re-add scripts
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
parent
79599e2a45
commit
6961821c04
3
doorlockd-new/scripts/post_lock
Executable file
3
doorlockd-new/scripts/post_lock
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
mosquitto_pub -t kitchen/frontdoor/status -m "locked"
|
8
doorlockd-new/scripts/post_unlock
Executable file
8
doorlockd-new/scripts/post_unlock
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
mosquitto_pub -t kitchen/frontdoor/status -m "unlocked"
|
||||||
|
|
||||||
|
# Wakeup cashdesk
|
||||||
|
wol -i 172.23.2.44 00:0b:ca:94:13:f1
|
||||||
|
wol -i 172.23.2.44 00:0b:ca:94:13:f1
|
||||||
|
wol -i 172.23.2.44 00:0b:ca:94:13:f1
|
Loading…
Reference in New Issue
Block a user