Repository navigation
Aqara LED Strip T1 - #7201
Merged
Merged
Aqara LED Strip T1#7201
Conversation
Add `$MF_AQARA`
Fix attr/swversion
Additional attributes for Aqara LED Strip T1.
Closed
Add support for Aqara LED Strip T1
- Reformat; - Add missing `dt` to `write` of `config/color/gradient/pixel_count`.
ebaauw
marked this pull request as ready for review
September 12, 2023 16:01
Dirty hack to prevent `state/effect` on `lumi.light.acn132`, but `setHaEndpoint()` is invoked before Device is available or _Manufacturer Code_, _Manufacturer Name_, and _Model Identifier_ have been read.
|
Is it possible to set strip lenght (without aqara hub) if I add an 1m extension kit ? If yes how ? Thk |
1 task done
|
@Cyrille63 > Is it possible to set strip lenght (without aqara hub) if I add an 1m extension kit ? If yes how ? Thk Using the API, through "config/color/gradient/pixel_count" you can change the number of segments of the LED strip. The value corresponds to the number of 20cm segments. The value is 10 by default, corresponding to the 2m starter kit. On the DeconzGUI, select the Led Strip and look for the parameter "Segments" at address 0x051B in the Lumi Specific section. |
Sumd84
added a commit
to Sumd84/deconz-rest-plugin
that referenced
this pull request
Mar 19, 2025
* Update general.xml Additional attributes for Aqara LED Strip T1: - Music Sync Effect - Music Sync Sensitivity * Update resource.cpp/.h Additional resource for Aqara LED Strip T1: - RStateMusicSyncEffect - RStateMusicSyncSensitivity * Create state_music_sync_effect_item.json * Create state_music_sync_sensitivity_item.json * Update lumi_light_acn132.json Add 2 attributs for music sync control: - "state/music_sync_effect" - "state/music_sync_sensitivity"
Sumd84
added a commit
to Sumd84/deconz-rest-plugin
that referenced
this pull request
Mar 19, 2025
* Update resource.cpp/.h Add "segments" attributs for Aqara LED Strip T1, in replacement of pixel_count: - RConfigColorGradientSegments * Create config_color_gradient_segments_item.json * Update lumi_light_acn132.json rename attribut for segments configuration: - "config/color/gradient/pixel_count" into "config/color/gradient/segments"
Sumd84
added a commit
to Sumd84/deconz-rest-plugin
that referenced
this pull request
Mar 19, 2025
Credit to Zigbee2MQTT project (https://github.com/Koenkk/zigbee-herdsman-converters), on which I gathered the new attributes. The Aqara LED Strip T1 provides 7 preset effects available via lumi.specific cluster: - Attribut 0x051F: Selection of one of the 7 preset effects - Attribut 0x0520: Set the speed of the selected preset effect * Update resource.cpp/.h Add new attributes for Aqara LED Strip T1: - RStatePresetEffect - RStatePresetSpeed * Create state_preset_effect_item.json * Create state_preset_speed_item.json * Update lumi_light_acn132.json Add attributes for preset effects controle: - "state/preset_effect" - "state/preset_speed"
Sumd84
added a commit
to Sumd84/deconz-rest-plugin
that referenced
this pull request
Mar 27, 2025
Credit to Zigbee2MQTT project (https://github.com/Koenkk/zigbee-herdsman-converters), on which I gathered the new attributes for preset effects control. Add control of preset effect. Add full control of music sync by adding effect and sensitivity. Slight refactor of the length configuration by using Segments in place of PixelCount. * Update general.xml The Aqara LED Strip T1 provides 7 preset effects available via lumi.specific cluster: - Attribut 0x051F: Selection of one of the 7 preset effects - Attribut 0x0520: Set the speed of the selected preset effect * Update resource.cpp/.h Add new attributes for Aqara LED Strip T1 music sync and preset effect control: - RStateMusicSyncEffect = "state/music_sync_effect" - RStateMusicSyncSensitivity = "state/music_sync_sensitivity" - RStatePresetEffect = "state/preset_effect" - RStatePresetSpeed = "state/preset_speed" - RConfigColorGradientSegments = "config/color/gradient/segments" * Update lumi_light_acn132.json Add attributes for music sync and preset effects control: - "state/music_sync_effect" - "state/music_sync_sensitivity" - "state/preset_effect" - "state/preset_speed" Rename "config/color/gradient/pixel_count" into "config/color/gradient/segments" * Create state_music_sync_effect_item.json * Create state_music_sync_sensitivity_item.json * Create state_preset_effect_item.json * Create state_preset_speed_item.json * Create config_color_gradient_segments_item.json
Sumd84
added a commit
to Sumd84/deconz-rest-plugin
that referenced
this pull request
Apr 7, 2025
Add control of preset effect.
Add full control of music sync by adding effect and sensitivity.
Slight refactor of the length configuration by using Segments in place of PixelCount.
* Update rest_lights.cpp
Add handling of the following attributs:
- RStateMusicSyncEffect ("state/music_sync_effect")
- RStateMusicSyncSensitivity "state/music_sync_sensitivity")
- RStatePresetEffect "state/preset_effect")
- RStatePresetSpeed ("state/preset_speed")
- RConfigColorGradientSegments ("config/color/gradient/segments")
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add initial support for the Aqara LED Strip T1, see #7200.
Aready working:
state/on,state/bri,state/ct,state/xy, andstate/alert;state/music_sync;config/color/gradient/pixel_count;Still to do:
state/effect;state/gradient.manufacturernameis sometimes exposed as"LUMI", even though _Manufacturer Name_ is"Aqara"`;state/effectis exposed, even though it's not included in the DDF.Color Loop Active is being called, even though the LED Strip T1 doesn't support this attribute.state/effectfrom being exposed. This also stops the polling of Color Loop Active. Somehow,addLightNode()is called way too early, before any of this info has been read and before theDeviceis created, so I cannot even check for a managed device.