From 9d8d5e610d9cdd3ebfeac3c66f0d95746529a0e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sun, 18 Feb 2024 00:47:19 +0100 Subject: [PATCH] debugging MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/app.py b/server/app.py index 4e6b99d..ad87944 100644 --- a/server/app.py +++ b/server/app.py @@ -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])