I have two new Sonoff SNZB-02D Temperature/Humidity sensors with LCD display that I have added to my HA. Initially I used the Zigbee Home Automation (ZHA) integration and was able to add both sensors with no issue. I located both sensors in the same area of a room where I have other sensors and let them stabilize for a couple of hours. The temperature and humidity displayed on the LCD of both sensors agreed to within a tenth of a degree Fahrenheit and tenth of a percent humidity. They also closely match other temperature and humidity sensors I have. However, I noticed that the temperature and humidity reported in HA is significantly different than what is on the sensor LCD display.
I’ve read elsewhere that ZHA has no way to calibrate or create offsets for Zigbee sensor data, but the Zigbee2MQTT Add-On does. So I deleted the Sonoff SNZB-02D Temperature/Humidity sensors from ZHA and also removed ZHA. I installed the Zigbee2MQTT Add-On, configured it to use my Sonoff Zigbee coordinator and MQTT broker, and added the Sonoff SNZB-02D Temperature/Humidity sensors via the Zigbee2MQTT Add-On. The results were the same. That is, LCD display and what is reported in HA do not match. I tried using the “Settings (specific)” section in the Zigbee2MQTT Add-On to add temperature calibration and humidity calibrations, but I can’t find any documentation on how to use these fields. I assumed in the case of the temperature calibration that this would just be a positive or negative number of degrees to offset the sensor data before reporting it via MQTT message. When I tried this all I managed to do was cause the temperature to stop updating in HA.
- Does anyone know how these temperature and humidity calibration fields should be used?
- For temperature is this value in degrees, and if so, would it be degrees in the current display mode Celsius or Fahrenheit, or is the value always entered in one or the other regardless of display mode?
When I ran these test the firmware on the sensors was behind and I have since updated the firmware to the latest but haven’t done anymore testing yet. If anyone has any experience with the calibration process, please share any information that may be helpful.
Thanks.