added tube index debug

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-19 16:21:29 +01:00
parent 0f5056af0d
commit 16c7aabfdd
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@ def mqtt_publisher(ti_receiver):
# 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:
tube_index = literal_eval(tube_index) tube_index = literal_eval(tube_index)
print(tube_index)
for index_row in tube_index: for index_row in tube_index:
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])