From 4caaec1fc86bb0f10aa3611ee5cdac67c29bd7f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Tue, 13 Feb 2024 00:10:32 +0100 Subject: [PATCH] fixed topic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/app.py b/server/app.py index 9cfecef..6ade0e5 100644 --- a/server/app.py +++ b/server/app.py @@ -125,7 +125,7 @@ def mqtt_publisher(universe): if dmx_values is not None: for channel, value in enumerate(dmx_values): # 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 mqtt_client.publish(topic, value)