From bc5ac6de73862c2c944a252749680c56f16db50b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Tue, 13 Feb 2024 16:19:32 +0100 Subject: [PATCH] more debug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/app.py b/server/app.py index 1374dd2..6e6b337 100644 --- a/server/app.py +++ b/server/app.py @@ -143,15 +143,19 @@ def start_mqtt_publishers(universe_count): artnet_receiver = Artnet.Artnet(DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster - "+str(get_mac_address), REFRESH = 60) print(str(get_eth0_ip())) artnetPacket = artnet_receiver.readPacket() + print(2) # Create and start a thread for each universe for universe in universes_to_publish: threads = [threading.Thread(target=mqtt_publisher, args=(universe, artnetPacket))] + print(3) for thread in threads: thread.start() + print(4) for thread in threads: thread.join() + print(5) if __name__ == "__main__": start_mqtt_publishers(universe_count)