From 76b2d20b25fe7dea85bd190dbc67f6c2325a9934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Mon, 12 Feb 2024 23:47:03 +0100 Subject: [PATCH] fixed mqtt error 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 a9d8c94..d54471f 100644 --- a/server/app.py +++ b/server/app.py @@ -108,7 +108,7 @@ def connect_mqtt(): client = mqtt.Client(mqtt_client_id) client.on_connect = on_connect() - client.connect("localhost", 1883) + client.connect("localhost", 1883, 60) return client