debugging

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-18 00:47:19 +01:00
parent acc6a93eb9
commit 9d8d5e610d
1 changed files with 2 additions and 0 deletions

View File

@ -122,10 +122,12 @@ def mqtt_publisher(data_queue):
artNetPacket = artNet.readPacket()
# Make sure we actually *have* a packet
if artNetPacket is not None:
print(1)
#Checks to see if the current packet is for the specified DMX Universe
dmxPacket = artNetPacket.data
# Create MQTT topic based on the universe and channel
if tube_index is not None:
print(2)
for index_row in tube_index:
if artNetPacket.universe == int(index_row[1]):
dmx_address = int(index_row[2])