Skip to content

Commit 38edd0c

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 6ddbbad commit 38edd0c

23 files changed

+1811
-312
lines changed

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
@@ -1475,6 +1521,20 @@ matterManufacturer:
14751521
productId: 0x0001
14761522
deviceProfileName: switch-binary
14771523

1524+
# SmartWave
1525+
- id: "5376/10001"
1526+
deviceLabel: SmartWave Motorized Roller Shades 100 Blackout Flex
1527+
vendorId: 0x1500
1528+
productId: 0x2711
1529+
deviceProfileName: window-covering-battery
1530+
1531+
# SmartWings
1532+
- id: "5231/4097"
1533+
deviceLabel: SmartWings Window Covering
1534+
vendorId: 0x146F
1535+
productId: 0x1001
1536+
deviceProfileName: window-covering-battery
1537+
14781538
#SONOFF
14791539
- id: "SONOFF MINIR4M"
14801540
deviceLabel: Smart Plug-in Unit
@@ -1530,6 +1590,112 @@ matterManufacturer:
15301590
vendorId: 0x147F
15311591
productId: 0x0002
15321592
deviceProfileName: light-color-level-2700K-6500K
1593+
#WISTAR
1594+
- id: "5207/3"
1595+
deviceLabel: WISTAR WSERD16-B Smart Tubular Motor
1596+
vendorId: 0x1457
1597+
productId: 0x0003
1598+
deviceProfileName: window-covering-battery
1599+
- id: "5207/4"
1600+
deviceLabel: WISTAR WSERD24 Smart Tubular Motor
1601+
vendorId: 0x1457
1602+
productId: 0x0004
1603+
deviceProfileName: window-covering
1604+
- id: "5207/5"
1605+
deviceLabel: WISTAR WSERD40-B Smart Tubular Motor
1606+
vendorId: 0x1457
1607+
productId: 0x0005
1608+
deviceProfileName: window-covering-battery
1609+
- id: "5207/6"
1610+
deviceLabel: WISTAR WSERD40-L Smart Tubular Motor
1611+
vendorId: 0x1457
1612+
productId: 0x0006
1613+
deviceProfileName: window-covering-battery
1614+
- id: "5207/7"
1615+
deviceLabel: WISTAR WSERD40-T Smart Tubular Motor
1616+
vendorId: 0x1457
1617+
productId: 0x0007
1618+
deviceProfileName: window-covering
1619+
- id: "5207/8"
1620+
deviceLabel: WISTAR WSERD50-B Smart Tubular Motor
1621+
vendorId: 0x1457
1622+
productId: 0x0008
1623+
deviceProfileName: window-covering-battery
1624+
- id: "5207/9"
1625+
deviceLabel: WISTAR WSERD50-L Smart Tubular Motor
1626+
vendorId: 0x1457
1627+
productId: 0x0009
1628+
deviceProfileName: window-covering-battery
1629+
- id: "5207/16"
1630+
deviceLabel: WISTAR WSERD50-T Smart Tubular Motor
1631+
vendorId: 0x1457
1632+
productId: 0x0010
1633+
deviceProfileName: window-covering
1634+
- id: "5207/19"
1635+
deviceLabel: WISTAR WSER60 Smart Tubular Motor
1636+
vendorId: 0x1457
1637+
productId: 0x0013
1638+
deviceProfileName: window-covering
1639+
- id: "5207/17"
1640+
deviceLabel: WISTAR WSER40 Smart Tubular Motor
1641+
vendorId: 0x1457
1642+
productId: 0x0011
1643+
deviceProfileName: window-covering
1644+
- id: "5207/18"
1645+
deviceLabel: WISTAR WSER50 Smart Tubular Motor
1646+
vendorId: 0x1457
1647+
productId: 0x0012
1648+
deviceProfileName: window-covering
1649+
- id: "5207/2"
1650+
deviceLabel: WISTAR WSERD30-B Smart Tubular Motor
1651+
vendorId: 0x1457
1652+
productId: 0x0002
1653+
deviceProfileName: window-covering-battery
1654+
- id: "5207/22"
1655+
deviceLabel: WISTAR WSCMXH Smart Vertical Blind Motor
1656+
vendorId: 0x1457
1657+
productId: 0x0016
1658+
deviceProfileName: window-covering-tilt
1659+
- id: "5207/23"
1660+
deviceLabel: WISTAR WSCMXF Smart Vertical Blind Motor
1661+
vendorId: 0x1457
1662+
productId: 0x0017
1663+
deviceProfileName: window-covering-tilt
1664+
- id: "5207/24"
1665+
deviceLabel: WISTAR WSCMXF-LED Smart Vertical Blind Motor
1666+
vendorId: 0x1457
1667+
productId: 0x0018
1668+
deviceProfileName: window-covering-tilt
1669+
- id: "5207/20"
1670+
deviceLabel: WISTAR WSCMQ Smart Curtain Motor
1671+
vendorId: 0x1457
1672+
productId: 0x0014
1673+
deviceProfileName: window-covering
1674+
- id: "5207/21"
1675+
deviceLabel: WISTAR WSCMXI Smart Curtain Motor
1676+
vendorId: 0x1457
1677+
productId: 0x0015
1678+
deviceProfileName: window-covering
1679+
- id: "5207/32"
1680+
deviceLabel: WISTAR WSCMT Smart Curtain Motor
1681+
vendorId: 0x1457
1682+
productId: 0x0020
1683+
deviceProfileName: window-covering
1684+
- id: "5207/34"
1685+
deviceLabel: WISTAR WSCMXB Smart Curtain Motor
1686+
vendorId: 0x1457
1687+
productId: 0x0022
1688+
deviceProfileName: window-covering
1689+
- id: "5207/35"
1690+
deviceLabel: WISTAR WSCMXC Smart Curtain Motor
1691+
vendorId: 0x1457
1692+
productId: 0x0023
1693+
deviceProfileName: window-covering
1694+
- id: "5207/38"
1695+
deviceLabel: WISTAR WSCMXJ Smart Curtain Motor
1696+
vendorId: 0x1457
1697+
productId: 0x0026
1698+
deviceProfileName: window-covering
15331699
#WiZ
15341700
- id: "WiZ A19"
15351701
deviceLabel: WiZ A19
@@ -3346,6 +3512,42 @@ matterManufacturer:
33463512
vendorId: 0x100B
33473513
productId: 0x22F4
33483514
deviceProfileName: light-color-level
3515+
#Yooksmart
3516+
- id: "5411/1052"
3517+
deviceLabel: Smart WindowCovering Series
3518+
vendorId: 0x1523
3519+
productId: 0x041C
3520+
deviceProfileName: window-covering-battery
3521+
- id: "5411/2660"
3522+
deviceLabel: Smart WindowCovering Series
3523+
vendorId: 0x1523
3524+
productId: 0x0A64
3525+
deviceProfileName: window-covering-battery
3526+
- id: "5411/2661"
3527+
deviceLabel: Smart WindowCovering Series
3528+
vendorId: 0x1523
3529+
productId: 0x0A65
3530+
deviceProfileName: window-covering-battery
3531+
- id: "5411/2662"
3532+
deviceLabel: Smart WindowCovering Series
3533+
vendorId: 0x1523
3534+
productId: 0x0A66
3535+
deviceProfileName: window-covering-battery
3536+
- id: "5411/2663"
3537+
deviceLabel: Smart WindowCovering Series
3538+
vendorId: 0x1523
3539+
productId: 0x0A67
3540+
deviceProfileName: window-covering-battery
3541+
- id: "5411/2664"
3542+
deviceLabel: Smart WindowCovering Series
3543+
vendorId: 0x1523
3544+
productId: 0x0A68
3545+
deviceProfileName: window-covering-battery
3546+
- id: "5411/2665"
3547+
deviceLabel: Smart WindowCovering Series
3548+
vendorId: 0x1523
3549+
productId: 0x0A69
3550+
deviceProfileName: window-covering-battery
33493551
#Zemismart
33503552
- id: "5020/61154"
33513553
deviceLabel: Zemismart Inline Module
@@ -3417,6 +3619,46 @@ matterManufacturer:
34173619
vendorId: 0x139C
34183620
productId: 0x0387
34193621
deviceProfileName: matter-bridge
3622+
- id: "Zemismart MT01 Slide Curtain"
3623+
deviceLabel: Zemismart MT01 Slide Curtain
3624+
vendorId: 0x139C
3625+
productId: 0xFFFE
3626+
deviceProfileName: window-covering
3627+
- id: "5020/65376"
3628+
deviceLabel: Zemismart MT25B Roller Motor
3629+
vendorId: 0x139C
3630+
productId: 0xFF60
3631+
deviceProfileName: window-covering
3632+
- id: "5020/65296"
3633+
deviceLabel: Zemismart MT82 Smart Curtain
3634+
vendorId: 0x139C
3635+
productId: 0xFF10
3636+
deviceProfileName: window-covering
3637+
- id: "5020/65301"
3638+
deviceLabel: Zemismart MT25A Thread Roller Motor
3639+
vendorId: 0x139C
3640+
productId: 0xFF15
3641+
deviceProfileName: window-covering
3642+
- id: "5020/64050"
3643+
deviceLabel: Zemismart ZM02 Smart Curtain
3644+
vendorId: 0x139C
3645+
productId: 0xFA32
3646+
deviceProfileName: window-covering
3647+
- id: "5020/64017"
3648+
deviceLabel: Zemismart ZM25C Smart Curtain
3649+
vendorId: 0x139C
3650+
productId: 0xFA11
3651+
deviceProfileName: window-covering
3652+
- id: "5020/64049"
3653+
deviceLabel: Zemismart ZM01 Smart Curtain
3654+
vendorId: 0x139C
3655+
productId: 0xFA31
3656+
deviceProfileName: window-covering
3657+
- id: "5020/64023"
3658+
deviceLabel: Zemismart ZM24A Smart Curtain
3659+
vendorId: 0x139C
3660+
productId: 0xFA17
3661+
deviceProfileName: window-covering
34203662
#Zimi
34213663
- id: "5410/3"
34223664
deviceLabel: Zimi Matter Connect
@@ -3647,6 +3889,11 @@ matterGeneric:
36473889
- id: 0x002B # Fan
36483890
- id: 0x0110 # Mounted Dimmable Load Control
36493891
deviceProfileName: fan-modular
3892+
- id: "windowcovering"
3893+
deviceLabel: Matter Window Covering
3894+
deviceTypes:
3895+
- id: 0x0202 # Window Covering
3896+
deviceProfileName: window-covering
36503897

36513898
matterThing:
36523899
- 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)