[RELEASE] Sonoff Zigbee Button, Motion/Temperature&Humidity/Contact Sensor Drivers

I managed to sort the Itead supplies ones by pressing the battery surround a little to force the battery to sit closer to necessary contacts!
Now it's time to get installing them...

Has anyone uses these with the aim of replacing Xiaomi? As Xiaomi are erratic I think this will be my long term aim...

My experience is the opposite, I have had better luck with Aqara devices. I am still working on my mesh. The ones giving me trouble are possibly to far way from a repeater.

I just opened mine and got it setup using the stock Generic Zigbee Motion driver. It has a 2 minute cooldown and that does not appear to be selectable along with any sensitivity or any other settings.

Is support for all of these devices baked in now?

@markus, do your drivers here give some added features that I'm not quite picking up on?

Thanks for your work on this, by the way.

1 Like

The Aqara T1 sensors with ZB3.0 are out, I'm heading over to pick some up at the local Aqara store in a few hours. Just thought I'd let you all know :slight_smile:

The device doesn't have a 2 minute cooldown, it has 60 seconds from the latest sensed motion, so for example if it senses motion 59 seconds after the first motion it will not send the inactive event until after another 60 seconds. So then the total time would be 1 minute and 59 seconds as long as there is no more motion after that being sensed.

Presence, some additional configurable features like virtual switches and other things. They are basically just my take on Generic drivers, if the built-in one works for you and that is all you want, no need to run mine. I doubt you get any more speed out of the built-in ones than you get from mine though. They are fairly optimized.

Just got a couple of these delivered in a week to australia :astonished: a motion and contact sensor and running fine with your drivers thanks @markus. They are a little cheapish looking and the motion sensor deciced to fully come apart when i removed the battery door and bend the negative battery terminal. Had to bend that back and now it's fine but it might be something to look out for if they don't seem to work.

Just received a Button SNZB-01, forgot to install the driver first so it was detected as an Orbit Controller, complete with 12 zones.

SNZB-01 Discovery

To set things right had to switch the driver to:

Remove all child devices and then change the driver to:

All good now. :smiley:

I had my Sonoff motion sensor and button arrive in Melbourne (eBay seller took significantly longer than a week, but they came with batteries).

I had the same issue with the motion sensor and then had false detections, I assume due to a loose battery.

The button works very well too. Thanks @markus for creating and sharing the drivers

2 Likes

Bwahaha. Mine did too and I thought it was the (suspected) grow-house next door, so quickly disconnected.

Just installed today, the driver is showing 5 buttons, does anyone know what features are available upto now
single press button 1
double press button 2
long hold button 3

do we know if any other options are available (eg buttons 4 &5, release)?

This may not bee the correct place to ask. I'm using this driver with the Sonoff SNZB-02,Driver works great. I would like to display the temperature along with the humidity instead of the battery on the dashboard tile. Is this possible. This is how it displays now.

image

BTW, I bought these on ebay and they came with batteries.
SNZB-02

I cannot get the SNZB-03 to pair. I press and hold the button via the pinhole and it blinks 3 times After a few seconds. Then the HE times out after a minute and nothing. I hold the button just a second longer after the 3 flash and then a single flash, wait a minute and the HE times out again. Nothing found. I hold the button for the entire minute, and the HE times out not finding anything. I bought 3 of these and none work. I do manage to get the SNZB-02 to work without any problem. Am I doing something wrong?

Update - turns out it was the battery contacts. I had an issue like this with a couple of smartthings buttons in the past. Oddly enough, the lights will flash, but somehow, the contact was too poor to properly boot up? Either way, I bent the contact pins up to make better contact, and each one then worked like a charm by holding the reset in place for about 20 seconds.

2 Likes

Oh great... I'm glad you were able to identify the issue and had an easy fix. I am actually waiting on an order of 4 motion sensors still from Itead. Hopefully, they'll arrive soon.

Did anyone get the temperature and humidity working? It seems not not work for me - I'm not getting reports of either, but do get battery percentage.

I have two of the working correctly. Had to remove and rediscover one of them a couple times before it started reporting correctly.

Thank you, I shall try tomorrow. I removed it once but didn't think to try again. Did you reboot the hub or anything in between?

Thank you again.

Update for anyone reading this - I did not have the same success, so if you're having issues with it too, you're not alone.

FYI that I have two SNZB-02 Temperature/Humidity sensors using Markus' driver here and both have been working and have not dropped out on me.

SNZB-03 Motion Sensors
I just received a few of these sensors today and was trying to get them setup. It's weird...I'm getting 3 different results on 3 different sensors.

Sensor 1

Seems to need a refresh but does not say so in 'State Variables' section

Sensor 2

This one looks fully imported and functional. I would expect all 3 to look like this. Interesting that it doesn't say "Works with model SNZB-03" in the state variables area. I would expect this would always be shown as a comment. This one is working though and responding to motion, etc.

Sensor 3

This one appears to need a refresh like Sensor 1... However this one actually says it is pending refresh in the 'state variables' section.

I have no idea why each is exhibiting different behavior. Anyone have ideas on this? Also, for the two that are not operational yet (apparently pending refresh)... How long does that refresh take or is there a way for me to force the refresh? Note that I did attempt to press the pinhole reset button and rediscover them and got the same result.

Thanks and I'll look for any suggestions.

UPDATE
Looking at this closer I see that all 3 do indeed detect motion and reset properly. So I guess the question is why do they each show different levels of details in the Current States and State Variables sections??

UPDATE: It's now the next day and all 3 motion sensors are showing exactly the same... Including Sensor 3 which is still showing "pendingRefresh : true" which seems strange. When is it going to refresh??

I appreciate any suggestions or thoughts on this.