mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 18:34:25 +01:00
3721259f3e
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
9 lines
293 B
Bash
Executable File
9 lines
293 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Send command twice
|
|
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"
|