parent
88ae6c1cb2
commit
bb9f5c8f2a
|
@ -116,12 +116,11 @@ def mqtt_publisher(ti_receiver):
|
||||||
artNet = Artnet.Artnet(BINDIP = artnetBindIp, DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", PORT = 6454)
|
artNet = Artnet.Artnet(BINDIP = artnetBindIp, DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", PORT = 6454)
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
tube_index = ti_receiver.recv()
|
tube_index = tuple(ti_receiver.recv())
|
||||||
except:
|
except:
|
||||||
tube_index = tube_index_old
|
tube_index = tube_index_old
|
||||||
|
|
||||||
tube_index_old = None
|
tube_index_old = None
|
||||||
print(tube_index)
|
|
||||||
try:
|
try:
|
||||||
# Gets whatever the last Art-Net packet we received is
|
# Gets whatever the last Art-Net packet we received is
|
||||||
artNetPacket = artNet.readPacket()
|
artNetPacket = artNet.readPacket()
|
||||||
|
|
Loading…
Reference in New Issue