Repository navigation
Aqara Smart LED Strip Driver #3295
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
base: main
Are you sure you want to change the base?
Changes from all commits
389a5c7
719404f
dde77e0
f3a85f7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| name: aqara-lightstrip-cct | ||
| components: | ||
| - id: main | ||
| capabilities: | ||
| - id: switch | ||
| version: 1 | ||
| - id: switchLevel | ||
| version: 1 | ||
| config: | ||
| values: | ||
| - key: "level.value" | ||
| range: [1, 100] | ||
| - id: colorTemperature | ||
| version: 1 | ||
| config: | ||
| values: | ||
| - key: "colorTemperature.value" | ||
| range: [2700, 6500] | ||
| - id: refresh | ||
| version: 1 | ||
| categories: | ||
| - name: Light | ||
| - id: lamp1 | ||
| capabilities: | ||
| - id: switch | ||
| version: 1 | ||
| - id: switchLevel | ||
| version: 1 | ||
| config: | ||
| values: | ||
| - key: "level.value" | ||
| range: [1, 100] | ||
| - id: colorTemperature | ||
| version: 1 | ||
| config: | ||
| values: | ||
| - key: "colorTemperature.value" | ||
| range: [2700, 6500] | ||
| categories: | ||
| - name: Light | ||
| - id: lamp2 | ||
| capabilities: | ||
| - id: switch | ||
| version: 1 | ||
| - id: switchLevel | ||
| version: 1 | ||
| config: | ||
| values: | ||
| - key: "level.value" | ||
| range: [1, 100] | ||
| - id: colorTemperature | ||
| version: 1 | ||
| config: | ||
| values: | ||
| - key: "colorTemperature.value" | ||
| range: [2700, 6500] | ||
| categories: | ||
| - name: Light | ||
| - id: mode | ||
| capabilities: | ||
| - id: mode | ||
| version: 1 | ||
| categories: | ||
| - name: Light | ||
| preferences: | ||
| - preferenceId: stse.restorePowerState | ||
| explicit: true | ||
| - preferenceId: stse.lightFadeInTimeInSec | ||
| explicit: true | ||
| - preferenceId: stse.lightFadeOutTimeInSec | ||
| explicit: true |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| name: aqara-lightstrip-rgbw | ||
| components: | ||
| - id: main | ||
| capabilities: | ||
| - id: switch | ||
| version: 1 | ||
| - id: switchLevel | ||
| version: 1 | ||
| config: | ||
| values: | ||
| - key: "level.value" | ||
| range: [1, 100] | ||
| - id: colorTemperature | ||
| version: 1 | ||
|
Comment on lines
+13
to
+14
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The CCT profile limits color temperature to 2700–6500 K, but the RGBW profile has no range config. The driver also never emits
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed. Added range [2700, 6500] to the colorTemperature capability in |
||
| config: | ||
| values: | ||
| - key: "colorTemperature.value" | ||
| range: [2700, 6500] | ||
| - id: colorControl | ||
| version: 1 | ||
| - id: refresh | ||
| version: 1 | ||
| categories: | ||
| - name: Light | ||
| - id: mode | ||
| capabilities: | ||
| - id: mode | ||
| version: 1 | ||
| categories: | ||
| - name: Light | ||
| preferences: | ||
| - preferenceId: stse.restorePowerState | ||
| explicit: true | ||
| - preferenceId: stse.lightFadeInTimeInSec | ||
| explicit: true | ||
| - preferenceId: stse.lightFadeOutTimeInSec | ||
| explicit: true | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| -- Copyright 2026 SmartThings, Inc. | ||
| -- Licensed under the Apache License, Version 2.0 | ||
|
|
||
| local FINGERPRINTS = require("aqara-strip.fingerprints") | ||
|
|
||
| return function(opts, driver, device) | ||
| for _, fingerprint in ipairs(FINGERPRINTS) do | ||
| if device:get_manufacturer() == fingerprint.mfr and device:get_model() == fingerprint.model then | ||
| local subdriver = require("aqara-strip") | ||
| return true, subdriver | ||
| end | ||
| end | ||
| return false | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| -- Copyright 2026 SmartThings, Inc. | ||
| -- Licensed under the Apache License, Version 2.0 | ||
|
|
||
| return { | ||
| { mfr = "LUMI", model = "lumi.dimmer.rcbac1" } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Should this just be
Aqara Smart LED Strip?Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the suggestion. "Aqara Smart LED Strip Driver"(
lumi.dimmer.rcbac1, retail code ZNDDMK11LM) is a distinct product from the "Aqara LED Strip T1" consumer light strip — the former is a standalone controller module for LED strips. Dropping "Driver" would make the two indistinguishable, so we'd like to keep the current label.