1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 02:14:26 +01:00

re-add scripts

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
Ralf Ramsauer 2018-03-19 18:42:34 +01:00
parent 79599e2a45
commit 6961821c04
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,3 @@
#!/bin/bash
mosquitto_pub -t kitchen/frontdoor/status -m "locked"

View 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