From 07f8a0ea69582df924056b7cd239df07d9264556 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Tue, 13 Feb 2024 00:15:40 +0100 Subject: [PATCH] test client id 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 b38387d..67045e9 100644 --- a/server/app.py +++ b/server/app.py @@ -105,7 +105,7 @@ def connect_mqtt(): else: print("Failed to connect, return code %d\n", rc) # Set Connecting Client ID - client = mqtt.Client(mqtt_client_id) + client = mqtt.Client("mqtt_client_id") # client.username_pw_set(username, password) client.on_connect = on_connect client.connect("localhost", 1883)