Hi,
ich habe kein ioBroker, sondern schalte meine Shellys direkt per mqtt aus NodeRed heraus.
Damit das sauber klappt, verwende ich folgenden Flow:
Code
[{"id":"565c33ef.2cfdcc","type":"ui_switch","z":"8b9c6247.b9b0b","name":"","label":"switch","tooltip":"","group":"d2681939.0a2b18","order":12,"width":0,"height":0,"passthru":false,"decouple":"true","topic":"","style":"","onvalue":"on","onvalueType":"str","onicon":"","oncolor":"","offvalue":"off","offvalueType":"str","officon":"","offcolor":"","x":500,"y":780,"wires":[["3f81064a.07068a"]]},{"id":"3f81064a.07068a","type":"mqtt out","z":"8b9c6247.b9b0b","name":"","topic":"shellies/Esszimmer/Durchgang/light/0/command","qos":"","retain":"","broker":"27c56cde.eca054","x":870,"y":780,"wires":[]},{"id":"67d586fd.84b4b8","type":"mqtt in","z":"8b9c6247.b9b0b","name":"","topic":"shellies/Esszimmer/Durchgang/light/0","qos":"2","datatype":"auto","broker":"27c56cde.eca054","x":260,"y":780,"wires":[["565c33ef.2cfdcc"]]},{"id":"d2681939.0a2b18","type":"ui_group","z":"","name":"Status","tab":"d8691bab.f69288","order":1,"disp":true,"width":"7","collapse":false},{"id":"27c56cde.eca054","type":"mqtt-broker","z":"","broker":"192.168.0.24","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"d8691bab.f69288","type":"ui_tab","z":"","name":"Übersicht","icon":"fa-home","order":1}]
Gruß
Oli