Skip to content

Commit cb0bbcb

Browse files
Migrate Window Covering handling to Matter Switch
To support devices using the WindowCovering cluster in addition to light/switch/button endpoints, this moves the handling for window coverings into a subdriver within the switch driver. Note that the subdriver is called `closures`, since it will be expanded to cover more Matter 1.5 closure types.
1 parent ae55d8f commit cb0bbcb

14 files changed

Lines changed: 1842 additions & 378 deletions

File tree

drivers/SmartThings/matter-switch/fingerprints.yml

Lines changed: 248 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,36 @@ matterManufacturer:
293293
vendorId: 0x130A
294294
productId: 0x0043
295295
deviceProfileName: switch-binary
296+
- id: "Eve MotionBlinds"
297+
deviceLabel: Eve MotionBlinds
298+
vendorId: 0x130A
299+
productId: 0x55
300+
deviceProfileName: window-covering-modular
301+
- id: "4874/109"
302+
deviceLabel: Eve MotionBlinds for Roller Blinds
303+
vendorId: 0x130A
304+
productId: 0x006D
305+
deviceProfileName: window-covering-modular
306+
- id: "4874/98"
307+
deviceLabel: Eve MotionBlinds for Honeycomb Blinds
308+
vendorId: 0x130A
309+
productId: 0x0062
310+
deviceProfileName: window-covering-modular
311+
- id: "4874/99"
312+
deviceLabel: Eve MotionBlinds for Venetian Blinds
313+
vendorId: 0x130A
314+
productId: 0x0063
315+
deviceProfileName: window-covering-modular
316+
- id: "4874/100"
317+
deviceLabel: Eve MotionBlinds for Curtains
318+
vendorId: 0x130A
319+
productId: 0x0064
320+
deviceProfileName: window-covering-modular
321+
- id: "4874/96"
322+
deviceLabel: Eve Shutter Switch
323+
vendorId: 0x130A
324+
productId: 0x0060
325+
deviceProfileName: window-covering-modular
296326

297327
#Ezviz
298328
- id: "5172/4096"
@@ -777,13 +807,18 @@ matterManufacturer:
777807
vendorId: 0x100B
778808
productId: 0x0800
779809
deviceProfileName: light-level-colorTemperature
810+
# Griesser
811+
- id: "5435/14337"
812+
deviceLabel: MSM-1
813+
vendorId: 0x153B
814+
productId: 0x3801
815+
deviceProfileName: window-covering-modular
780816
# Intecular
781817
- id: "5226/32769"
782818
deviceLabel: InvisOutlet
783819
vendorId: 0x146A
784820
productId: 0x8001
785821
deviceProfileName: plug-binary
786-
787822
#Ledvance
788823
- id: "4489/843"
789824
deviceLabel: Matter Filament RGBW
@@ -1299,6 +1334,12 @@ matterManufacturer:
12991334
vendorId: 0x102E
13001335
productId: 0x2250
13011336
deviceProfileName: button-battery
1337+
# Mamaba
1338+
- id: "4965/4097"
1339+
deviceLabel: Wi-Fi Curtain
1340+
vendorId: 0x1365
1341+
productId: 0x1001
1342+
deviceProfileName: window-covering-modular
13021343
#Meross
13031344
- id: "4933/40987"
13041345
deviceLabel: Smart Wi-Fi Switch
@@ -1315,6 +1356,11 @@ matterManufacturer:
13151356
vendorId: 0x1345
13161357
productId: 0xB001
13171358
deviceProfileName: switch-binary
1359+
- id: "4933/61453"
1360+
deviceLabel: Smart Wi-Fi Roller Shutter Timer
1361+
vendorId: 0x1345
1362+
productId: 0xF00D
1363+
deviceProfileName: window-covering-modular
13181364
#Nanoleaf
13191365
- id: "Nanoleaf NL53"
13201366
deviceLabel: Essentials BR30
@@ -1924,6 +1970,20 @@ matterManufacturer:
19241970
productId: 0x0001
19251971
deviceProfileName: switch-binary
19261972

1973+
# SmartWave
1974+
- id: "5376/10001"
1975+
deviceLabel: SmartWave Motorized Roller Shades 100 Blackout Flex
1976+
vendorId: 0x1500
1977+
productId: 0x2711
1978+
deviceProfileName: window-covering-modular
1979+
1980+
# SmartWings
1981+
- id: "5231/4097"
1982+
deviceLabel: SmartWings Window Covering
1983+
vendorId: 0x146F
1984+
productId: 0x1001
1985+
deviceProfileName: window-covering-modular
1986+
19271987
#SONOFF
19281988
- id: "SONOFF MINIR4M"
19291989
deviceLabel: Smart Plug-in Unit
@@ -1979,6 +2039,112 @@ matterManufacturer:
19792039
vendorId: 0x147F
19802040
productId: 0x0002
19812041
deviceProfileName: light-color-level-2700K-6500K
2042+
#WISTAR
2043+
- id: "5207/3"
2044+
deviceLabel: WISTAR WSERD16-B Smart Tubular Motor
2045+
vendorId: 0x1457
2046+
productId: 0x0003
2047+
deviceProfileName: window-covering-modular
2048+
- id: "5207/4"
2049+
deviceLabel: WISTAR WSERD24 Smart Tubular Motor
2050+
vendorId: 0x1457
2051+
productId: 0x0004
2052+
deviceProfileName: window-covering-modular
2053+
- id: "5207/5"
2054+
deviceLabel: WISTAR WSERD40-B Smart Tubular Motor
2055+
vendorId: 0x1457
2056+
productId: 0x0005
2057+
deviceProfileName: window-covering-modular
2058+
- id: "5207/6"
2059+
deviceLabel: WISTAR WSERD40-L Smart Tubular Motor
2060+
vendorId: 0x1457
2061+
productId: 0x0006
2062+
deviceProfileName: window-covering-modular
2063+
- id: "5207/7"
2064+
deviceLabel: WISTAR WSERD40-T Smart Tubular Motor
2065+
vendorId: 0x1457
2066+
productId: 0x0007
2067+
deviceProfileName: window-covering-modular
2068+
- id: "5207/8"
2069+
deviceLabel: WISTAR WSERD50-B Smart Tubular Motor
2070+
vendorId: 0x1457
2071+
productId: 0x0008
2072+
deviceProfileName: window-covering-modular
2073+
- id: "5207/9"
2074+
deviceLabel: WISTAR WSERD50-L Smart Tubular Motor
2075+
vendorId: 0x1457
2076+
productId: 0x0009
2077+
deviceProfileName: window-covering-modular
2078+
- id: "5207/16"
2079+
deviceLabel: WISTAR WSERD50-T Smart Tubular Motor
2080+
vendorId: 0x1457
2081+
productId: 0x0010
2082+
deviceProfileName: window-covering-modular
2083+
- id: "5207/19"
2084+
deviceLabel: WISTAR WSER60 Smart Tubular Motor
2085+
vendorId: 0x1457
2086+
productId: 0x0013
2087+
deviceProfileName: window-covering-modular
2088+
- id: "5207/17"
2089+
deviceLabel: WISTAR WSER40 Smart Tubular Motor
2090+
vendorId: 0x1457
2091+
productId: 0x0011
2092+
deviceProfileName: window-covering-modular
2093+
- id: "5207/18"
2094+
deviceLabel: WISTAR WSER50 Smart Tubular Motor
2095+
vendorId: 0x1457
2096+
productId: 0x0012
2097+
deviceProfileName: window-covering-modular
2098+
- id: "5207/2"
2099+
deviceLabel: WISTAR WSERD30-B Smart Tubular Motor
2100+
vendorId: 0x1457
2101+
productId: 0x0002
2102+
deviceProfileName: window-covering-modular
2103+
- id: "5207/22"
2104+
deviceLabel: WISTAR WSCMXH Smart Vertical Blind Motor
2105+
vendorId: 0x1457
2106+
productId: 0x0016
2107+
deviceProfileName: window-covering-modular
2108+
- id: "5207/23"
2109+
deviceLabel: WISTAR WSCMXF Smart Vertical Blind Motor
2110+
vendorId: 0x1457
2111+
productId: 0x0017
2112+
deviceProfileName: window-covering-modular
2113+
- id: "5207/24"
2114+
deviceLabel: WISTAR WSCMXF-LED Smart Vertical Blind Motor
2115+
vendorId: 0x1457
2116+
productId: 0x0018
2117+
deviceProfileName: window-covering-modular
2118+
- id: "5207/20"
2119+
deviceLabel: WISTAR WSCMQ Smart Curtain Motor
2120+
vendorId: 0x1457
2121+
productId: 0x0014
2122+
deviceProfileName: window-covering-modular
2123+
- id: "5207/21"
2124+
deviceLabel: WISTAR WSCMXI Smart Curtain Motor
2125+
vendorId: 0x1457
2126+
productId: 0x0015
2127+
deviceProfileName: window-covering-modular
2128+
- id: "5207/32"
2129+
deviceLabel: WISTAR WSCMT Smart Curtain Motor
2130+
vendorId: 0x1457
2131+
productId: 0x0020
2132+
deviceProfileName: window-covering-modular
2133+
- id: "5207/34"
2134+
deviceLabel: WISTAR WSCMXB Smart Curtain Motor
2135+
vendorId: 0x1457
2136+
productId: 0x0022
2137+
deviceProfileName: window-covering-modular
2138+
- id: "5207/35"
2139+
deviceLabel: WISTAR WSCMXC Smart Curtain Motor
2140+
vendorId: 0x1457
2141+
productId: 0x0023
2142+
deviceProfileName: window-covering-modular
2143+
- id: "5207/38"
2144+
deviceLabel: WISTAR WSCMXJ Smart Curtain Motor
2145+
vendorId: 0x1457
2146+
productId: 0x0026
2147+
deviceProfileName: window-covering-modular
19822148
#WiZ
19832149
- id: "WiZ A19"
19842150
deviceLabel: WiZ A19
@@ -3795,6 +3961,42 @@ matterManufacturer:
37953961
vendorId: 0x100B
37963962
productId: 0x22F4
37973963
deviceProfileName: light-color-level
3964+
#Yooksmart
3965+
- id: "5411/1052"
3966+
deviceLabel: Smart WindowCovering Series
3967+
vendorId: 0x1523
3968+
productId: 0x041C
3969+
deviceProfileName: window-covering-modular
3970+
- id: "5411/2660"
3971+
deviceLabel: Smart WindowCovering Series
3972+
vendorId: 0x1523
3973+
productId: 0x0A64
3974+
deviceProfileName: window-covering-modular
3975+
- id: "5411/2661"
3976+
deviceLabel: Smart WindowCovering Series
3977+
vendorId: 0x1523
3978+
productId: 0x0A65
3979+
deviceProfileName: window-covering-modular
3980+
- id: "5411/2662"
3981+
deviceLabel: Smart WindowCovering Series
3982+
vendorId: 0x1523
3983+
productId: 0x0A66
3984+
deviceProfileName: window-covering-modular
3985+
- id: "5411/2663"
3986+
deviceLabel: Smart WindowCovering Series
3987+
vendorId: 0x1523
3988+
productId: 0x0A67
3989+
deviceProfileName: window-covering-modular
3990+
- id: "5411/2664"
3991+
deviceLabel: Smart WindowCovering Series
3992+
vendorId: 0x1523
3993+
productId: 0x0A68
3994+
deviceProfileName: window-covering-modular
3995+
- id: "5411/2665"
3996+
deviceLabel: Smart WindowCovering Series
3997+
vendorId: 0x1523
3998+
productId: 0x0A69
3999+
deviceProfileName: window-covering-modular
37984000
#Zemismart
37994001
- id: "5020/61154"
38004002
deviceLabel: Zemismart Inline Module
@@ -3866,6 +4068,46 @@ matterManufacturer:
38664068
vendorId: 0x139C
38674069
productId: 0x0387
38684070
deviceProfileName: matter-bridge
4071+
- id: "Zemismart MT01 Slide Curtain"
4072+
deviceLabel: Zemismart MT01 Slide Curtain
4073+
vendorId: 0x139C
4074+
productId: 0xFFFE
4075+
deviceProfileName: window-covering-modular
4076+
- id: "5020/65376"
4077+
deviceLabel: Zemismart MT25B Roller Motor
4078+
vendorId: 0x139C
4079+
productId: 0xFF60
4080+
deviceProfileName: window-covering-modular
4081+
- id: "5020/65296"
4082+
deviceLabel: Zemismart MT82 Smart Curtain
4083+
vendorId: 0x139C
4084+
productId: 0xFF10
4085+
deviceProfileName: window-covering-modular
4086+
- id: "5020/65301"
4087+
deviceLabel: Zemismart MT25A Thread Roller Motor
4088+
vendorId: 0x139C
4089+
productId: 0xFF15
4090+
deviceProfileName: window-covering-modular
4091+
- id: "5020/64050"
4092+
deviceLabel: Zemismart ZM02 Smart Curtain
4093+
vendorId: 0x139C
4094+
productId: 0xFA32
4095+
deviceProfileName: window-covering-modular
4096+
- id: "5020/64017"
4097+
deviceLabel: Zemismart ZM25C Smart Curtain
4098+
vendorId: 0x139C
4099+
productId: 0xFA11
4100+
deviceProfileName: window-covering-modular
4101+
- id: "5020/64049"
4102+
deviceLabel: Zemismart ZM01 Smart Curtain
4103+
vendorId: 0x139C
4104+
productId: 0xFA31
4105+
deviceProfileName: window-covering-modular
4106+
- id: "5020/64023"
4107+
deviceLabel: Zemismart ZM24A Smart Curtain
4108+
vendorId: 0x139C
4109+
productId: 0xFA17
4110+
deviceProfileName: window-covering-modular
38694111
#Zimi
38704112
- id: "5410/3"
38714113
deviceLabel: Zimi Matter Connect
@@ -4096,6 +4338,11 @@ matterGeneric:
40964338
- id: 0x002B # Fan
40974339
- id: 0x0110 # Mounted Dimmable Load Control
40984340
deviceProfileName: fan-modular
4341+
- id: "matter/window/covering"
4342+
deviceLabel: Matter Window Covering
4343+
deviceTypes:
4344+
- id: 0x0202 # Window Covering
4345+
deviceProfileName: window-covering-modular
40994346

41004347
matterThing:
41014348
- id: SmartThings/MatterThing
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: window-covering
2+
components:
3+
- id: main
4+
capabilities:
5+
- id: windowShade
6+
version: 1
7+
- id: windowShadePreset
8+
version: 1
9+
- id: windowShadeLevel
10+
version: 1
11+
optional: true
12+
- id: windowShadeTiltLevel
13+
version: 1
14+
optional: true
15+
- id: battery
16+
version: 1
17+
optional: true
18+
- id: batteryLevel
19+
version: 1
20+
optional: true
21+
- id: firmwareUpdate
22+
version: 1
23+
- id: refresh
24+
version: 1
25+
categories:
26+
- name: Blind
27+
preferences:
28+
- preferenceId: reverse
29+
explicit: true

0 commit comments

Comments
 (0)