From b5ec4ba7d13e70a16406616d54441621b649cdcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Tue, 13 Feb 2024 00:51:45 +0100 Subject: [PATCH] added debug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/app.py b/server/app.py index 6b81f21..5b06872 100644 --- a/server/app.py +++ b/server/app.py @@ -118,10 +118,11 @@ def mqtt_publisher(universe): mqtt_client = connect_mqtt() try: receiver = sacn.sACNreceiver(bind_address=get_eth0_ip()) + print(str(get_eth0_ip())) receiver.start() @receiver.listen_on('universe', universe=universe) # listens on universe 1 - def sacn_callback(packet): # packet type: sacn.DataPacket + def callback(packet): # packet type: sacn.DataPacket print(packet.dmxData) global dmx_values dmx_values = packet.dmxData