1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-23 02:34:27 +01:00
doorlockd-mirror/share/doorlockd/scripts/post_unlock

9 lines
214 B
Plaintext
Raw Normal View History

#!/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