Frans-Willem / AqaraHub

AqaraHub is an open-source Zigbee hub for Xiaomi Aqara devices. It aims to be a replacement to the Xiaomi Gateway that does not require communication to outside servers, and uses a saner communication option (e.g. MQTT).
252 stars 33 forks source link

Added definitions for On/Off and Color Control clusters #43

Closed hwhw closed 6 years ago

hwhw commented 6 years ago

These were partly tested with an Osram Classic B40 TW - LIGHTIFY bulb.

hwhw commented 6 years ago

Thought I just drop them here. I'm not sure yet if I will really focus on using AqaraHub for my home automation needs, but I definitely prefer a pile of C++ code with not too many attempts to be clever to a vast jungle of JS code sprinkled with hacks for various devices. And since it does not attempt to enumerate everything, AqaraHub is indeed quite nicely to handle as it does not add another state to be fiddled with. I think I'd like MQTT events on device join, though - if I'll continue to use it, I might send a patch that does this.

Frans-Willem commented 6 years ago

Thanks!

I'll merge this right away, looks great. I had a suspicion that AqaraHub would work with non-Xiaomi devices, but I hadn't tested it yet.

I'd be happy to help with cleaning up some of the MQTT reporting and adding in other reports like END_DEVICE_ANNCE, I believe my mail-address is in the readme.