print universe list

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-14 21:30:16 +01:00
parent 8dd4924f13
commit 8e859876d3
1 changed files with 2 additions and 1 deletions

View File

@ -120,6 +120,7 @@ def start_mqtt_publishers(universe_count):
artNet = Artnet.Artnet(BINDIP = artnetBindIp, DEBUG = False, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", PORT = 6454, REFRESH=30) artNet = Artnet.Artnet(BINDIP = artnetBindIp, DEBUG = False, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", PORT = 6454, REFRESH=30)
tuple_ip = (str(get_eth0_ip()), 6454) tuple_ip = (str(get_eth0_ip()), 6454)
artNet.art_pol_reply(tuple_ip) artNet.art_pol_reply(tuple_ip)
print(universe_list)
try: try:
while True: while True:
try: try:
@ -130,7 +131,7 @@ def start_mqtt_publishers(universe_count):
if artNetPacket is not None and artNetPacket.data is not None: if artNetPacket is not None and artNetPacket.data is not None:
#Checks to see if the current packet is for the specified DMX Universe #Checks to see if the current packet is for the specified DMX Universe
if artNetPacket.universe == universe: if artNetPacket.universe == universe:
print(artNetPacket.universe) # print(artNetPacket.universe)
dmxPacket = artNetPacket.data dmxPacket = artNetPacket.data
try: try:
for i in range(512): for i in range(512):