Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-18 01:09:48 +01:00
parent 0468eab30c
commit 709ffb472e
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ def mqtt_publisher(shared_mem):
artnetBindIp = get_eth0_ip()
artNet = Artnet.Artnet(BINDIP = artnetBindIp, DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", PORT = 6454)
while True:
tube_index = bytes(shared_mem.buf[:24]).decode()
tube_index = bytes(shared_mem.buf[:24], encoding='utf8').decode()
# print(tube_index)
try:
# Gets whatever the last Art-Net packet we received is