Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions drivers/SmartThings/zigbee-humidity-sensor/fingerprints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ zigbeeManufacturer:
manufacturer: eWeLink
model: SNZB-02P
deviceProfileName: humidity-temp-battery
- id: "SONOFF/SNZB-02DR2"
deviceLabel: "SONOFF SNZB-02DR2"
manufacturer: SONOFF
model: SNZB-02DR2
deviceProfileName: humidity-temp-battery
- id: "Third Reality/3RTHS24BZ"
deviceLabel: ThirdReality Temperature and Humidity Sensor
manufacturer: Third Reality, Inc
Expand Down
31 changes: 31 additions & 0 deletions drivers/SmartThings/zigbee-humidity-sensor/src/configurations.lua
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,37 @@ local devices = {
}
}
},
SONOFF_HUMIDITY_TEMP_SENSOR = {
FINGERPRINTS = {
{ mfr = "SONOFF", model = "SNZB-02DR2" }
},
CONFIGURATION = {
{
cluster = TemperatureMeasurement.ID,
attribute = TemperatureMeasurement.attributes.MeasuredValue.ID,
minimum_interval = 10,
maximum_interval = 7200,
data_type = TemperatureMeasurement.attributes.MeasuredValue.base_type,
reportable_change = 50
},
{
cluster = PowerConfiguration.ID,
attribute = PowerConfiguration.attributes.BatteryPercentageRemaining.ID,
minimum_interval = 3600,
maximum_interval = 7200,
data_type = PowerConfiguration.attributes.BatteryPercentageRemaining.base_type,
reportable_change = 16
},
{
cluster = RelativeHumidity.ID,
attribute = RelativeHumidity.attributes.MeasuredValue.ID,
minimum_interval = 10,
maximum_interval = 7200,
data_type = RelativeHumidity.attributes.MeasuredValue.base_type,
reportable_change = 300
}
}
},
CENTRALITE_TEMP_SENSOR = {
FINGERPRINTS = {
{ mfr = "CentraLite", model = "3310-S" },
Expand Down