From ce25219ae0b36cc215527470f3909b8348f8732f Mon Sep 17 00:00:00 2001 From: Thomas Dietrich Date: Tue, 25 Jul 2017 13:29:06 +0200 Subject: [PATCH] Updated openHAB (markdown) --- openHAB.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openHAB.md b/openHAB.md index e7ad0f34..8434ab8d 100644 --- a/openHAB.md +++ b/openHAB.md @@ -39,7 +39,7 @@ MQTT messages published by a Sonoff Pow module are shown below (using [mosquitto The module reports its device state and energy readings periodically. In the second half of the example the module relay was switched into the OFF position. -```json +```java $ mosquitto_sub -h localhost -t "+/sonoff-E8A6E4/#" -v tele/sonoff-E8A6E4/LWT Online @@ -70,7 +70,7 @@ This it the minimal set of items for the basic functionality of different Sonoff ``` * Sonoff Pow (Read and switch on-state, read current wattage) ```java - // compare with example above! + // compare with example message stream above! Switch BA_Washingmachine "Washingmachine" (BA) { mqtt=">[broker:cmnd/sonoff-E8A6E4/POWER:command:*:default], <[broker:stat/sonoff-E8A6E4/POWER:state:default]" }