fixed artnet poll

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-13 17:06:14 +01:00
parent 6ef512f1a5
commit d9cfdaacd0
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
artNet = Artnet.Artnet(BINDIP = get_eth0_ip(), DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", REFRESH = 60)
artNet.art_pol_reply(("10","0","0","228"))
tuple_ip = tuple(str(get_eth0_ip()).split(".")[:-1])
artNet.art_pol_reply(tuple_ip, 6454)
while True:
try:
# Gets whatever the last Art-Net packet we received is