parent
e7da28b601
commit
4a9f34769e
|
@ -124,7 +124,7 @@ def start_mqtt_publishers():
|
||||||
#Checks to see if the current packet is for the specified DMX Universe
|
#Checks to see if the current packet is for the specified DMX Universe
|
||||||
dmxPacket = artNetPacket.data
|
dmxPacket = artNetPacket.data
|
||||||
# Create MQTT topic based on the universe and channel
|
# Create MQTT topic based on the universe and channel
|
||||||
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
|
||||||
mqtt_client.publish(topic, dmxPacket)
|
mqtt_client.publish(topic, dmxPacket)
|
||||||
|
|
Loading…
Reference in New Issue