Updated openHAB (markdown)

Thomas Dietrich 2017-07-25 13:29:06 +02:00
parent a001e9ae2e
commit ce25219ae0
1 changed files with 2 additions and 2 deletions

@ -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. 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. 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 $ mosquitto_sub -h localhost -t "+/sonoff-E8A6E4/#" -v
tele/sonoff-E8A6E4/LWT Online 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) * Sonoff Pow (Read and switch on-state, read current wattage)
```java ```java
// compare with example above! // compare with example message stream above!
Switch BA_Washingmachine "Washingmachine" <washer> (BA) Switch BA_Washingmachine "Washingmachine" <washer> (BA)
{ mqtt=">[broker:cmnd/sonoff-E8A6E4/POWER:command:*:default], { mqtt=">[broker:cmnd/sonoff-E8A6E4/POWER:command:*:default],
<[broker:stat/sonoff-E8A6E4/POWER:state:default]" } <[broker:stat/sonoff-E8A6E4/POWER:state:default]" }