Skip to content

Commit 2cf8059

Browse files
authored
Aqara LED Strip T1 (dresden-elektronik#7201)
* Update constants.json Add `$MF_AQARA` * Create lumi_light_acn132.json * Update lumi_light_acn132.json Fix attr/swversion * Update general.xml Additional attributes for Aqara LED Strip T1. * Update lumi_light_acn132.json * Add resource items for Aqara LED Strip T1 * Update rest_lights.cpp Add support for Aqara LED Strip T1 * Update lumi_light_acn132.json * Update lumi_light_acn132.json - Reformat; - Add missing `dt` to `write` of `config/color/gradient/pixel_count`. * Update lumi_light_acn132.json * Update lumi_light_acn132.json * Update light_node.cpp 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.
1 parent 1ed4a33 commit 2cf8059

10 files changed

+491
-4
lines changed

devices/generic/constants.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"schema": "constants1.schema.json",
33

44
"manufacturers" : {
5+
"$MF_AQARA": "Aqara",
56
"$MF_BOSCH": "Bosch",
67
"$MF_IKEA": "IKEA of Sweden",
78
"$MF_LUMI": "LUMI",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"schema": "resourceitem1.schema.json",
3+
"id": "attr/swversion_bis",
4+
"datatype": "String",
5+
"access": "R",
6+
"public": true,
7+
"implicit" : true,
8+
"description": "Firmware version of the device."
9+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"schema": "resourceitem1.schema.json",
3+
"id": "config/color/gradient/pixel_count",
4+
"datatype": "UInt8",
5+
"access": "RW",
6+
"public": true,
7+
"description": "Number of pixels on Aqara LED Strip T1."
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"schema": "resourceitem1.schema.json",
3+
"id": "state/music_sync",
4+
"datatype": "Bool",
5+
"access": "RW",
6+
"public": true,
7+
"description": "Music sync on or off."
8+
}

0 commit comments

Comments
 (0)