Repository navigation
Conversation
|
Pushed c9bde04: the presence hold time is now written as HoldTime = 20 s + the setting, capped at 280 s. The firmware ships with HoldTime 20 (after a detection the radar rests 10 s, then checks for presence for the remaining 10 s), so the setting's default 0 still matches the device as shipped. stse.presenceHoldTime was created by SmartThings on 2026-10-16. The description is updated to match. |
|
|
Removed the sensitivity option instead of keeping it (re: item 4), and simplified the hold time handling now that it is the only setting. |
|
Duplicate profile check: Passed - no duplicate profiles detected. |
|
Profile category check: ✅ Passed - all profiles have a category defined. |
|
Invitation URL: |
|
matter-sensor_coverage.xml
Minimum allowed coverage is Generated by 🐒 cobertura-action against 636b6fe |
Test Results 73 files 575 suites 0s ⏱️ For more details on these errors, see this check. Results for commit 636b6fe. ♻️ This comment has been updated with latest results. |
|
@samjin-sw , please squash commits before merging. Thanks! |
- Add the ThingsOne Presence Sensor (VID 0x1241, PID 0x8010) to matter-sensor as the sub-driver thingsone_presence_sensor with the profile thingsone-presence-sensor - Keep the device on that profile on doConfigure and driverSwitched - Write stse.presenceHoldTime to OccupancySensing.HoldTime on EP1 as 20 s plus the setting, capped at 280 s; on lua libs below api 13 only log a warning - Add 9 unit tests
636b6fe to
4c1e9cf
Compare
|
Squashed into 4c1e9cf as requested. Thanks! |
Check all that apply
Type of Change
Checklist
Description of Change
Adds the ThingsOne Presence Sensor, model IC60001-PSC01 (VID 0x1241, PID 0x8010), to matter-sensor as the sub-driver thingsone_presence_sensor. This replaces the standalone driver package in #3274, as suggested in review.
The device is a battery-powered (ICD) Matter-over-Thread sensor using standard clusters only: Occupancy Sensing on EP1 (FeatureMap PIR | RAD), Temperature Measurement on EP2, Illuminance Measurement on EP3, Relative Humidity Measurement on EP4 and a battery Power Source on the root endpoint EP0.
Preferences: stse.presenceHoldTime ("Presence hold time", 0, 5, 10, 15, 30 or 60 s, default 0) was agreed with SmartThings on 2026-10-15 for this device and created by SmartThings on 2026-10-16; the driver reads its option keys as seconds ("0" to "60"); the sensitivity uses the existing stse.sensitivity (1 Low, 2 Mid, 3 High, default 2), which matches the firmware's modes.
Summary of Completed Tests