bindip and sysip as get eth0

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-13 18:36:59 +01:00
parent 938650710d
commit 4e70dc6797
1 changed files with 1 additions and 2 deletions

View File

@ -18,14 +18,13 @@ debug = True
dmxChannels = [1,2,3,4,5,6] dmxChannels = [1,2,3,4,5,6]
### ArtNet Config ### ### ArtNet Config ###
print(str(get_eth0_ip()))
artnetBindIp = get_eth0_ip() artnetBindIp = get_eth0_ip()
artnetUniverse = 0 artnetUniverse = 0
### Art-Net Setup ### ### Art-Net Setup ###
# Sets debug in Art-Net module. # Sets debug in Art-Net module.
# Creates Artnet socket on the selected IP and Port # 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) tuple_ip = (str(get_eth0_ip()), 6454)
while True: while True: