mirror of https://github.com/arendst/Tasmota.git
Updated openHAB (markdown)
parent
7b973551d1
commit
2b67759e94
|
@ -35,7 +35,7 @@ It is furthermore recommended, to add the following status items for every Sonof
|
|||
|
||||
**sonoff.items:**
|
||||
```java
|
||||
// A switch being 'ON' as long as the device is reachable
|
||||
// A switch being 'ON' as long as the device is reachable 💬
|
||||
Switch LivingRoom_Light_Reachable "Living Room Light: reachable" (gReachable)
|
||||
{ mqtt="<[broker:tele/sonoff-A00F9D/LWT:state:MAP(reachable.map)]" }
|
||||
|
||||
|
@ -52,7 +52,7 @@ String LivingRoom_Light_Verbose "Living Room Light: MQTT return message [%s]"
|
|||
<[broker:stat/sonoff-A00F9D/RESULT:state:default]" }
|
||||
```
|
||||
|
||||
The "LWT" topic (["Last Will and Testament"](http://www.hivemq.com/blog/mqtt-essentials-part-9-last-will-and-testament)) will receive regular "Online" messages by the module and an "Offline" message a short time after the module is disconnected, generated by the MQTT broker. These messages are transformed to a valid `ON`/`OFF` state by the MAP transformation. The following transformation file is needed.
|
||||
💬 The "LWT" topic (["Last Will and Testament"](http://www.hivemq.com/blog/mqtt-essentials-part-9-last-will-and-testament)) will receive regular "Online" messages by the module and an "Offline" message a short time after the module is disconnected, generated by the MQTT broker. These messages are transformed to a valid `ON`/`OFF` state by the MAP transformation. The following transformation file is needed.
|
||||
|
||||
**reachable.map:**
|
||||
```java
|
||||
|
|
Loading…
Reference in New Issue