Die klein bzw. nicht Großschreibung des "MQTT prefix" war das Problem. Das schalten geht und auch der Status
Den shelly rgbw2 im 4 Kanal white Mode funktioniert das Dimmen!
Was nicht noch nicht funktioniert ist Farbe / Dimmen. Wie muss die config angepasst werden?
Code
{
"accessory": "mqttthing",
"type": "lightbulb",
"name": "Shelly-white",
"username": "xxx",
"password": "xxx",
"topics": {
"getOn": "shellies/shellyrgbw2-6EAxxx/white/1",
"getBrightness": {
"topic": "shellies/shellyrgbw2-6EAxxx/white/1/status",
"apply": "return JSON.parse(message).brightness;"
},
"setOn": "shellies/shellyrgbw2-6EAxxx/white/1/command",
"setBrightness": {
"topic": "shellies/shellyrgbw2-6EAxxx/white/1/set",
"apply": "return JSON.stringify({brightness: message});"
}
},
"onValue": "on",
"offValue": "off",
"onlineValue": "true"
},
Alles anzeigen