diff --git a/doorlockd/scripts/post_lock b/doorlockd/scripts/post_lock index 4a469ff..ac6f825 100755 --- a/doorlockd/scripts/post_lock +++ b/doorlockd/scripts/post_lock @@ -1,8 +1,3 @@ #!/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" +mosquitto_pub -t kitchen/frontdoor/status -m "locked" diff --git a/doorlockd/scripts/post_unlock b/doorlockd/scripts/post_unlock index 2588c2e..0d27616 100755 --- a/doorlockd/scripts/post_unlock +++ b/doorlockd/scripts/post_unlock @@ -1,11 +1,6 @@ #!/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" +mosquitto_pub -t kitchen/frontdoor/status -m "unlocked" # Wakeup cashdesk wol -i 172.23.2.44 00:0b:ca:94:13:f1