tuple ip try with artnet distrebutor ip

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-13 18:21:29 +01:00
parent 3f0c13541d
commit 77ce7764e3
1 changed files with 3 additions and 1 deletions

View File

@ -27,7 +27,9 @@ artnetUniverse = 0
# Creates Artnet socket on the selected IP and Port # Creates Artnet socket on the selected IP and Port
artNet = Artnet.Artnet(BINDIP = get_eth0_ip(), DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", REFRESH = 60) artNet = Artnet.Artnet(BINDIP = get_eth0_ip(), DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", REFRESH = 60)
tuple_ip = tuple(int(el) for el in str(get_eth0_ip()).split(".")) # tuple_ip = tuple(int(el) for el in str(get_eth0_ip()).split("."))
tuple_ip = ("10","0","0","4")
print(tuple_ip) print(tuple_ip)