mqtt ringstrasse

This commit is contained in:
2019-12-07 20:31:58 +01:00
parent 4fb1d072fb
commit 1363955118
3 changed files with 6 additions and 2 deletions

View File

@@ -3,3 +3,4 @@ PWR_LEINI=2
PWR_TRUHE=3
LIRC_BEAMER_AN="Beamer KEY_POWER"
LIRC_BEAMER_AUS="Beamer KEY_POWER2"
MQTT=mqtt.chaos

View File

@@ -4,4 +4,5 @@ ME=$(readlink -f "$0")
MP=$(dirname "$ME")
. ${MP}/kino.conf
sispmctl -o ${PWR_TRUHE} #Truhe
#sispmctl -o ${PWR_TRUHE} #Truhe
mosquitto_pub -h ${MQTT} -t homie/Truhe-switch/SYSTEM/gpio12/set -m 1

View File

@@ -4,4 +4,6 @@ ME=$(readlink -f "$0")
MP=$(dirname "$ME")
. ${MP}/kino.conf
sispmctl -f ${PWR_TRUHE} #Truhe
#sispmctl -f ${PWR_TRUHE} #Truhe
mosquitto_pub -h ${MQTT} -t homie/Truhe-switch/SYSTEM/gpio12/set -m 0