mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-11-16 03:59:11 +01:00
3721259f3e
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
14 lines
460 B
Bash
Executable File
14 lines
460 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Set blue moodlights
|
|
mosquitto_pub -h sushi.binary.kitchen -t "kitchen/moodlights/set/a" -m "#0000ff"
|
|
mosquitto_pub -h sushi.binary.kitchen -t "kitchen/moodlights/set/a" -m "#0000ff"
|
|
|
|
# Send lock to Christians Node Red for Twitter sink
|
|
mosquitto_pub -h sushi.binary.kitchen -t kitchen/frontdoor/status -m "unlocked"
|
|
|
|
# Wakeup cashdesk
|
|
wol -i 172.23.2.44 00:0b:ca:94:10:ca
|
|
wol -i 172.23.2.44 00:0b:ca:94:10:ca
|
|
wol -i 172.23.2.44 00:0b:ca:94:10:ca
|