Support for LLKZMK11LM Aqara wireless relay controller

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

whitecube
Posts: 14
Joined: Wednesday 17 April 2019 8:26
Target OS: -
Domoticz version: 4.10603
Contact:

Support for LLKZMK11LM Aqara wireless relay controller

Post 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!
nighthawkii
Posts: 1
Joined: Wednesday 21 August 2019 13:34
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Support for LLKZMK11LM Aqara wireless relay controller

Post 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 !
whitecube
Posts: 14
Joined: Wednesday 17 April 2019 8:26
Target OS: -
Domoticz version: 4.10603
Contact:

Re: Support for LLKZMK11LM Aqara wireless relay controller

Post by whitecube »

you are right, i have two devices too.
they could be the relay. but domoticz detect it also as temphum...
whitecube
Posts: 14
Joined: Wednesday 17 April 2019 8:26
Target OS: -
Domoticz version: 4.10603
Contact:

Re: Support for LLKZMK11LM Aqara wireless relay controller

Post 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}"}
HFman
Posts: 82
Joined: Thursday 02 March 2017 20:28
Target OS: Linux
Domoticz version: V4.1174
Location: Netherlands
Contact:

Re: Support for LLKZMK11LM Aqara wireless relay controller

Post by HFman »

seems your zigbee controller doesn't support it yet.
Zigbee2Mqqt does already.
Did you update to the latest version ?
Last edited by HFman on Friday 18 October 2019 21:38, edited 1 time in total.
Raspberry PI 3 - Opentherm Gateway + ESP8826 - EvoHome - ESPEasy CO2 + Fancontrol - RF-Link - zigbee2mqqt -
whitecube
Posts: 14
Joined: Wednesday 17 April 2019 8:26
Target OS: -
Domoticz version: 4.10603
Contact:

Re: Support for LLKZMK11LM Aqara wireless relay controller

Post 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?
HFman
Posts: 82
Joined: Thursday 02 March 2017 20:28
Target OS: Linux
Domoticz version: V4.1174
Location: Netherlands
Contact:

Re: Support for LLKZMK11LM Aqara wireless relay controller

Post 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.
Raspberry PI 3 - Opentherm Gateway + ESP8826 - EvoHome - ESPEasy CO2 + Fancontrol - RF-Link - zigbee2mqqt -
whitecube
Posts: 14
Joined: Wednesday 17 April 2019 8:26
Target OS: -
Domoticz version: 4.10603
Contact:

Re: Support for LLKZMK11LM Aqara wireless relay controller

Post by whitecube »

thank you!
i ordered yesterday the cc2351 stick, on tuesday i will test it :)
yann500
Posts: 15
Joined: Saturday 05 October 2019 22:57
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Support for LLKZMK11LM Aqara wireless relay controller

Post 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
whitecube
Posts: 14
Joined: Wednesday 17 April 2019 8:26
Target OS: -
Domoticz version: 4.10603
Contact:

Re: Support for LLKZMK11LM Aqara wireless relay controller

Post 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...)
HFman
Posts: 82
Joined: Thursday 02 March 2017 20:28
Target OS: Linux
Domoticz version: V4.1174
Location: Netherlands
Contact:

Re: Support for LLKZMK11LM Aqara wireless relay controller

Post 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 :)
Raspberry PI 3 - Opentherm Gateway + ESP8826 - EvoHome - ESPEasy CO2 + Fancontrol - RF-Link - zigbee2mqqt -
whitecube
Posts: 14
Joined: Wednesday 17 April 2019 8:26
Target OS: -
Domoticz version: 4.10603
Contact:

Re: Support for LLKZMK11LM Aqara wireless relay controller

Post 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.
yann500
Posts: 15
Joined: Saturday 05 October 2019 22:57
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Support for LLKZMK11LM Aqara wireless relay controller

Post 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'
Huupke
Posts: 25
Joined: Monday 21 October 2019 10:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Boxtel, Netherlands
Contact:

Re: Support for LLKZMK11LM Aqara wireless relay controller

Post 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?
Running V2024.4 on RPi3B+ & development/HEAD on RPi4B
19leva89
Posts: 12
Joined: Tuesday 28 July 2020 8:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2.1
Contact:

Re: Support for LLKZMK11LM Aqara wireless relay controller

Post 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.
Huupke
Posts: 25
Joined: Monday 21 October 2019 10:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Boxtel, Netherlands
Contact:

Re: Support for LLKZMK11LM Aqara wireless relay controller

Post 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.
Running V2024.4 on RPi3B+ & development/HEAD on RPi4B
19leva89
Posts: 12
Joined: Tuesday 28 July 2020 8:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2.1
Contact:

Re: Support for LLKZMK11LM Aqara wireless relay controller

Post by 19leva89 »

You have plans to add support for LLKZMK11LM Aqara wireless relay controller in future?
19leva89
Posts: 12
Joined: Tuesday 28 July 2020 8:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2.1
Contact:

Re: Support for LLKZMK11LM Aqara wireless relay controller

Post 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":"*********"},
Huupke
Posts: 25
Joined: Monday 21 October 2019 10:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Boxtel, Netherlands
Contact:

Re: Support for LLKZMK11LM Aqara wireless relay controller

Post 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.
Running V2024.4 on RPi3B+ & development/HEAD on RPi4B
19leva89
Posts: 12
Joined: Tuesday 28 July 2020 8:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2.1
Contact:

Re: Support for LLKZMK11LM Aqara wireless relay controller

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest