rempved {} from topic

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-17 00:29:34 +01:00
parent 2e9a7a9e29
commit ecb6493bbf
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ def start_mqtt_publishers():
#Checks to see if the current packet is for the specified DMX Universe
dmxPacket = artNetPacket.data
# 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
print(str(dmxPacket))