parent
935bdeb38b
commit
775a6caf77
|
@ -131,9 +131,7 @@ if __name__ == "__main__":
|
||||||
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(TUBE_INDEX)
|
|
||||||
for index_row in TUBE_INDEX:
|
for index_row in TUBE_INDEX:
|
||||||
print(index_row)
|
|
||||||
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