added username and password

This commit is contained in:
ishak jmilou.ishak
2024-10-21 12:55:37 +02:00
parent 4c7f70c074
commit 2efa191c07

View File

@@ -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('/')