Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aqara Ceiling Light T1M (CL-L02D) #7653

Open
1 task done
TUNER88 opened this issue Mar 4, 2024 · 31 comments
Open
1 task done

Aqara Ceiling Light T1M (CL-L02D) #7653

TUNER88 opened this issue Mar 4, 2024 · 31 comments

Comments

@TUNER88
Copy link

TUNER88 commented Mar 4, 2024

Is there already an existing issue for this?

  • I have searched the existing issues and there is none for my device

Product name

Aqara Ceiling Light T1M

Manufacturer

LUMI

Model identifier

lumi.light.acn032

Device type to add

Light

Node info

Screenshot 2024-03-04 at 20 32 11

Endpoints and clusters

Screenshot 2024-03-04 at 21 00 00

Basic

Screenshot_2024-03-04_at_20_30_01

Further relevant clusters

On/Off

Personal_—_deCONZ_–_Home_Assistant-2 Personal_—_deCONZ_–_Home_Assistant-12

Level Control

Personal_—_deCONZ_–_Home_Assistant Personal_—_deCONZ_–_Home_Assistant-11

Color Control

Personal_—_deCONZ_–_Home_Assistant-3 Personal_—_deCONZ_–_Home_Assistant-4 ======= Personal_—_deCONZ_–_Home_Assistant-8 Personal_—_deCONZ_–_Home_Assistant-9 Personal_—_deCONZ_–_Home_Assistant-10

Any other cluster of relevance/interest

Personal_—_deCONZ_–_Home_Assistant-5 Personal_—_deCONZ_–_Home_Assistant-6 Personal_—_deCONZ_–_Home_Assistant-7 Personal_—_deCONZ_–_Home_Assistant-13 Personal_—_deCONZ_–_Home_Assistant-14
Copy link
Contributor

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.

@github-actions github-actions bot added the stale label Mar 26, 2024
@TUNER88
Copy link
Author

TUNER88 commented Mar 28, 2024

Request is not stale, few more users (@to0b, @pimw1) are waiting for the support of the new device.

@github-actions github-actions bot removed the stale label Mar 29, 2024
Copy link
Contributor

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.

@github-actions github-actions bot added the stale label Apr 20, 2024
@pimw1
Copy link
Contributor

pimw1 commented Apr 20, 2024

This device has raving reviews all over the internet; from a commercial point of view it would (imho) be wise to bring support for it with all bells&whistles attached.

@Mimiix
Copy link
Collaborator

Mimiix commented Apr 20, 2024

If it was following the standard it should be working already out of the box.

@Smanar can you help with a DDF?

@Smanar
Copy link
Collaborator

Smanar commented Apr 20, 2024

If it was following the standard it should be working already out of the box.

Yes, exactly, what is the problem with this device ? What is working or not ?

@github-actions github-actions bot removed the stale label Apr 21, 2024
Copy link
Contributor

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.

@github-actions github-actions bot added the stale label May 12, 2024
@pimw1
Copy link
Contributor

pimw1 commented May 17, 2024

@TUNER88 , could you reply to the question of Smanar? :)

@ebaauw
Copy link
Collaborator

ebaauw commented May 17, 2024

I would suspect the main lamp to work out of the box (as a Color Temperature Light); Color Capabilities on the first endpoint correctly indicates it only supports Color Temperature. The colour ring on the second endpoint should be exposed as an Enhanced Color Light. The only issue with both endpoints is the ZHA device type: Color Dimmable Light; if memory serves, we needed whitelisting in the legacy code to correct that. Creating a DDF for this would be pretty straightforward. My main concern is that neither endpoint seems to support PowerOn On/Off.

The real challenge will be the effects on the colour ring. I suspect they use the LUMI specific cluster for these. We would need some serious sniffing while the light is connected to the Aqara app to reverse engineer how to control these. Probably need some serious JavaScript hacking for that, as we needed for the Hue gradient lights.

@github-actions github-actions bot removed the stale label May 18, 2024
Copy link
Contributor

github-actions bot commented Jun 8, 2024

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.

@github-actions github-actions bot added the stale label Jun 8, 2024
Copy link
Contributor

As there has not been any response in 28 days, this issue will be closed. @ OP: If this issue is solved post what fixed it for you. If it is not solved, request to get this opened again.

@ebaauw
Copy link
Collaborator

ebaauw commented Jun 15, 2024

Bump

@Paule-Panter
Copy link

Could anyone reopen this?

@Mimiix Mimiix reopened this Jul 23, 2024
@github-actions github-actions bot removed the stale label Jul 24, 2024
Copy link
Contributor

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.

@github-actions github-actions bot added the stale label Aug 14, 2024
@Paule-Panter
Copy link

Bump

@Mimiix
Copy link
Collaborator

Mimiix commented Aug 20, 2024

What's the issue with the light? @Paule-Panter please see the question of Smanar

@Paule-Panter
Copy link

I can switch both endpoints on/off.
Both endpoint are exposed as "Color dimmable light", but the first (main) endpoint has physically only 2colors (cw and ww). At the moment i can't switch/fade between this colours.
The outer ring has physically individual adressable LEDs.
It exposed as one "Color dimmable light", therefore it is only controlled as one light, so far.

@ebaauw
Copy link
Collaborator

ebaauw commented Aug 20, 2024

The device types are from ZHA. In ZLL / ZB3 terms, the first endpoint (main light) is a Color Temperature Light; the second (ring light) an Enhanced Color Light. Note that the second endpoint only contains RGB LEDs; colour temperature is emulated using these.

Both light endpoints seem to provide the same functions (apart, obviously, from the colour):

  • On/Off Cluster: Basic On, Off, and Toggle commands. No Off with Effect, no On with Timed Off. No Startup On/Off attribute. Xiaomi have a manufacturer specific variant of this (0xFCC0/0x0517);
  • Level Control cluster: basic commands, incl. Move to Level (with On/Off) work. Options, transition time attributes work. On Level just mirrors the current level and isn't settable. No Startup Current Level.
  • Color Control cluster: first enpoint only ct (from 153 to 370), second endpoint ct (same range, but emulated using RGB LEDs) and xy. No hs, no colorloop. It doesn't report the gamut. Startup Color Temperature is non-functional.
  • Groups cluster: reports 8 groups for each endpoint.
  • Scenes cluster: still need to look into that, particularly if it supports ct.
  • Lumi specific cluster: Poweron On/Off (0x0517) does work (RTFM: 0 is on, 1 is previous, 2 is off). Both endpoints report 10 segments (as per the attribute used for the LED strip). The Aqara app supports (non-colour) effects on the main light as well. These are using this cluster, but I need to look into the details.

ebaauw added a commit to ebaauw/deconz-rest-plugin that referenced this issue Aug 20, 2024
@ebaauw
Copy link
Collaborator

ebaauw commented Aug 20, 2024

Created an initial DDF, but the lights resource for the first endpoint somehow exposes state/xy. The corresponding attributes are also being polled. I suspect this is the legacy code dealing with Color Dimmable Light.

@Paule-Panter
Copy link

Thanks for this huge information and the ddf.
I'll try this after my holiday vacation.

I would like to read the 'RTFM' for the Lumi specific cluster with the crazy states, where can i find this?

BR Paule

@ebaauw
Copy link
Collaborator

ebaauw commented Aug 20, 2024

I'll try this after my holiday vacation.

Best set DDF Mode to Strict in the Control panel when testing the DDF. Otherwise the legacy code is kicking in, applying messages from one endpoint to the other resource, or ignoring them.
EDIT Should no longer be needed after adding the non-public xy to the resource for the first endpoint. Needs the legacy PR to suppress xy from being reported by the API, though.

I would like to read the 'RTFM' for the Lumi specific cluster with the crazy states, where can i find this?

I don't think there is a manual describing the LUMI specific cluster, at least not in a language I can read.

Most of our knowledge has been obtained through reverse engineering: changing stuff in the Aqara app while sniffing the Zigbee traffic between the Aqara hub and the device. This knowledge is documented in GitHub issue, and summarised in general.xml (use the Source, Luke).

@github-actions github-actions bot removed the stale label Aug 21, 2024
ebaauw added a commit to ebaauw/deconz-rest-plugin that referenced this issue Aug 21, 2024
Add non-public `state/x` and `state/y` to prevent the legacy code from kicking in.  See dresden-elektronik#7653
ebaauw added a commit to ebaauw/deconz-rest-plugin that referenced this issue Aug 21, 2024
Suppress non-public items from being displayed in a `lights` `state`.  Needed for dresden-elektronik#7653.
@ebaauw ebaauw linked a pull request Aug 21, 2024 that will close this issue
manup pushed a commit that referenced this issue Aug 26, 2024
Suppress non-public items from being displayed in a `lights` `state`.  Needed for #7653.
manup pushed a commit that referenced this issue Sep 5, 2024
See #7653.

Initial DDF, exposing both light endpoints: main light as Color Temperature Light and ring light as Extended Color Light. No support yet for dynamic effects, nor for gradients of the ring light.

Somehow, the ring won't dim at xy [0, 1] (red) or [0, 0] (blue). When mixing some other colour, like [0, 0.01] it will. Not sure what's happening here. Maybe we need to adjust the gamut slightly, to prevent [0, 0], and [0, 1]. At [1, 0] (green), it will dim.
Copy link
Contributor

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.

@github-actions github-actions bot added the stale label Sep 12, 2024
@ebaauw
Copy link
Collaborator

ebaauw commented Sep 12, 2024

Bump

@github-actions github-actions bot removed the stale label Sep 13, 2024
@carpii
Copy link

carpii commented Oct 1, 2024

Is this device fully supported under DeConz now?

I'm thinking of buying one, but its unclear if there are still outstanding issues to resolve here

@ebaauw
Copy link
Collaborator

ebaauw commented Oct 1, 2024

No support yet for special scenes nor for gradients, see #7895.

@oe-HH
Copy link

oe-HH commented Oct 4, 2024

I'd like to use/test the respective DDF, however my Lamp seems not to be seen by my RaspBee II deCONZ-gui at all. Does somebody have any experience or a link to a HowTo-page for connecting the T1M with RaspBee family of ZigBee adapters? (Perhaps I have also just a hardware issue with my lamp ...)
Thanks a lot!

@oe-HH
Copy link

oe-HH commented Oct 4, 2024

I'd like to use/test the respective DDF, however my Lamp seems not to be seen by my RaspBee II deCONZ-gui at all. Does somebody have any experience or a link to a HowTo-page for connecting the T1M with RaspBee family of ZigBee adapters? (Perhaps I have also just a hardware issue with my lamp ...) Thanks a lot!

I just figured out, that there was an issue with power supply caused by a defective wall switch which in turn caused some undervoltage or so. So lamp was just continously "breathing" (probably indicating a undocumented fault state).
After replacing the wall switch, the lamp behaved properly as described here and other forums using raspbee II, deCONZ and Home Assistant.

Copy link
Contributor

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.

@github-actions github-actions bot added the stale label Oct 26, 2024
@ebaauw
Copy link
Collaborator

ebaauw commented Oct 26, 2024

Bump

@github-actions github-actions bot removed the stale label Oct 27, 2024
Copy link
Contributor

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.

@github-actions github-actions bot added the stale label Nov 17, 2024
@ebaauw
Copy link
Collaborator

ebaauw commented Nov 17, 2024

Bump.

I finally managed to get the network key used by the Aqara M3 hub, by pairing an old device. Still need to sniff the traffic between the hub and the ceiling light to reverse engineer the effects.

@github-actions github-actions bot removed the stale label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants