Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-18 15:40:50 +01:00
parent 4e7754b3f7
commit a06d203245
1 changed files with 2 additions and 3 deletions

View File

@ -114,9 +114,8 @@ def mqtt_publisher(ti_receiver):
artnetBindIp = get_eth0_ip() artnetBindIp = get_eth0_ip()
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:
if ti_receiver.poll(0): tube_index = ti_receiver.recv()
tube_index = ti_receiver.recv() print(tube_index)
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()