From e520322f166a0954bbacaa1fbc42cb317028aac0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Mon, 19 Feb 2024 16:26:21 +0100 Subject: [PATCH] result print 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, 1 insertion(+), 1 deletion(-) diff --git a/server/app.py b/server/app.py index fafe082..49cde13 100644 --- a/server/app.py +++ b/server/app.py @@ -117,7 +117,6 @@ def mqtt_publisher(ti_receiver): artNet = Artnet.Artnet(BINDIP = artnetBindIp, DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", PORT = 6454) while True: try: - print(1) tube_index = ti_receiver.recv() # Gets whatever the last Art-Net packet we received is artNetPacket = artNet.readPacket() @@ -141,6 +140,7 @@ def mqtt_publisher(ti_receiver): colors = [[p1_r, p1_g, p1_b], [p2_r, p2_g, p2_b], [p3_r, p3_g, p3_b], [p4_r, p4_g, p4_b], [p5_r, p5_g, p5_b], [p6_r, p6_g, p6_b]] result_str = [str(color) for color in colors] result = str(result_str) + print(result) mqtt_client.publish(p1_topic, result) except KeyboardInterrupt: