hobbyquaker / node-red-contrib-zigbee

Node-RED Nodes for ZigBee Devices 🐝
MIT License
86 stars 15 forks source link

solved: Aqara Wall Switch Double Key #82

Closed Werner-G closed 4 years ago

Werner-G commented 4 years ago

I'm using the excellent AQARA Wall switch Double Key (https://www.gearbest.com/alarm-systems/pp_610096.html). I have no problems to integrate with the ZIGBEE-Node and to switch with one key only. But I have no idea how to use both left and right keys, and to read out state_left and state_right. Is there anybody who could kindly post a working example here?

Sineos commented 4 years ago

Try to use the command node instead of the converter. You need to publish to endpoint 1 for left and to endpoint 2 for right. E.g.:

grafik

Use a change node to generate the command: grafik

Werner-G commented 4 years ago

Great! This works fine, thank you! How do you read out state - with the event node?

Sineos commented 4 years ago

@Werner-G You are welcome and yes use the event node.

@hobbyquaker Reference to #73 and https://github.com/Koenkk/zigbee-herdsman-converters/issues/756 There seems to be something wrong with the way how these devices are handled when using the converter. I suspect it is due to the special topic structure but have not verified under a bare metal zigbee2mqtt.

Werner-G commented 4 years ago

I didn't manage to read out the event mode. I used the MQTT-node instead:

Screenshot_2019-12-23 Node-RED 192 168 1 34

Thanks for your help, and Happy Christmas!