From 2efa191c07d54c11872ea3d58f7d510721ef5461 Mon Sep 17 00:00:00 2001 From: "ishak jmilou.ishak" Date: Mon, 21 Oct 2024 12:55:37 +0200 Subject: [PATCH] added username and password --- src/Python/flask/web/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Python/flask/web/app.py b/src/Python/flask/web/app.py index 33c2679..f6f0d71 100644 --- a/src/Python/flask/web/app.py +++ b/src/Python/flask/web/app.py @@ -6,6 +6,7 @@ app = Flask(__name__) mqtt_client = mqtt.Client() # Verbinding maken met de Raspberry Pi (broker) +mqtt_client.username_pw_set("ishak", "kobuki") mqtt_client.connect("ishakpi.ddns.net", 1883, 60) @app.route('/')