From 3499e48c17b107b239c3b880d84411523a612017 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Wed, 14 Feb 2024 02:18:30 +0100 Subject: [PATCH] changed artnetbindip 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 f0672d2..72a0537 100644 --- a/server/app.py +++ b/server/app.py @@ -114,7 +114,7 @@ def connect_mqtt(): def mqtt_publisher(artnetUniverse): mqtt_client = connect_mqtt() - artnetBindIp = "192.168.0.1" + artnetBindIp = get_eth0_ip() artNet = Artnet.Artnet(BINDIP = artnetBindIp, DEBUG = False, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", PORT = 6454, REFRESH=30) tuple_ip = (str(get_eth0_ip()), 6454) artNet.art_pol_reply(tuple_ip)