aqara / aiot-gateway-local-api

绿米网关局域网通信协议
47 stars 8 forks source link

Model for 'Wireless Relay Controller (2 Channels)' is not reported on the API #3

Open Huupke opened 4 years ago

Huupke commented 4 years ago

For automating more I've been using Domoticz as a central server that is communicating with the Mi Gateway via the 'Wireless communication protocol' (API) to interconnect the LUMI devices. Many products already work but I've been trying to also get 2 new products to work: 'Aqara LED Light Bulb (Tunable White)' [ZNLDP12LM] and 'Aqara Aqara Wireless Relay Controller (2 Channels)' [LLKZMK11LM]. Unfortunately the Gateway doesn't communicate the 'model' for these 2 products.

In the 'Xiaomi Home' app I noticed these devices are working properly and they are named as followed in the 'Hub info': {"model":"lumi.relay.c2acn01", "did":"lumi.xxx", "name": "Aqara Wireless Relay Controller(2 Channels)"} and {"model":"lumi.light.aqcn02", "did":"lumi.xxx", "name": "Light bulb"}. Could u please fix the 'Wireless communication protocol' (API) so that it also sends the model of these 2 devices?

Huupke commented 4 years ago

@aqara can you help?