From 8f34166e5ffab43ebd7058af5890ea3f26d60b09 Mon Sep 17 00:00:00 2001 From: Thiago Oliveira Date: Mon, 21 Mar 2016 10:43:41 -0700 Subject: [PATCH] remove the slash from the topic's preface The topic's preface doesn't actually start with a slash. --- ...rt-Things-with-MQTT-and-Home-Assistant.markdown | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source/_posts/2016-02-09-Smarter-Smart-Things-with-MQTT-and-Home-Assistant.markdown b/source/_posts/2016-02-09-Smarter-Smart-Things-with-MQTT-and-Home-Assistant.markdown index 954af96e10f..59f56128735 100644 --- a/source/_posts/2016-02-09-Smarter-Smart-Things-with-MQTT-and-Home-Assistant.markdown +++ b/source/_posts/2016-02-09-Smarter-Smart-Things-with-MQTT-and-Home-Assistant.markdown @@ -111,14 +111,14 @@ mqtt: broker: localhost ``` -Replace `localhost` with the location of the running MQTT Broker. Devices from the MQTT Bridge are published to the path `/smartthings//` +Replace `localhost` with the location of the running MQTT Broker. Devices from the MQTT Bridge are published to the path `smartthings//` For example, my Dimmer Z-Wave Lamp is called "Fireplace Lights" in SmartThings. The following topics are published: | Topic | Description | ----- | ----------- -| /smartthings/Fireplace Lights/level | Brightness (0-99) -| /smartthings/Fireplace Lights/switch | Switch State (on/off) +| smartthings/Fireplace Lights/level | Brightness (0-99) +| smartthings/Fireplace Lights/switch | Switch State (on/off) Here is an example Home Assistant config: @@ -126,10 +126,10 @@ Here is an example Home Assistant config: switch: platform: mqtt name: "Fireplace Lights" - state_topic: "/smartthings/Fireplace Lights/switch" - command_topic: "/smartthings/Fireplace Lights/switch" - brightness_state_topic: "/smartthings/Fireplace Lights/level" - brightness_command_topic: "/smartthings/Fireplace Lights/level" + state_topic: "smartthings/Fireplace Lights/switch" + command_topic: "smartthings/Fireplace Lights/switch" + brightness_state_topic: "smartthings/Fireplace Lights/level" + brightness_command_topic: "smartthings/Fireplace Lights/level" payload_on: "on" payload_off: "off" retain: true