simplified mqtt publish topic

Signed-off-by: Ebbe Baß <ebbe.bass>
This commit is contained in:
Ebbe Baß
2024-02-17 13:19:36 +01:00
parent 7ab0e6ffaa
commit a15b7f9fbb
2 changed files with 2 additions and 10 deletions
-1
View File
@@ -69,7 +69,6 @@ def on_message(mqttc, obj, msg):
elif msg.topic == "tube-"+wlan_mac_address+"/p2":
for pixel in range(LEDS_PER_PIXEL, LEDS_PER_PIXEL*2):
print(pixel)
update_led_strip(rgb_values, pixel, strip)
elif msg.topic == "tube-"+wlan_mac_address+"/p3":