Skip to content

Commit 29b30bb

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 5e0a04e commit 29b30bb

19 files changed

Lines changed: 1740 additions & 258 deletions

drivers/SmartThings/matter-switch/fingerprints.yml

Lines changed: 248 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,36 @@ matterManufacturer:
278278
vendorId: 0x130A
279279
productId: 0x0043
280280
deviceProfileName: switch-binary
281+
- id: "Eve MotionBlinds"
282+
deviceLabel: Eve MotionBlinds
283+
vendorId: 0x130A
284+
productId: 0x55
285+
deviceProfileName: window-covering-battery
286+
- id: "4874/109"
287+
deviceLabel: Eve MotionBlinds for Roller Blinds
288+
vendorId: 0x130A
289+
productId: 0x006D
290+
deviceProfileName: window-covering-battery
291+
- id: "4874/98"
292+
deviceLabel: Eve MotionBlinds for Honeycomb Blinds
293+
vendorId: 0x130A
294+
productId: 0x0062
295+
deviceProfileName: window-covering-battery
296+
- id: "4874/99"
297+
deviceLabel: Eve MotionBlinds for Venetian Blinds
298+
vendorId: 0x130A
299+
productId: 0x0063
300+
deviceProfileName: window-covering-battery
301+
- id: "4874/100"
302+
deviceLabel: Eve MotionBlinds for Curtains
303+
vendorId: 0x130A
304+
productId: 0x0064
305+
deviceProfileName: window-covering-battery
306+
- id: "4874/96"
307+
deviceLabel: Eve Shutter Switch
308+
vendorId: 0x130A
309+
productId: 0x0060
310+
deviceProfileName: window-covering
281311

282312
#Ezviz
283313
- id: "5172/4096"
@@ -754,13 +784,18 @@ matterManufacturer:
754784
vendorId: 0x100B
755785
productId: 0x0800
756786
deviceProfileName: light-level-colorTemperature
787+
# Griesser
788+
- id: "5435/14337"
789+
deviceLabel: MSM-1
790+
vendorId: 0x153B
791+
productId: 0x3801
792+
deviceProfileName: window-covering-tilt
757793
# Intecular
758794
- id: "5226/32769"
759795
deviceLabel: InvisOutlet
760796
vendorId: 0x146A
761797
productId: 0x8001
762798
deviceProfileName: plug-binary
763-
764799
#Ledvance
765800
- id: "4489/843"
766801
deviceLabel: Matter Filament RGBW
@@ -1266,6 +1301,12 @@ matterManufacturer:
12661301
vendorId: 0x102E
12671302
productId: 0x2250
12681303
deviceProfileName: button-battery
1304+
# Mamaba
1305+
- id: "4965/4097"
1306+
deviceLabel: Wi-Fi Curtain
1307+
vendorId: 0x1365
1308+
productId: 0x1001
1309+
deviceProfileName: window-covering
12691310
#Meross
12701311
- id: "4933/40987"
12711312
deviceLabel: Smart Wi-Fi Switch
@@ -1282,6 +1323,11 @@ matterManufacturer:
12821323
vendorId: 0x1345
12831324
productId: 0xB001
12841325
deviceProfileName: switch-binary
1326+
- id: "4933/61453"
1327+
deviceLabel: Smart Wi-Fi Roller Shutter Timer
1328+
vendorId: 0x1345
1329+
productId: 0xF00D
1330+
deviceProfileName: window-covering
12851331
#Nanoleaf
12861332
- id: "Nanoleaf NL53"
12871333
deviceLabel: Essentials BR30
@@ -1880,6 +1926,20 @@ matterManufacturer:
18801926
productId: 0x0001
18811927
deviceProfileName: switch-binary
18821928

1929+
# SmartWave
1930+
- id: "5376/10001"
1931+
deviceLabel: SmartWave Motorized Roller Shades 100 Blackout Flex
1932+
vendorId: 0x1500
1933+
productId: 0x2711
1934+
deviceProfileName: window-covering-battery
1935+
1936+
# SmartWings
1937+
- id: "5231/4097"
1938+
deviceLabel: SmartWings Window Covering
1939+
vendorId: 0x146F
1940+
productId: 0x1001
1941+
deviceProfileName: window-covering-battery
1942+
18831943
#SONOFF
18841944
- id: "SONOFF MINIR4M"
18851945
deviceLabel: Smart Plug-in Unit
@@ -1935,6 +1995,112 @@ matterManufacturer:
19351995
vendorId: 0x147F
19361996
productId: 0x0002
19371997
deviceProfileName: light-color-level-2700K-6500K
1998+
#WISTAR
1999+
- id: "5207/3"
2000+
deviceLabel: WISTAR WSERD16-B Smart Tubular Motor
2001+
vendorId: 0x1457
2002+
productId: 0x0003
2003+
deviceProfileName: window-covering-battery
2004+
- id: "5207/4"
2005+
deviceLabel: WISTAR WSERD24 Smart Tubular Motor
2006+
vendorId: 0x1457
2007+
productId: 0x0004
2008+
deviceProfileName: window-covering
2009+
- id: "5207/5"
2010+
deviceLabel: WISTAR WSERD40-B Smart Tubular Motor
2011+
vendorId: 0x1457
2012+
productId: 0x0005
2013+
deviceProfileName: window-covering-battery
2014+
- id: "5207/6"
2015+
deviceLabel: WISTAR WSERD40-L Smart Tubular Motor
2016+
vendorId: 0x1457
2017+
productId: 0x0006
2018+
deviceProfileName: window-covering-battery
2019+
- id: "5207/7"
2020+
deviceLabel: WISTAR WSERD40-T Smart Tubular Motor
2021+
vendorId: 0x1457
2022+
productId: 0x0007
2023+
deviceProfileName: window-covering
2024+
- id: "5207/8"
2025+
deviceLabel: WISTAR WSERD50-B Smart Tubular Motor
2026+
vendorId: 0x1457
2027+
productId: 0x0008
2028+
deviceProfileName: window-covering-battery
2029+
- id: "5207/9"
2030+
deviceLabel: WISTAR WSERD50-L Smart Tubular Motor
2031+
vendorId: 0x1457
2032+
productId: 0x0009
2033+
deviceProfileName: window-covering-battery
2034+
- id: "5207/16"
2035+
deviceLabel: WISTAR WSERD50-T Smart Tubular Motor
2036+
vendorId: 0x1457
2037+
productId: 0x0010
2038+
deviceProfileName: window-covering
2039+
- id: "5207/19"
2040+
deviceLabel: WISTAR WSER60 Smart Tubular Motor
2041+
vendorId: 0x1457
2042+
productId: 0x0013
2043+
deviceProfileName: window-covering
2044+
- id: "5207/17"
2045+
deviceLabel: WISTAR WSER40 Smart Tubular Motor
2046+
vendorId: 0x1457
2047+
productId: 0x0011
2048+
deviceProfileName: window-covering
2049+
- id: "5207/18"
2050+
deviceLabel: WISTAR WSER50 Smart Tubular Motor
2051+
vendorId: 0x1457
2052+
productId: 0x0012
2053+
deviceProfileName: window-covering
2054+
- id: "5207/2"
2055+
deviceLabel: WISTAR WSERD30-B Smart Tubular Motor
2056+
vendorId: 0x1457
2057+
productId: 0x0002
2058+
deviceProfileName: window-covering-battery
2059+
- id: "5207/22"
2060+
deviceLabel: WISTAR WSCMXH Smart Vertical Blind Motor
2061+
vendorId: 0x1457
2062+
productId: 0x0016
2063+
deviceProfileName: window-covering-tilt
2064+
- id: "5207/23"
2065+
deviceLabel: WISTAR WSCMXF Smart Vertical Blind Motor
2066+
vendorId: 0x1457
2067+
productId: 0x0017
2068+
deviceProfileName: window-covering-tilt
2069+
- id: "5207/24"
2070+
deviceLabel: WISTAR WSCMXF-LED Smart Vertical Blind Motor
2071+
vendorId: 0x1457
2072+
productId: 0x0018
2073+
deviceProfileName: window-covering-tilt
2074+
- id: "5207/20"
2075+
deviceLabel: WISTAR WSCMQ Smart Curtain Motor
2076+
vendorId: 0x1457
2077+
productId: 0x0014
2078+
deviceProfileName: window-covering
2079+
- id: "5207/21"
2080+
deviceLabel: WISTAR WSCMXI Smart Curtain Motor
2081+
vendorId: 0x1457
2082+
productId: 0x0015
2083+
deviceProfileName: window-covering
2084+
- id: "5207/32"
2085+
deviceLabel: WISTAR WSCMT Smart Curtain Motor
2086+
vendorId: 0x1457
2087+
productId: 0x0020
2088+
deviceProfileName: window-covering
2089+
- id: "5207/34"
2090+
deviceLabel: WISTAR WSCMXB Smart Curtain Motor
2091+
vendorId: 0x1457
2092+
productId: 0x0022
2093+
deviceProfileName: window-covering
2094+
- id: "5207/35"
2095+
deviceLabel: WISTAR WSCMXC Smart Curtain Motor
2096+
vendorId: 0x1457
2097+
productId: 0x0023
2098+
deviceProfileName: window-covering
2099+
- id: "5207/38"
2100+
deviceLabel: WISTAR WSCMXJ Smart Curtain Motor
2101+
vendorId: 0x1457
2102+
productId: 0x0026
2103+
deviceProfileName: window-covering
19382104
#WiZ
19392105
- id: "WiZ A19"
19402106
deviceLabel: WiZ A19
@@ -3751,6 +3917,42 @@ matterManufacturer:
37513917
vendorId: 0x100B
37523918
productId: 0x22F4
37533919
deviceProfileName: light-color-level
3920+
#Yooksmart
3921+
- id: "5411/1052"
3922+
deviceLabel: Smart WindowCovering Series
3923+
vendorId: 0x1523
3924+
productId: 0x041C
3925+
deviceProfileName: window-covering-battery
3926+
- id: "5411/2660"
3927+
deviceLabel: Smart WindowCovering Series
3928+
vendorId: 0x1523
3929+
productId: 0x0A64
3930+
deviceProfileName: window-covering-battery
3931+
- id: "5411/2661"
3932+
deviceLabel: Smart WindowCovering Series
3933+
vendorId: 0x1523
3934+
productId: 0x0A65
3935+
deviceProfileName: window-covering-battery
3936+
- id: "5411/2662"
3937+
deviceLabel: Smart WindowCovering Series
3938+
vendorId: 0x1523
3939+
productId: 0x0A66
3940+
deviceProfileName: window-covering-battery
3941+
- id: "5411/2663"
3942+
deviceLabel: Smart WindowCovering Series
3943+
vendorId: 0x1523
3944+
productId: 0x0A67
3945+
deviceProfileName: window-covering-battery
3946+
- id: "5411/2664"
3947+
deviceLabel: Smart WindowCovering Series
3948+
vendorId: 0x1523
3949+
productId: 0x0A68
3950+
deviceProfileName: window-covering-battery
3951+
- id: "5411/2665"
3952+
deviceLabel: Smart WindowCovering Series
3953+
vendorId: 0x1523
3954+
productId: 0x0A69
3955+
deviceProfileName: window-covering-battery
37543956
#Zemismart
37553957
- id: "5020/61154"
37563958
deviceLabel: Zemismart Inline Module
@@ -3822,6 +4024,46 @@ matterManufacturer:
38224024
vendorId: 0x139C
38234025
productId: 0x0387
38244026
deviceProfileName: matter-bridge
4027+
- id: "Zemismart MT01 Slide Curtain"
4028+
deviceLabel: Zemismart MT01 Slide Curtain
4029+
vendorId: 0x139C
4030+
productId: 0xFFFE
4031+
deviceProfileName: window-covering
4032+
- id: "5020/65376"
4033+
deviceLabel: Zemismart MT25B Roller Motor
4034+
vendorId: 0x139C
4035+
productId: 0xFF60
4036+
deviceProfileName: window-covering
4037+
- id: "5020/65296"
4038+
deviceLabel: Zemismart MT82 Smart Curtain
4039+
vendorId: 0x139C
4040+
productId: 0xFF10
4041+
deviceProfileName: window-covering
4042+
- id: "5020/65301"
4043+
deviceLabel: Zemismart MT25A Thread Roller Motor
4044+
vendorId: 0x139C
4045+
productId: 0xFF15
4046+
deviceProfileName: window-covering
4047+
- id: "5020/64050"
4048+
deviceLabel: Zemismart ZM02 Smart Curtain
4049+
vendorId: 0x139C
4050+
productId: 0xFA32
4051+
deviceProfileName: window-covering
4052+
- id: "5020/64017"
4053+
deviceLabel: Zemismart ZM25C Smart Curtain
4054+
vendorId: 0x139C
4055+
productId: 0xFA11
4056+
deviceProfileName: window-covering
4057+
- id: "5020/64049"
4058+
deviceLabel: Zemismart ZM01 Smart Curtain
4059+
vendorId: 0x139C
4060+
productId: 0xFA31
4061+
deviceProfileName: window-covering
4062+
- id: "5020/64023"
4063+
deviceLabel: Zemismart ZM24A Smart Curtain
4064+
vendorId: 0x139C
4065+
productId: 0xFA17
4066+
deviceProfileName: window-covering
38254067
#Zimi
38264068
- id: "5410/3"
38274069
deviceLabel: Zimi Matter Connect
@@ -4052,6 +4294,11 @@ matterGeneric:
40524294
- id: 0x002B # Fan
40534295
- id: 0x0110 # Mounted Dimmable Load Control
40544296
deviceProfileName: fan-modular
4297+
- id: "windowcovering"
4298+
deviceLabel: Matter Window Covering
4299+
deviceTypes:
4300+
- id: 0x0202 # Window Covering
4301+
deviceProfileName: window-covering
40554302

40564303
matterThing:
40574304
- id: SmartThings/MatterThing
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: window-covering-battery
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+
- id: battery
12+
version: 1
13+
- id: firmwareUpdate
14+
version: 1
15+
- id: refresh
16+
version: 1
17+
categories:
18+
- name: Blind
19+
preferences:
20+
- preferenceId: reverse
21+
explicit: true
22+
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: window-covering-batteryLevel
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+
- id: batteryLevel
12+
version: 1
13+
- id: firmwareUpdate
14+
version: 1
15+
- id: refresh
16+
version: 1
17+
categories:
18+
- name: Blind
19+
preferences:
20+
- preferenceId: reverse
21+
explicit: true
22+
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: window-covering-tilt-battery
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+
- id: windowShadeTiltLevel
12+
version: 1
13+
- id: battery
14+
version: 1
15+
- id: firmwareUpdate
16+
version: 1
17+
- id: refresh
18+
version: 1
19+
categories:
20+
- name: Blind
21+
preferences:
22+
- preferenceId: reverse
23+
explicit: true
24+

0 commit comments

Comments
 (0)