parent
8816c5f8e5
commit
4caaec1fc8
|
@ -125,7 +125,7 @@ def mqtt_publisher(universe):
|
||||||
if dmx_values is not None:
|
if dmx_values is not None:
|
||||||
for channel, value in enumerate(dmx_values):
|
for channel, value in enumerate(dmx_values):
|
||||||
# Create MQTT topic based on the universe and channel
|
# Create MQTT topic based on the universe and channel
|
||||||
topic = f"/{universe}/{channel}"
|
topic = f"{universe}/{channel}"
|
||||||
|
|
||||||
# Publish the DMX value to the MQTT topic
|
# Publish the DMX value to the MQTT topic
|
||||||
mqtt_client.publish(topic, value)
|
mqtt_client.publish(topic, value)
|
||||||
|
|
Loading…
Reference in New Issue