added refresh

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-13 14:49:24 +01:00
parent 7a6e522660
commit c8d3cbd5db
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ def start_mqtt_publishers(universe_count):
print("universe count: "+str(used_universes)) print("universe count: "+str(used_universes))
universes_to_publish = list(range(1, used_universes + 1)) universes_to_publish = list(range(1, used_universes + 1))
artnet_receiver = Artnet.Artnet(BINDIP = get_eth0_ip(), DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster - "+str(get_mac_address)) artnet_receiver = Artnet.Artnet(BINDIP = get_eth0_ip(), DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster - "+str(get_mac_address), REFRESH = 60)
print(str(get_eth0_ip())) print(str(get_eth0_ip()))
artnetPacket = artnet_receiver.readPacket() artnetPacket = artnet_receiver.readPacket()
# Create and start a thread for each universe # Create and start a thread for each universe