Skip to content

Commit ceb767c

Browse files
authored
Add Sonoff SNZB-04PR2 (WWSTCERT-10731) and SNZB-04P (WWSTCERT-10704) Smart Scene Contact into zigbee-contact (#2539)
* Add Sonoff SNZB-04PR2 Smart Scene Contact into zigbee-contact * Add Sonoff profile into zigbee-contact * Delete the program, that is only submit the relevant configuration. * Modify the profile configuration of the fingerprint file * The anti-tampering function has been changed to a standard attribute
1 parent 09cb31c commit ceb767c

3 files changed

Lines changed: 26 additions & 1 deletion

File tree

drivers/SmartThings/zigbee-contact/fingerprints.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,16 @@ zigbeeManufacturer:
204204
manufacturer: Third Reality, Inc
205205
model: 3RVS01031Z
206206
deviceProfileName: thirdreality-multi-sensor
207+
- id: "SONOFF/SNZB-04P"
208+
deviceLabel: SONOFF Contact Sensor
209+
manufacturer: eWeLink
210+
model: SNZB-04P
211+
deviceProfileName: contact-battery-profile
212+
- id: "SONOFF/SNZB-04PR2"
213+
deviceLabel: SONOFF Contact Sensor
214+
manufacturer: SONOFF
215+
model: SNZB-04PR2
216+
deviceProfileName: contact-battery-profile
207217
- id: "Aug. Winkhaus SE/FM.V.ZB"
208218
deviceLabel: Funkkontakt FM.V.ZB
209219
manufacturer: Aug. Winkhaus SE
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: contact-battery-tamper
2+
components:
3+
- id: main
4+
capabilities:
5+
- id: contactSensor
6+
version: 1
7+
- id: battery
8+
version: 1
9+
- id: tamperAlert
10+
version: 1
11+
- id: firmwareUpdate
12+
version: 1
13+
- id: refresh
14+
version: 1
15+
categories:
16+
- name: ContactSensor

drivers/SmartThings/zigbee-contact/src/configurations.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ local devices = {
2626
EWELINK_HEIMAN = {
2727
FINGERPRINTS = {
2828
{ mfr = "eWeLink", model = "DS01" },
29-
{ mfr = "eWeLink", model = "SNZB-04P" },
3029
{ mfr = "HEIMAN", model = "DoorSensor-N" }
3130
},
3231
CONFIGURATION = {

0 commit comments

Comments
 (0)