Adjusted MQTT topics
This commit is contained in:
parent
c7a251180f
commit
a91e693050
3 changed files with 3 additions and 2 deletions
1
dooropen
1
dooropen
|
@ -3,6 +3,7 @@
|
|||
echo "Initializing Door Systems..."
|
||||
echo "Securing Communication to Door Systems..."
|
||||
echo "Open Communication Channel..."
|
||||
nohup mosquitto_pub -h 'mqtt.z9' -t 'fux/door/status' -m 'opened' >/dev/null 2>&1 &
|
||||
sleep 0.5
|
||||
echo "Opening Door..."
|
||||
echo "1" > /sys/class/gpio/gpio17/value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue