mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-03 20:04:58 +00:00
added mqtt_client loop
This commit is contained in:
@@ -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')
|
||||
|
Reference in New Issue
Block a user