From b5f76a8c91b4363094306a203e3db82c342d79e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Baginski?= Date: Fri, 21 Dec 2018 19:58:01 +0100 Subject: [PATCH] False stateTopic changed! --- openHAB.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openHAB.md b/openHAB.md index ec166332..adecbfac 100644 --- a/openHAB.md +++ b/openHAB.md @@ -225,7 +225,7 @@ Bridge mqtt:broker:myMQTTBroker [ host="IPofBroker", secure=false, username="myU { Thing topic sonoff_TH_Thing "Light_TH" { Channels: - Type switch : PowerSwitch [ stateTopic="tele/sonoff_TH/STATE" , transformationPattern="JSONPATH:$.POWER" , commandTopic="cmnd/sonoff_TH/POWER", on="ON", off="OFF" ] + Type switch : PowerSwitch [ stateTopic="stat/sonoff_TH/POWER" , transformationPattern="JSONPATH:$.POWER" , commandTopic="cmnd/sonoff_TH/POWER", on="ON", off="OFF" ] Type string : Version [stateTopic="stat/sonoff_TH/STATUS2", transformationPattern="JSONPATH:$.StatusFWR.Version"] Type string : Temperature [stateTopic="tele/sonoff_TH/SENSOR", transformationPattern="JSONPATH:$.AM2301.Temperature"] }