Skip to content

DDF for Xiaomi Aqara Smart Curtain Controller - #6894

Merged
manup merged 2 commits into
dresden-elektronik:masterfrom
ebaauw:lumi_curtain
Apr 16, 2023
Merged

DDF for Xiaomi Aqara Smart Curtain Controller#6894
manup merged 2 commits into
dresden-elektronik:masterfrom
ebaauw:lumi_curtain

Conversation

@ebaauw

@ebaauw ebaauw commented Apr 14, 2023

Copy link
Copy Markdown
Collaborator

This is the original mains-powered lumi.curtain from around 2017.

The DDF is pretty straightforward, but note:

  • state.on and state.bri are no longer exposed. These have been deprecated for Window Covering devices since 2020/04/08, so over three years now.
  • No bindings, but the device reports Current Position Lift Percentage to the coordinator out-of-the-box.
  • The device doesn't support DW Build ID, so swversion is based on Date Code.
  • The device also reports the current position as Present Value on the Analog Output (Basic) cluster. The legacy C++ code also considers this, but the DDF currently ignores it. I don't think I've ever seen a report from Analog Output without one on Window Covering.
  • The device supports a Reversed configuration setting, but this is currently not exposed, as the corresponding resource item (config/reversed?) hasn't been defined yet.
  • And, last but not least, state.lift reports % closed, as per ZCL spec. So 0 is fully open (in which case state.open is true, and 100 is fully closed. The device reports % open instead.

@ebaauw
ebaauw requested a review from manup April 14, 2023 12:15
@manup manup added this to the v2.22.0-beta milestone Apr 16, 2023
@manup
manup merged commit c013842 into dresden-elektronik:master Apr 16, 2023
@ebaauw
ebaauw deleted the lumi_curtain branch April 16, 2023 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants