Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-18 15:46:04 +01:00
parent 988d3edf41
commit 88ae6c1cb2
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ 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])