test with old data

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-18 16:02:45 +01:00
parent 984598f6a2
commit 233259afb9
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ def mqtt_publisher(ti_receiver):
# Publish pixel topic
mqtt_client.publish(p1_topic, str([str([p1_r, p1_g, p1_b]), str([p2_r, p2_g, p2_b]), str([p3_r, p3_g, p3_b]), str([p4_r, p4_g, p4_b]), str([p5_r, p5_g, p5_b]), str([p6_r, p6_g, p6_b])]))
else:
print(tube_index_old)
print("Old data: "+str(tube_index_old))
for index_row in tube_index_old:
if artNetPacket.universe == int(index_row[1]):
dmx_address = int(index_row[2])