diff --git a/src/Python/flask/web/app.py b/src/Python/flask/web/app.py index de37ea0..b5a71bf 100644 --- a/src/Python/flask/web/app.py +++ b/src/Python/flask/web/app.py @@ -8,7 +8,7 @@ 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) - +mqtt_client.loop_forever() @app.route('/') def index(): return render_template('index.html')