added some debugging

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-18 00:46:11 +01:00
parent 826641b0ce
commit acc6a93eb9
1 changed files with 1 additions and 0 deletions

View File

@ -116,6 +116,7 @@ def mqtt_publisher(data_queue):
artNet = Artnet.Artnet(BINDIP = artnetBindIp, DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", PORT = 6454)
while True:
tube_index = data_queue.get()
print("Queue data received: "+str(tube_index))
try:
# Gets whatever the last Art-Net packet we received is
artNetPacket = artNet.readPacket()