ESPHome Truhe

This commit is contained in:
2021-01-25 17:59:23 +01:00
parent b41a97fd0a
commit 8cc8efd81b
4 changed files with 9 additions and 9 deletions

View File

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

View File

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

View File

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