1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 18:34:25 +01:00

scripts: add nodered twitter sink

Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
This commit is contained in:
Ralf Ramsauer 2016-07-20 19:22:17 +02:00
parent 660a7297ee
commit 3721259f3e
2 changed files with 6 additions and 0 deletions

View File

@ -3,3 +3,6 @@
# Send command twice # Send command twice
mosquitto_pub -h sushi.binary.kitchen -t kitchen/shutdown -m "" mosquitto_pub -h sushi.binary.kitchen -t kitchen/shutdown -m ""
mosquitto_pub -h sushi.binary.kitchen -t kitchen/shutdown -m "" mosquitto_pub -h sushi.binary.kitchen -t kitchen/shutdown -m ""
# Send lock to Christians Node Red for Twitter sink
mosquitto_pub -h sushi.binary.kitchen -t kitchen/frontdoor/status -m "locked"

View File

@ -4,6 +4,9 @@
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"
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 # 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 wol -i 172.23.2.44 00:0b:ca:94:10:ca