From 889dcae29c9acc5d1419d05460aa4a30f2ce7168 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Aug 2015 23:23:45 +0200 Subject: [PATCH] update --- source/components/mqtt.markdown | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/components/mqtt.markdown b/source/components/mqtt.markdown index b2f2310674b..50a38e2e82a 100644 --- a/source/components/mqtt.markdown +++ b/source/components/mqtt.markdown @@ -29,7 +29,8 @@ mqtt: topic: home-assistant keepalive: 60 qos: 0 - retain: 0 + username: your_username + password: your_secret_password ``` For debugging purposes `mosquitto` is shipping commandline tools to send and recieve MQTT messages. For sending test messages to a broker running on localhost: @@ -42,7 +43,7 @@ Another way to send MQTT messages by hand is to use the "Developer Tools" in the ```json { - "subtopic":"switch/1/on", + "topic":"home-assistant/switch/1/on", "payload":"Switch is ON" } ```