diff --git a/src/Python/flask/web/app.py b/src/Python/flask/web/app.py index d048d64..e6bf3f4 100644 --- a/src/Python/flask/web/app.py +++ b/src/Python/flask/web/app.py @@ -16,7 +16,7 @@ def index(): @app.route('/move', methods=['POST']) def move(): - mqtt_client.publish("website/knop", "Knop ingedrukt!") + mqtt_client.publish("home.commands", "Knop ingedrukt!") return "Bericht verzonden!" if __name__ == '__main__':