Hi, i have a problem with lightbulb-OnOff and outlets. I have some kind of toggle switch that needs 1 as onValue and 1 as offValue for the setOn topic. The getOn Topic on the other hand works with 1 for On and 0 for Off state. I managed to get it running with this config:
Hi, i have a problem with lightbulb-OnOff and outlets. I have some kind of toggle switch that needs 1 as onValue and 1 as offValue for the setOn topic. The getOn Topic on the other hand works with 1 for On and 0 for Off state. I managed to get it running with this config:
"type": "lightbulb-OnOff", "name": "Light", "url": "ip", "username": "name", "password": "password", "topics": { "getOn": "stat/light", "setOn": "cmnd/light/Power" }, "integerValue": true, "onValue": "1", "offValue": "1", "accessory": "mqttthing"
Only Problem is, that the status update does not work if i use the button on my wall.
What i need is a pair of "on/offValue:" for different topics:
"type": "lightbulb-OnOff", "name": "Light", "url": "ip", "username": "name", "password": "password", "topics": { "getOn": "stat/light", "setOn": "cmnd/light/Power" }, "integerValue": true, "onValueSet": "1", "offValueSet": "1", "onValueGet": "1", "offValueGet": "0", "accessory": "mqttthing"
Is there any chance you could add this feature to future releases?