Hello,
Here is my driver of Sonoff SNZB-02P for Hubitat Elevation, tested.
Download and use from here:
@bitikusa Thanks for making this! This Driver has so many more options for these SNZB-02P sensors.
I have added this driver to the 2 SNZB-02P sensors I have and will test it out.
Do you have any plans to make a new driver for the older Sonoff Temperature and humidity sensor SNZB-02? Or the SNZB-02D? I have a few of each of these too.
Thank you
wow. thats a bunch of improvement! I too have a couple SNZB-02D - and I love them. very accurate and I like the display vs puck (D vs P models). Any reason this driver won't work perfectly with the D?
I dont know, it definitely will work just to show temperature/humidity, but im not sure about reporting intervals configuration options, next week i will test and will adapt it if needed, this is the main reason for creation of this driver: to be flexible with reporting options
This is a nice slimmed-down driver, but I have just been using kkossev's "Tuya Temperature Humidity Illuminace LCD Display with a Clock" Driver with model group TS0201_TH in preferences for these.
This is also missing the offset settings for temp and humidity. I found they read high on temperature and can be like 8% off on Humidity. The offsets work in kkossev's driver, but the offsets happen after reporting, not on the sensor, so the screen will not match.
I've been pretty disappointed with these sensors.
hi @bitikusa . I like your driver. I haven't truly tested all options on the -02D but it seems pretty functional out of the box!
I know from my own experience publishing a driver that often what I think doesn't include things others might want/think - so this is just some feedback - do with it what you will!
All my tiles use a single decimal value - ie: 74.1, 55.2. Your driver is reporting to tiles without the ability for me to control how many decimal places I want. The -02D reports back 2 decimal places - I myself use my tile apps to control/drop the decimal to 1 place. Your driver is reporting back without any decimals. Can you make optional or report the full value in your temperature attribute? You are giving 1 decimal to humidity so for me, we're all good there.
A reference temperature - being able to offset known temp differences can be useful. I find the -02D accurate but others seem to experience it being in need of an offset. I see an offset in your states, but it's unclear how I make adjustments in my environment
A reference humidity - see above.
An 'update firmware' option - A real pain! but from what I read on HA there is firmware update ability for these units.
Debug and description logging - logging in the HE world is random and changes by developer. I myself don't like debug messages in my logs unless I'm actually debugging. Some on / off function would be useful to me!
Thanks for this tool - I've switched 3 units onto this driver!
I second the ability to turn description and debug logging on/off.
Just comment the log.debug
HPM stuffs need this debug toggle switch. Especially Amazon Alexa Skill (plzzzz).
.,.