Page 1 of 2
Support for LLKZMK11LM Aqara wireless relay controller
Posted: Thursday 08 August 2019 19:19
by whitecube
I bought one if this relays,( because i thought domoticz support it) for Ventilation Control Dew Point.
But it doesnt detect the device, i hope someone could implement the device.
thx!
Re: Support for LLKZMK11LM Aqara wireless relay controller
Posted: Wednesday 21 August 2019 13:35
by nighthawkii
Hi,
I bought some Aqara LLKZMK11LM Two-way Control Module Wireless Relay Controller, but they are not well recognized in Domoticz, currently they are considered as 2 devices :
device 1:
ID: 84AB
name : Xiaomi TempHum wireless relay
type: Temp + Humidity
subtype: WTGR800
data: 100.0C, 0%
device 2:
ID: 8502
name : Xiaomi TempHum
type: Temp + Humidity
subtype: WTGR800
data: 100.0C, 0%
So as they are not considered as actuators, no way to control them from domoticz...
I would expect to see them like a wired double switch actuator
I would be pleased to help, so if you need some info, just ask !
Re: Support for LLKZMK11LM Aqara wireless relay controller
Posted: Thursday 29 August 2019 17:41
by whitecube
you are right, i have two devices too.
they could be the relay. but domoticz detect it also as temphum...
Re: Support for LLKZMK11LM Aqara wireless relay controller
Posted: Thursday 17 October 2019 16:55
by whitecube
some news about this problem?
my logfile says:
2019-10-17 17:52:57.051 Status: XiaomiGateway (ID=6): unhandled model: , name: Xiaomi Switch
2019-10-17 17:52:57.051 Status: {"cmd":"read_ack","model":"","sid":"158d0003cf064b","short_id":7771,"data":"{\"voltage\":3600}"}
Re: Support for LLKZMK11LM Aqara wireless relay controller
Posted: Thursday 17 October 2019 19:22
by HFman
seems your zigbee controller doesn't support it yet.
Zigbee2Mqqt does already.
Did you update to the latest version ?
Re: Support for LLKZMK11LM Aqara wireless relay controller
Posted: Friday 18 October 2019 16:48
by whitecube
thanks for your answer.
Interesting, because i use the xiaomi gateway and this switch is from xiaomi and in the app i see it normal als a 2 channel relay.
and yes, i use the latest beta builds.
is it possible to use the Zigbee2Mqqt plugin with the hue or xiaomi gateway to extend the supported devices?
Re: Support for LLKZMK11LM Aqara wireless relay controller
Posted: Friday 18 October 2019 21:38
by HFman
Quickly scanned the module :
https://github.com/domoticz/domoticz/bl ... ateway.cpp
Seems indeed not to be there yet.
And no, both are working indpent from eachother.
If you have the Zigbee2mqqt module ( 10 euro ?) you don't need the xiaomi hub any more.
But offcourse the app on your phone for xiaomi then also doesn't work any more.
Re: Support for LLKZMK11LM Aqara wireless relay controller
Posted: Friday 18 October 2019 22:00
by whitecube
thank you!
i ordered yesterday the cc2351 stick, on tuesday i will test it

Re: Support for LLKZMK11LM Aqara wireless relay controller
Posted: Saturday 19 October 2019 17:54
by yann500
Hi,
I've the same issue with aqara LLKZMK11LM 2 , I'm very insterested by your solution, please advise.
Thanks in advance.
Yann
Re: Support for LLKZMK11LM Aqara wireless relay controller
Posted: Saturday 19 October 2019 19:13
by whitecube
it works, amazon delivered the item sooner
i ordered there a already flashed cc2351 usb stick.
read some installation manuals for mqtt etc and now its working!
but you have to make a factory reset of the devices. you cant connect the relay to xiaomi gateway AND the zigbee2mqtt.
now i have to figure out a good program for a dewpoint control (sometimes a damp cellar...)
Re: Support for LLKZMK11LM Aqara wireless relay controller
Posted: Saturday 19 October 2019 20:41
by HFman
Great ! I am also very happy with the MQQT2Zigbee.
Script should be quite basic right.. ?
Input are temp and humidity
Then you can easily caculate the dew point (or you take the one Domoticz calculates).
Then your check is :
if Temp Basement < then Dew point then switch on
else switch off
I assume running this script every 15 minutes would be sufficient.
Nice one for DZvents

Re: Support for LLKZMK11LM Aqara wireless relay controller
Posted: Sunday 20 October 2019 11:00
by whitecube
i have 2 xiaomi sensor outdoor and one in the basement.
a really basic logic would be dewpoint indoor > dewpoint outdoor -> fans on -> else switch off.
i realised it with blocky because i'm not a programmer...
but i think the fans will be on... really often.
there should be an interval like -> dewpoint indoor have a difference of 0,5 then dewpoint outdoor -> fans on for 20minutes -> else switch off for 20 minutes.
Re: Support for LLKZMK11LM Aqara wireless relay controller
Posted: Sunday 20 October 2019 13:02
by yann500
Could you give me a link for you cc2531? also installation manuals for mqtt? You can program in LUA and use that : commandArray['FAN']='On FOR 20'
Re: Support for LLKZMK11LM Aqara wireless relay controller
Posted: Monday 09 March 2020 13:05
by Huupke
It seems we need to get the gateway to put in the model name first as it's still empty in the latest update (1.4.1_175.0220). It should report 'lumi.relay.c2acn01'. I filed an issue via the Xiaomi app (Feedback).
I've the following messages when turning both channels on and off once:
2020-03-16 21:26:15.831 Status: XiaomiGateway (ID=2): unhandled model: , name: Xiaomi Switch
2020-03-16 21:26:15.831 Status: {"cmd":"heartbeat","model":"","sid":"158d0003cbe6e8","short_id":44412,"data":"{\"voltage\":3600}"}
2020-03-16 21:26:42.490 Status: XiaomiGateway (ID=2): unhandled model: , name: Xiaomi Switch
2020-03-16 21:26:42.490 Status: {"cmd":"report","model":"","sid":"158d0003cbe6e8","short_id":44412,"data":"{\"channel_0\":\"on\"}"}
2020-03-16 21:26:47.391 Status: XiaomiGateway (ID=2): unhandled model: , name: Xiaomi Switch
2020-03-16 21:26:47.391 Status: {"cmd":"report","model":"","sid":"158d0003cbe6e8","short_id":44412,"data":"{\"channel_1\":\"on\"}"}
2020-03-16 21:26:51.318 Status: XiaomiGateway (ID=2): unhandled model: , name: Xiaomi Switch
2020-03-16 21:26:51.318 Status: {"cmd":"report","model":"","sid":"158d0003cbe6e8","short_id":44412,"data":"{\"channel_1\":\"off\"}"}
2020-03-16 21:26:53.828 Status: XiaomiGateway (ID=2): unhandled model: , name: Xiaomi Switch
2020-03-16 21:26:53.828 Status: {"cmd":"report","model":"","sid":"158d0003cbe6e8","short_id":44412,"data":"{\"channel_0\":\"off\"}"}
2020-03-16 21:27:38.541 Status: XiaomiGateway (ID=2): unhandled model: , name: Xiaomi Switch
2020-03-16 21:27:38.541 Status: {"cmd":"report","model":"","sid":"158d0003cbe6e8","short_id":44412,"data":"{\"channel_0\":\"off\"}"}
2020-03-16 21:27:38.595 Status: XiaomiGateway (ID=2): unhandled model: , name: Xiaomi Switch
2020-03-16 21:27:38.595 Status: {"cmd":"report","model":"","sid":"158d0003cbe6e8","short_id":44412,"data":"{\"channel_1\":\"off\"}"}
2020-03-16 21:27:40.583 Status: XiaomiGateway (ID=2): unhandled model: , name: Xiaomi Switch
2020-03-16 21:27:40.584 Status: {"cmd":"heartbeat","model":"","sid":"158d0003cbe6e8","short_id":44412,"data":"{\"voltage\":3600}"}
Model seems to be empty so there is not much we can do then wait until this is fixed. Or is there another way of getting in contact with the Xiaomi developers?
Re: Support for LLKZMK11LM Aqara wireless relay controller
Posted: Tuesday 28 July 2020 8:50
by 19leva89
Good afternoon, tell me if the situation with relay LLKZMK11LM support has changed? I see that the Xiaomi HUB sees it, but there is no choice of switches.
Re: Support for LLKZMK11LM Aqara wireless relay controller
Posted: Tuesday 28 July 2020 9:04
by Huupke
You can use the relay only on the gateway itself but not through the API. This means that you (still) can't control it from Domoticz.
You could use the (double) wired switch though as an alternative.
Re: Support for LLKZMK11LM Aqara wireless relay controller
Posted: Wednesday 29 July 2020 8:07
by 19leva89
You have plans to add support for LLKZMK11LM Aqara wireless relay controller in future?
Re: Support for LLKZMK11LM Aqara wireless relay controller
Posted: Wednesday 29 July 2020 9:55
by 19leva89
There is already support in the Xiaomi gateway:
Version code: 272
Gateway ID:83872***
Zigbee channel:20
Gateway information:
{"ap":{"bssid":"EC:41:18:9D:**:**","rssi":-53,"ssid":"******"},"cfg_time":0,"fw_ver":"1.4.1_176","hw_ver":"MW300","life":452***,"mac":"78:11:DC:FB:**:**","mcu_fw_ver":"0220","mmfree":163***,"model":"lumi.gateway.v3","netif":{"gw":"192.168.**.**","gw_mac":"EC:41:18:**:**:**","localIp":"192.168.**.**","mask":"255.255.255.0"},"ot":"otu","ott_stat":[0,0,0,0],"otu_stat":[309,281,31530,10,*****,****],"token":"7438c2a00c892816********************","wifi_fw_ver":"SD878x-14.76.36.p84-702.1.0-WM"}
Sub-device information:
*{"model":"lumi.relay.c2acn01","did":"lumi.158d0003c******","name":"********"},
*{"model":"lumi.relay.c2acn01","did":"lumi.158d000********","name":"*********"},
Re: Support for LLKZMK11LM Aqara wireless relay controller
Posted: Wednesday 29 July 2020 14:09
by Huupke
On the API the model is still empty. Please submit a request on the forum:
https://bbs.opencloud.aqara.com/
As soon as this is fixed I'll add the support in Domoticz.
Re: Support for LLKZMK11LM Aqara wireless relay controller
Posted: Friday 31 July 2020 8:36
by 19leva89
I wrote to Aqara technical support, they do not answer, a waste of time! Tell me, maybe you know, I read that in Home Assistance such relays can be connected and everything works there.