1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-10-31 22:47:05 +01:00
doorlockd-mirror/share/doorlockd/scripts/post_unlock
Ralf Ramsauer 128cc2ced2 scripts: update mqtt topics
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-10-06 22:19:04 +02:00

9 lines
214 B
Bash
Executable File

#!/bin/bash
mosquitto_pub -r -t kitchen/doorlock/frontdoor/lockstate -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