From ffc64b1f9cc24952cc00614947705a21d26560da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Tue, 13 Feb 2024 00:29:27 +0100 Subject: [PATCH] updated version 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 8eb3922..9cef55e 100644 --- a/server/app.py +++ b/server/app.py @@ -106,7 +106,7 @@ def on_connect(client, userdata, flags, reason_code, properties): def connect_mqtt(): # Set Connecting Client ID - client = mqtt.Client(mqtt.CallbackAPIVersion.VERSION1) + client = mqtt.Client(mqtt.CallbackAPIVersion.VERSION2) # client.username_pw_set(username, password) client.on_connect = on_connect client.connect("localhost", 1883)