Skip to content

Commit cf7612d

Browse files
authored
Merge pull request #2438 from GAFfrient/frient_EntrySensor2Pro_Add_Support
Add support for WISZB-131
2 parents 8c7c11b + ed541a9 commit cf7612d

File tree

5 files changed

+448
-1
lines changed

5 files changed

+448
-1
lines changed

drivers/SmartThings/zigbee-contact/fingerprints.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,11 @@ zigbeeManufacturer:
149149
manufacturer: frient A/S
150150
model: WISZB-121
151151
deviceProfileName: contact-battery-profile
152+
- id: "frient A/S/WISZB-131"
153+
deviceLabel: frient Entry Sensor 2 Pro
154+
manufacturer: frient A/S
155+
model: WISZB-131
156+
deviceProfileName: frient-contact-battery-temperature
152157
- id: "Compacta/ZBWDS"
153158
deviceLabel: Smartenit Open/Closed Sensor
154159
manufacturer: Compacta
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: frient-contact-battery-temperature
2+
components:
3+
- id: main
4+
capabilities:
5+
- id: contactSensor
6+
version: 1
7+
- id: battery
8+
version: 1
9+
- id: temperatureMeasurement
10+
version: 1
11+
- id: firmwareUpdate
12+
version: 1
13+
- id: refresh
14+
version: 1
15+
categories:
16+
- name: ContactSensor
17+
preferences:
18+
- preferenceId: tempOffset
19+
explicit: true
20+
- title: "Temperature Sensitivity (°C)"
21+
name: temperatureSensitivity
22+
description: "Minimum change in temperature to report"
23+
required: false
24+
preferenceType: number
25+
definition:
26+
minimum: 0.1
27+
maximum: 2.0
28+
default: 1.0

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ local devices = {
9292
{ mfr = "Sercomm Corp.", model = "SZ-DWS04" },
9393
{ mfr = "DAWON_DNS", model = "SS-B100-ZB" },
9494
{ mfr = "frient A/S", model = "WISZB-120" },
95+
{ mfr = "frient A/S", model = "WISZB-131" },
9596
{ mfr = "Compacta", model = "ZBWDS" }
9697
},
9798
CONFIGURATION = {

drivers/SmartThings/zigbee-contact/src/frient/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ local frient_sensor = {
9393
}
9494
},
9595
can_handle = function(opts, driver, device, ...)
96-
return (device:get_manufacturer() == "frient A/S" and (device:get_model() == "WISZB-120" or device:get_model() == "WISZB-121"))
96+
return (device:get_manufacturer() == "frient A/S" and (device:get_model() == "WISZB-120" or device:get_model() == "WISZB-121" or device:get_model() == "WISZB-131"))
9797
end
9898
}
9999

0 commit comments

Comments
 (0)