mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 02:14:26 +01:00
startup scripts: use mosquitto
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
This commit is contained in:
parent
40d871b2d2
commit
f5c67445e9
@ -1,3 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
wget -O /dev/null --timeout 3 "http://homer.binary.kitchen/set?color=000000" > /dev/null 2>&1
|
||||
# Send command twice
|
||||
mosquitto_pub -h sushi.binary.kitchen -t kitchen/shutdown -m ""
|
||||
mosquitto_pub -h sushi.binary.kitchen -t kitchen/shutdown -m ""
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
wget -O /dev/null --timeout 3 "http://homer.binary.kitchen/set?color=0000FF" > /dev/null 2>&1
|
||||
# Set blue moodlights
|
||||
mosquitto_pub -h sushi.binary.kitchen -t "kitchen/moodlights/set/a" -m "#0000ff"
|
||||
|
Loading…
Reference in New Issue
Block a user