dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.88k stars 483 forks source link

Aqara Dual Relay Module T2 #7720

Open moddavid opened 2 months ago

moddavid commented 2 months ago

Is there already an existing issue for this?

Product name

Aqara Dual Relay Module T2 (DCM-K01)

Manufacturer

Xiaomi Aqara LUMI

Model identifier

lumi.switch.acn047

Device type to add

Switch

Node info

grafik

Endpoints and clusters

grafik

Basic

grafik grafik

Further relevant clusters

Electric Measurement

grafik grafik grafik grafik grafik grafik grafik

Simple Metering

grafik grafik grafik

Multistate Input (Basic)

grafik

On/Off

grafik grafik

Lumi Specific

grafik grafik grafik grafik grafik

Analog Input (Basic)

grafik

Additional information

Phoscon shows it currently as two On/Off lights. I have installed the T2 behind my existing roller shader switch to make it smart. While moving the shader up by activating the corresponding "light" worked, the other "light" for the down movement didn't do anything. I'm running the docker image deconzcommunity/deconz:2.26.3 on an Intel NUC with Conbee II.

gee-jay-bee commented 2 months ago

FWIW, I'm using 2.25 (via the community HA addon) and controlling a garage door using the T2 in a similar way (toggle each light on/off for a second to start the door moving either up or down depending on which light is chosen). Maybe I will hold off moving to 2.26!

Also, I have another T2 module to control a bathroom light and extractor fan and I am experiencing problems with the second relay output reporting that it is off when it is actually still on (the second relay is running the extractor fan). It correctly reports being on for an hour but then gets in a repeated pattern of reporting turning on / off every 5-15 minutes (but it is definitely still on).

Hoping that officially supporting this module might fix this?

SwoopX commented 2 months ago

Hi there.

Unfortunately, the screenshots indicate that the clusters have not been read properly. This page explains how to read clusters. Please take new ones and update the issue accordingly. Thanks a lot!

moddavid commented 2 months ago

Hi @SwoopX, thank you for the advice. I will prepare new screenshots based on the explanation page but it will take me some time to do so. I will update you when done. Maybe @gee-jay-bee can (optionally) help out to speed up the process ;).

gee-jay-bee commented 2 months ago

Screenshots taken in order shown (hope this is correct …):

IMG_6424 IMG_6425 IMG_6426 IMG_6427 IMG_6428 IMG_6429 IMG_6430 IMG_6431 IMG_6432 IMG_6433 IMG_6434 IMG_6435 IMG_6436 IMG_6437 IMG_6438 IMG_6439 IMG_6440 IMG_6441 IMG_6442 IMG_6443 IMG_6444

moddavid commented 2 months ago

@SwoopX sorry for the delay, here are the new screenshots:

Node Info grafik

Endpoints and clusters grafik

Basic grafik grafik

Electric Measurement grafik grafik grafik grafik grafik grafik grafik

Simple Metering grafik grafik grafik

Multistate Input (Basic) grafik

On/Off grafik grafik

Lumi Specific grafik grafik grafik grafik grafik

Lumi Specific (second device - this is the only one which was different) grafik grafik grafik grafik grafik

Analog Input (Basic) grafik

This time both up and down movement worked just fine, I'm not sure why it didn't work the last time.

github-actions[bot] commented 1 month ago

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

moddavid commented 1 month ago

Anything we can do here? For me right now two options are missing: Measuring the power consumption (like the Aqara smart plug SP-EUC01 - lumi.plug.maeu01) and the child lock (like the Aqara Thermostat E1 - lumi.airrtc.agl001).

github-actions[bot] commented 2 weeks ago

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

gee-jay-bee commented 2 weeks ago

Fwiw, I was experiencing some challenges with Deconz + Conbee II and finally took a chance on Zigbee2mqtt with a newer USB coordinator. This T2 is natively supported there and good news is the drop-out issue I was seeing isn't happening. There is power reporting (though it seems to be the combined power of both relays) but I don't see child lock. You can disconnect the relays from the inputs.

Deconz served me well for many years and I hope the new DDF strategy can accelerate device on-boarding. Good luck!

moddavid commented 2 weeks ago

I would rather don't stale this ticket for now. Maybe I find some time to compare the DDF files from the mentioned other devices to see if I get it somehow to work as intended.