parent
1dd6b570c0
commit
dd5d64eed3
|
@ -125,9 +125,7 @@ def mqtt_publisher(data_queue):
|
||||||
dmxPacket = artNetPacket.data
|
dmxPacket = artNetPacket.data
|
||||||
# Create MQTT topic based on the universe and channel
|
# Create MQTT topic based on the universe and channel
|
||||||
if tube_index is not None:
|
if tube_index is not None:
|
||||||
print(1)
|
|
||||||
for index_row in tube_index:
|
for index_row in tube_index:
|
||||||
print(2)
|
|
||||||
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])
|
||||||
#Define RGB values per pixel
|
#Define RGB values per pixel
|
||||||
|
|
Loading…
Reference in New Issue