added debug

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-17 03:47:05 +01:00
parent 9dc593bfdf
commit 0379c78f57
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ def is_connected_to_wifi():
def update_led_strip(rgb_values, pixel, strip):
print(rgb_values)
strip[int(pixel)] = rgb_values
print("Updated pixel "+str(pixel)+" with "+str(rgb_values))
def on_message(mqttc, obj, msg):
if msg.topic == "tube-"+wlan_mac_address+"/p1":