SONOFF SNZB-02 Temp/Hum Sensors

Sonoff SNZB-02 is one of the sensors that fully comply with Zigbee standards and its reporting intervals and threshold are truly configurable. You can use this driver to configure it, then you can switch back to your preferred driver.

3 Likes

So, you're saying:

  1. Install Tuya driver and switch device to Tuya driver.
  2. Go to device settings and configure (hoping I can do every 10 minutes for temp, don't care about humidity). Press configure and save device.
  3. Switch back to the "Sonoff zigbee temp/humidity sensor".

Just want to make sure I understand. And also, out of curiosity, why do I need to switch back to the sonoff driver? Why not just leave it on the Tuya driver?

Hi @joshlobe ,

No, you don't need to switch back to the inbuilt Sonoff driver, if you like this one. I am saying 'you can', as I know some of us prefer to use HE stock drivers only. If you like how the driver works, you can stay with it. I am using it with a lot of T/H/I sensors from several different brands on C-7 and C-8 hubs at home.

Just change the preference and click on the 'Save Preferences' button at the end of the section. Then, when the sensor wakes up the changed preference will be sent to the device. It may happen 10 seconds, or 1 hour later.

There is no 'Configure' button in the Tuya driver. It is a common misunderstanding that clicking on this button (where available) will always successfully re-configure a Zigbee sensor after changing the driver. This is true only for the mains-powered Zigbee devices (plugs, bulbs..). Most of the battery-powered Zigbee sensors (including SNZB-02) are 'sleepy', i.e. they keep their radio turned off 99% of the time to save the battery. So they never receive the changed configuration parameters, as the Zigbee commands are usually lost after 6-7 seconds if not received at the destination.

What the Tuya driver does is to wait for the sleepy device to wake up (when the temperature or the humidity changes rapidly as an example) and send the configuration commands at that time. This usually works in 99% of the cases.

2 Likes

Re-pairing the Sonoff got it reporting temp again. Not sure why it would just stop reporting temperature and not completely.

I had the same problem with a Sonoff contact sensor in the last days - it was reporting the open/close state, but not the battery level. And after pairing it again to the C-8 hub, the periodic reporting is working again.

Well, switching to the Tuya driver has done wonders. It did take a little "finessing" to get all five communicating properly; but I think some of that had to do with the devices. On one of the devices; the little button broke off of the circuit board; rendering the pairing button useless. But removing the battery for five minutes did "re-wake" the device.

Watching the debug logs during communication was a pleasant surprise. Everything was well documented; and I could easily follow along (coming from a development background myself). On two of the devices; the temperature parse did not work correctly the first time; but re-pairing got it communicating properly.

They are all now reporting at almost exact 10 minute intervals. This is exactly how I wanted them to behave initially. Thank you so much for your work in this community!

2 Likes

12 hours later and all are still reporting exactly as configured.

Perhaps... but I personally see no need to switch back. It's obvious you are skilled and I would rather keep your driver. Thanks again!

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.