I have just received a Sonoff SNZB-02 and am trying to use it with HA using a EZSP on a HUSBZB-1 attached to a Raspberry Pi 4. I’m in North America (Canada).
While I was able to pair the Sonoff SNZB-02 temperature/humidity sensor, the temperature sensor remains at -40C, humidity sensor at 100%, and power sensor at 100%.
It seems that it is reading the maximum readings (or minimum in the case of the temperature) rather than the measured readings.
The Zigbee Device Signature is
{
"node_descriptor": "<NodeDescriptor byte1=2 byte2=64 mac_capability_flags=128 manufacturer_code=0 maximum_buffer_size=80 maximum_incoming_transfer_size=160 server_mask=0 maximum_outgoing_transfer_size=160 descriptor_capability_field=0>",
"endpoints": {
"1": {
"profile_id": 260,
"device_type": "0x0302",
"in_clusters": [
"0x0000",
"0x0001",
"0x0003",
"0x0402",
"0x0405"
],
"out_clusters": [
"0x0003"
]
}
},
"manufacturer": "eWeLink",
"model": "TH01",
"class": "zigpy.device.Device"
}
The clusters available are
Basic (Endpoint id: 1, Id: 0x0000, Type: in)
Identify (Endpoint id: 1, Id: 0x0003, Type: in)
Identify (Endpoint id: 1, Id: 0x0003, Type: out)
PowerConfiguration (Endpoint id: 1, Id: 0x0001, Type: in)
RelativeHumidity (Endpoint id: 1, Id: 0x0405, Type: in)
TemperatureMeasurement (Endpoint id: 1, Id: 0x0402, Type: in)
The TemperatureMeasurement cluster attributes are
max_measured_value (id: 0x0002)
measured_value (id: 0x0000)
min_measured_value (id: 0x0001)
tolerance (id: 0x0003)
The RelativeHumidity cluster attributes are
max_measured_value (id: 0x0002)
measured_value (id: 0x0000)
min_measured_value (id: 0x0001)
tolerance (id: 0x0003)
But none of them pull up a value when using Get Zigbee Attribute.
It seems others have been able to use SNZB-02 with ZHA.
Is there anything that needs to be done to get the correct temperature, humidity, and power measurements?
Other Zigbee devices including the temperature component of SmartThings multipurpose sensors work.
I have had numerous other Zigbee devices running including GE Link, Cree, Ecosmart bulbs, ETI zigbee light fixture, SmartThings (Samjun) multipurpose sensors, SmartThings (Samjin) water leak sensors, a SmartThings (Samjin) motion sensor, Lutron Connected Remotes, Tradfri remote (on/off), and Tradfri outlet, and (with this same shipment) a Sonoff SNZB-04 door/window sensor.