From 4e70dc679750632c4bf6eca722fee30d09ae3524 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Tue, 13 Feb 2024 18:36:59 +0100 Subject: [PATCH] bindip and sysip as get eth0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/exampleReceiver.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/exampleReceiver.py b/server/exampleReceiver.py index b2b6f36..8ab3de7 100644 --- a/server/exampleReceiver.py +++ b/server/exampleReceiver.py @@ -18,14 +18,13 @@ debug = True dmxChannels = [1,2,3,4,5,6] ### ArtNet Config ### -print(str(get_eth0_ip())) artnetBindIp = get_eth0_ip() artnetUniverse = 0 ### Art-Net Setup ### # Sets debug in Art-Net module. # Creates Artnet socket on the selected IP and Port -artNet = Artnet.Artnet(BINDIP = "0.0.0.0", DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", PORT = 6454) +artNet = Artnet.Artnet(BINDIP = get_eth0_ip(), SYSIP=get_eth0_ip(), DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", PORT = 6454) tuple_ip = (str(get_eth0_ip()), 6454) while True: