@daddycool
MqttSwitch, first switch of Sonoff 4CH:
{
"brokerId": "192.168.178.22",
"topic": "cmnd/4ch19/POWER1",
"onMessage": "ON",
"offMessage": "OFF",
"stateTopic": "stat/4ch19/POWER1",
"echo": {
"additionalNames": []
},
"id": "terrasse1",
"name": "Terrasse1",
"class": "MqttSwitch"
},
MqttSensor with BME280 on same Sonoff 4CH
{
"brokerId": "192.168.178.22",
"attributes": [
{
"name": "BME280.Pressure",
"topic": "tele/4ch19/SENSOR",
"type": "number",
"unit": "hPa",
"acronym": "P",
"messageMap": {}
},
{
"name": "BME280.Humidity",
"topic": "tele/4ch19/SENSOR",
"type": "number",
"unit": "%",
"acronym": "rH",
"messageMap": {}
},
{
"name": "BME280.Temperature",
"topic": "tele/4ch19/SENSOR",
"type": "number",
"unit": "°C",
"acronym": "T",
"messageMap": {}
}
],
"xAttributeOptions": [],
"echo": {
"additionalNames": []
},
"id": "4ch-sensor",
"name": "4CH Sensor",
"class": "MqttSensor"
},
"Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)