changed channels

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-17 17:25:02 +02:00
parent bea803b86f
commit 0dde1d09fc
1 changed files with 4 additions and 4 deletions

View File

@ -88,10 +88,10 @@ def mqtt_on_message(client, userdata, msg):
topic = str(msg.topic)
payload = str(msg.payload.decode("utf-8"))
channel_1 = 4
channel_2 = 17
channel_3 = 27
channel_4 = 11
channel_1 = 19
channel_2 = 16
channel_3 = 26
channel_4 = 20
if topic == "strawberry-pi-greenhouse/relay/channel/1":
if payload == "on":