parent
984598f6a2
commit
233259afb9
|
@ -144,7 +144,7 @@ def mqtt_publisher(ti_receiver):
|
||||||
# Publish pixel topic
|
# 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])]))
|
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:
|
else:
|
||||||
print(tube_index_old)
|
print("Old data: "+str(tube_index_old))
|
||||||
for index_row in tube_index_old:
|
for index_row in tube_index_old:
|
||||||
if artNetPacket.universe == int(index_row[1]):
|
if artNetPacket.universe == int(index_row[1]):
|
||||||
dmx_address = int(index_row[2])
|
dmx_address = int(index_row[2])
|
||||||
|
|
Loading…
Reference in New Issue