New Sonoff zigbee devices

There is a hidden LED on top that shines through. Hold the pair button for a few seconds until it blinks. That will update the sensor and it will start working!

Thanks. Needed to use a similar procedure to add a Sonoff SNZB-02 Temperature & Humidity Sensor, adding it first as a “Thing”, switching it to use the “SmartSense Temp/Humidity Sensor” device handler (built-in one) then putting it in pairing mode and rescanning before it would start showing any data.

More interesting findings with the SNZB-02 Temperature & Humidity Sensor. I had added it as a “SmartSense Temp/Humidity Sensor” but it was only reporting temperature events, humidity was not updating.

After much playing with various device handlers after reading about using the “ezex Temp & Humidity Sensor” DH on reddit , to get them to report temperature and humidity I had to re-add the device a couple of times with different device handlers.

So I think the overall procedure for the SNZB-02 Temperature & Humidity Sensor would be:

  1. Press and hold reset button on the device for 5 seconds until the LED indicator flashes three times
  2. Add device on SmartThings app, first time will be detected as a THING. Rename and Save.
  3. Go to SmartThings Groovy IDE and change the Device Type to the Device Type to “ezex Temp & Humidity Sensor" (and change the name to “SONOFF Temperature and Humidity Sensor” if you like)

Once the above is done, do the following for Round 2 detection:

  1. Add device on SmartThings app to scan for the device again. (Previously added device should NOT be removed).
  2. The renamed device will be detected and shown. Save the device.
  3. Go to SmartThings Groovy IDE and change the Device Type to the Device Type to “Sonoff Zigbee Button”. Also update the label.

Once the above is done, do the following for Round 3 detection:

  1. Add device on SmartThings app to scan for the device again. (Previously added device should NOT be removed).
  2. The renamed device will be detected and shown. Save the device.

It looks like the device handlers send a configure command to the Zigbee devices when they are added and perhaps its only getting the config to send temperature from one DH and the humidity from the other. Someone with better knowledge than me could probably create a DH that’s a hybrid of the two I used.

The motion sensor (03) added as an ewelink motion sensor, runs in the cloud, and has an annoying red led flash on motion that needs to go.

I changed the type of Sonoff SNZB-02 to “Zigbee Motion/Temp/Humidity Sensor” and it started to work properly.

It´s missing the device fingerprint.

Added the device fingerprint and battery charge. Just import this device handler then pair the button, it should detect the button automatically the first time.

5 Likes

Hi, I followed your instructions but in step 3 there is no “Sonoff Zigbee Button” in the list of Device Types. My ST is V2. Instead there is an option “ZigBee Button”. I selected this one and then finally i can see a list of possible events for automation: “Pressed”, “Held” and “Standby”. I thought that perhaps they could somehow be mapped to “single click”, “double click” and “press and hold” but no, it’s not. Single click does not result in any action. Both double click and long press result in same action “Pressed”. I am using a plug to test the automation. Battery meter not working neither.

Any clue on if there is a way to update the list of Device Types or another type in the list that could map the right actions or any help since I am about to return the button! This forum is my last hope…

1 Like

replace the device handler with this: New Sonoff zigbee devices
then just add it using the mobile app, with the find option.

Fantastic! Thanks very much. All working now!

Did you get any for the SNZB-01??

Thanks, for the solution. I can now put the switches to use!

To add some clarification around the device handler. You will need to go to IDE and select My Device Handlers, there you will need to create a new handler called “Sonoff Zigbee Button” paste the handler in this thread and publish “for me”.

Then under My Devices scroll to the bottom and the handler “Sonof Zigbee Button” will be there (its not alphabetical).

It worked as described once the handler was created and applied.

Is there something to do in DTH to make tile work in mobile app ? Its just saying updating or disconnected, but inside it shows information correctly ?

Did you have the device paired before changed the handler? If that is the case, remove the device and add it again.

That didnt help :confused:

I only tried it in the new smartthings iOS app. I believe that this handler won’t work in the classic app.

1 Like

Classic app is buried by samsung, im using the new app :slight_smile:

Well after reading and following ‘all’ the instructions, and then doing it again 2 more times, I have my -02 doing temp/humidity and battery just fine…
Except, I want to have the Temp showing on the tile without having to open the tile, additionally I want to have a routine to send me a msg when temp get to above a certain limit… I’ve got mine in the freezer and the door doesn’t always get closed… I have the type set as ‘Zigbee Motion/Temp/Humidity Sensor’.
So two issues:
1 - how to get the temp on the face of the tile
2 - how to get a routine to inform me of when freezer is starting to thaw

  1. create an automation