parent
bf2cd6ae8f
commit
0378913371
|
@ -128,7 +128,6 @@ def mqtt_publisher(ti_receiver):
|
|||
dmxPacket = artNetPacket.data
|
||||
# Create MQTT topic based on the universe and channel
|
||||
if tube_index is not None:
|
||||
print(tube_index)
|
||||
for index_row in tube_index:
|
||||
if artNetPacket.universe == int(index_row[1]):
|
||||
dmx_address = int(index_row[2])
|
||||
|
@ -147,7 +146,6 @@ def mqtt_publisher(ti_receiver):
|
|||
dmxPacket = artNetPacket.data
|
||||
# Create MQTT topic based on the universe and channel
|
||||
if tube_index_old is not None:
|
||||
print("Old: "+str(tube_index))
|
||||
for index_row in tube_index_old:
|
||||
if artNetPacket.universe == int(index_row[1]):
|
||||
dmx_address = int(index_row[2])
|
||||
|
|
Loading…
Reference in New Issue