homebridge-mqttthing icon indicating copy to clipboard operation
homebridge-mqttthing copied to clipboard

Aqara single key wired wall switch without neutral wire config.

Open IronButterfly opened this issue 6 years ago • 2 comments

Could you please assist with the correct config? Tried something like

{
            "accessory": "mqttthing",
            "type": "switch",
            "name": "Light",
            "onValue": "ON",
            "offValue": "OFF",
            "topics": {
                "getSwitch": {
                    "topic": "zigbee2mqtt/0x00158d000359b71d",
                    "apply": "return JSON.parse(message).state;"
                },
                "setOn": "zigbee2mqtt/0x00158d000359b71d/set"
            }
        },

but it doesnt work. Please help.

IronButterfly avatar Nov 29 '19 05:11 IronButterfly

Do you have sample messages that you want to publish and receive?

arachnetech avatar Apr 05 '20 14:04 arachnetech

@IronButterfly: Did you ever find a working config?

DCM4711 avatar Mar 06 '23 23:03 DCM4711