WebThingsIO / zigbee-adapter

Zigbee adapter add-on for WebThings Gateway
Mozilla Public License 2.0
46 stars 29 forks source link

Added support for Xiaomi/Aqara Magic Cube #220

Closed contecarli closed 4 years ago

contecarli commented 4 years ago

I've added the cube controller for two different models "lumi.sensor_cube" and "lumi.sensor_cube.aqgl01" (https://www.aqara.com/us/cube.html, https://zigbee.blakadder.com/Xiaomi_MFKZQ01LM.html). The cube provides two different properties:

It doesn't seem to be possible to parse the same zigbee property value more than once. It would probably be nicer if the different states would be boolean on/off values. However, the text values of the listed states can be used in the rules to trigger actions.

zigbee_adapter_cube_controller