From e74059432cb2eeafc5f414f1414ba662178a452f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 03:01:00 +0100 Subject: [PATCH] debug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/app.py b/server/app.py index 310577f..65387c0 100644 --- a/server/app.py +++ b/server/app.py @@ -127,7 +127,10 @@ def start_mqtt_publishers(): cur.execute("SELECT mac_address, universe, dmx_address FROM tubes") result = cur.fetchall() for row in result: - print(row) + print(row[0]) + print(row[1]) + print(row[2]) + dmx_address = int(row[2]) if artNetPacket.universe == int(row[2]): #Define RGB values per pixel