parent
b3eb6a9719
commit
2e9a7a9e29
|
@ -126,6 +126,7 @@ def start_mqtt_publishers():
|
||||||
topic = {"PiXelTubes/"+str(artNetPacket.universe)}
|
topic = {"PiXelTubes/"+str(artNetPacket.universe)}
|
||||||
|
|
||||||
# Publish the DMX value to the MQTT topic
|
# Publish the DMX value to the MQTT topic
|
||||||
|
print(str(dmxPacket))
|
||||||
mqtt_client.publish(topic, str(dmxPacket))
|
mqtt_client.publish(topic, str(dmxPacket))
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
artNet.close()
|
artNet.close()
|
||||||
|
|
Loading…
Reference in New Issue