Skip to content

Commit

Permalink
Update sonoff topic
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagogsr committed Jan 2, 2019
1 parent 1e6ad17 commit a98bee9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions openhab2/406c.things
Expand Up @@ -2,13 +2,13 @@ Bridge mqtt:bridge:rpi "RPI MQTT Broker" [ host="localhost", secure=false, usern
{
Thing topic livingroomLightTH "livingroomLightTH" {
Channels:
Type switch : PowerSwitch [stateTopic="stat/sonoff-6765/POWER1" , transformationPattern="JSONPATH:$.POWER1" , commandTopic="cmnd/sonoff-6765/POWER1", on="ON", off="OFF"]
Type string : Version [stateTopic="stat/sonoff-6765/STATUS2", transformationPattern="JSONPATH:$.StatusFWR.Version"]
Type switch : PowerSwitch [stateTopic="stat/sonoff-DB5A6D/POWER1" , transformationPattern="JSONPATH:$.POWER1" , commandTopic="cmnd/sonoff-DB5A6D/POWER1", on="ON", off="OFF"]
Type string : Version [stateTopic="stat/sonoff-DB5A6D/STATUS2", transformationPattern="JSONPATH:$.StatusFWR.Version"]
}

Thing topic corridorLightTH "corridorLightTH" {
Channels:
Type switch : PowerSwitch [stateTopic="stat/sonoff-6765/POWER2" , transformationPattern="JSONPATH:$.POWER2" , commandTopic="cmnd/sonoff-6765/POWER2", on="ON", off="OFF"]
Type string : Version [stateTopic="stat/sonoff-6765/STATUS2", transformationPattern="JSONPATH:$.StatusFWR.Version"]
Type switch : PowerSwitch [stateTopic="stat/sonoff-DB5A6D/POWER2" , transformationPattern="JSONPATH:$.POWER2" , commandTopic="cmnd/sonoff-DB5A6D/POWER2", on="ON", off="OFF"]
Type string : Version [stateTopic="stat/sonoff-DB5A6D/STATUS2", transformationPattern="JSONPATH:$.StatusFWR.Version"]
}
}

0 comments on commit a98bee9

Please sign in to comment.