Skip to content

Commit 8bd6218

Browse files
Merge branch 'SmartThingsCommunity:main' into Bosch_motion_sensor_support
2 parents b239142 + 2e7ffb9 commit 8bd6218

File tree

206 files changed

+8385
-4504
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

206 files changed

+8385
-4504
lines changed

drivers/SmartThings/matter-lock/fingerprints.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ matterManufacturer:
5151
vendorId: 0x1533
5252
productId: 0x0012
5353
deviceProfileName: lock-user-pin-battery
54+
#Kwikset
55+
- id: "5153/66"
56+
deviceLabel: Kwikset Halo Select Plus
57+
vendorId: 0x1421
58+
productId: 0x0042
59+
deviceProfileName: lock-user-pin-battery
5460
#Level
5561
- id: "4767/1"
5662
deviceLabel: Level Lock Plus (Matter)

drivers/SmartThings/matter-lock/src/new-matter-lock/init.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ local NEW_MATTER_LOCK_PRODUCTS = {
8282
{0x135D, 0x00B0}, -- Nuki, Smart Lock
8383
{0x15F2, 0x0001}, -- Viomi, AiSafety Smart Lock E100
8484
{0x158B, 0x0001}, -- Deasino, DS-MT01
85-
{0x10E1, 0x2002} -- VDA
85+
{0x10E1, 0x2002}, -- VDA
86+
{0x1421, 0x0042}, -- Kwikset Halo Select Plus
8687
}
8788

8889
local battery_support = {

drivers/SmartThings/matter-sensor/fingerprints.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ matterManufacturer:
1010
vendorId: 0x115F
1111
productId: 0x2003
1212
deviceProfileName: motion-illuminance-battery
13+
- id: "4447/8197"
14+
deviceLabel: Presence Multi-Sensor FP300
15+
vendorId: 0x115F
16+
productId: 0x2005
17+
deviceProfileName: motion-illuminance-temperature-humidity-batteryLevel
1318
#Bosch
1419
- id: 4617/12309
1520
deviceLabel: "Door/window contact II [M]"

drivers/SmartThings/matter-switch/fingerprints.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3073,6 +3073,11 @@ matterGeneric:
30733073
- id: 0x0101 # Dimmable Light
30743074
- id: 0x0107 # Occupancy Sensor
30753075
deviceProfileName: light-level-motion
3076+
- id: "matter/camera"
3077+
deviceLabel: Matter Camera
3078+
deviceTypes:
3079+
- id: 0x0142 # Camera
3080+
deviceProfileName: camera
30763081

30773082
matterThing:
30783083
- id: SmartThings/MatterThing
Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
name: camera
2+
components:
3+
- id: main
4+
capabilities:
5+
- id: webrtc
6+
version: 1
7+
optional: true
8+
- id: videoCapture2
9+
version: 1
10+
optional: true
11+
- id: videoStreamSettings
12+
version: 1
13+
optional: true
14+
- id: imageCapture
15+
version: 1
16+
optional: true
17+
- id: mechanicalPanTiltZoom
18+
version: 1
19+
optional: true
20+
- id: hdr
21+
version: 1
22+
optional: true
23+
- id: nightVision
24+
version: 1
25+
optional: true
26+
- id: imageControl
27+
version: 1
28+
optional: true
29+
- id: audioRecording
30+
version: 1
31+
optional: true
32+
- id: sounds
33+
version: 1
34+
optional: true
35+
- id: cameraPrivacyMode
36+
version: 1
37+
optional: true
38+
- id: zoneManagement
39+
version: 1
40+
optional: true
41+
- id: localMediaStorage
42+
version: 1
43+
optional: true
44+
- id: cameraViewportSettings
45+
version: 1
46+
optional: true
47+
- id: motionSensor
48+
version: 1
49+
optional: true
50+
- id: firmwareUpdate
51+
version: 1
52+
- id: refresh
53+
version: 1
54+
categories:
55+
- name: Camera
56+
- id: statusLed
57+
optional: true
58+
capabilities:
59+
- id: switch
60+
version: 1
61+
optional: true
62+
- id: mode
63+
version: 1
64+
optional: true
65+
- id: speaker
66+
optional: true
67+
capabilities:
68+
- id: audioMute
69+
version: 1
70+
optional: true
71+
- id: audioVolume
72+
version: 1
73+
optional: true
74+
- id: microphone
75+
optional: true
76+
capabilities:
77+
- id: audioMute
78+
version: 1
79+
optional: true
80+
- id: audioVolume
81+
version: 1
82+
optional: true
83+
- id: doorbell
84+
optional: true
85+
capabilities:
86+
- id: button
87+
version: 1
88+
optional: true
89+
deviceConfig:
90+
dashboard:
91+
states:
92+
- component: main
93+
capability: imageCapture
94+
version: 1
95+
values:
96+
- label: "{{___PO_CODE_SAMSUNGELECTRONICS.IM_DEFAULT_IMAGE_CAPTURE}}"
97+
visibleCondition:
98+
component: main
99+
capability: imageCapture
100+
version: 1
101+
value: captureTime.value
102+
valueType: string
103+
operator: CONTAINS
104+
operand: T
105+
isOffline: false
106+
basicPlus:
107+
- displayType: camera
108+
camera:
109+
image:
110+
component: main
111+
capability: imageCapture
112+
version: 1
113+
value: image.value
114+
detailView:
115+
- component: main
116+
capability: webrtc
117+
version: 1
118+
- component: main
119+
capability: mechanicalPanTiltZoom
120+
version: 1
121+
dpInfo:
122+
- os: ios
123+
dpUri: "storyboard://HMVSController/HMVSViewController"
124+
- os: android
125+
dpUri: "plugin://com.samsung.android.plugin.camera"
126+
metadata:
127+
mnmn: SmartThingsEdge
128+
vid: matter-camera

drivers/SmartThings/matter-switch/src/init.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ end
4040

4141
function SwitchLifecycleHandlers.do_configure(driver, device)
4242
if device.network_type == device_lib.NETWORK_TYPE_MATTER and not switch_utils.detect_bridge(device) then
43+
switch_cfg.set_device_control_options(device)
4344
device_cfg.match_profile(driver, device)
4445
end
4546
end
@@ -296,6 +297,7 @@ local matter_driver_template = {
296297
supported_capabilities = fields.supported_capabilities,
297298
sub_drivers = {
298299
require("sub_drivers.aqara_cube"),
300+
switch_utils.lazy_load("sub_drivers.camera"),
299301
require("sub_drivers.eve_energy"),
300302
require("sub_drivers.third_reality_mk1")
301303
}

0 commit comments

Comments
 (0)