-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Honeywell humidity sensors (HIHxxxx) #6808
Comments
Have you tried the Si7021? I can't find any breakout/module boards for the HIH7121 so it may not be likely for someone to add support for it at this time. |
From the datasheet for the Si7021:
This suggests that it won't meet my needs (area with 80-95% humidity). The HIH7121 doesn't need a breakout board, just a .22uF cap. I have ordered some and will play around with them when they get here. |
Sure, if you get it working you're welcome to make a PR :) |
Add support for Honeywell I2C HIH series Humidity and Temperetaure sensor (#6808)
Give it a try and report back please. |
@arendst Thank you! I can't believe how quickly you added this. I will test it when the sensors arrive (in a week or so) and let you know if there are any issues. Will this be available in the default sensors build? |
It's not included at the moment - The driver is very small though so I'm guessing it will be as soon as you're able to test it and provide feedback :) |
It probably will not as it has the same address as PCF82xx |
Please, after you perform the tests with this sensor, tell us how it works. Thanks. |
@arendst Sensors arrived today. The original sketch I linked to works fine, but for some reason in Tasmota I am getting: The temp is always 256.982 and the humidity is always 100; neither ever change. I notice The module is detected fine and shows up correctly, so that is great. Any suggestions here? |
This sketch also works fine, and has some extra diagnostic stuff in it. |
Fix sensor power on command mode (#6808)
Thx for testing. Pls report back with the latest fix. |
@arendst Latest changes do NOT work - same problem with the sensor readings maxed out. However, when I uncomment the line: Thank you very much for putting this together. You made my week! |
OK thx for testing. I hate to add delays but as this is within my limits (;-)) I'll insert it. Will release soon. |
Final test please. |
Gotta go to work, will test tonight and close this if everything works. I would love for there to be some option to toggle between these and the PCF82xx so I don't have to make my own build. But I understand if that's asking too much :) Again thank you so much for this! |
The toggle is already in place but probably not documented yet. Use command See document I2CDEVICES.md in the root what |
Works like a charm! It does not seem to be enabled in the standard tasmota-senors build; I am still experimenting with these sensors, and will try to update the wiki with how things go. So far it does not seem like the two 2.2k pullup resistors shown in the wiring diagram are needed. |
I wrote this up in the wiki here. I deployed 8 of these yesterday in various wet areas and so far there have been no issues at all. |
@thepotoo Good to hear & thanks for the feedback and writing up the wiki article - I think @meingraham will most likely integrate it into the rest of the wiki :) |
Have you looked for this feature in other issues and in the wiki?
Yes
Is your feature request related to a problem? Please describe.
The current go-to humidity sensor for DIYers is the DHT22, which performs very poorly in high humidity conditions (like a bathroom). I am looking for a good, reliable sensor that will perform in damp/very humid environments.
The HIH7121 works over a range of 0-100% humidity, and includes a hydrophobic filter that prevents condensation, which on paper seems like it would be ideal for my application (bathroom fan control).
Describe the solution you'd like
Add support for Honeywell humidity sensors on an I2C interface. It looks like some code exists here that may help: https://github.com/ControlEverythingCommunity/HIH6130/blob/master/Arduino/HIH6130.ino
As far as I can tell, all of these HIHxxxx sensors use the same address (0x27) and protocol, so adding support for any of them should add support for all of them.
I don't see a particular need for command mode (changing address, setting alarms).
Describe alternatives you've considered
I've spent quite a bit of time looking at different humidity sensors and these seem a bit better than the ones Tasmota currently supports.
Additional context
Here is a datasheet: https://www.mouser.com/datasheet/2/187/honeywell-sensing-humidicon-hih7000-series-product-1140774.pdf
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: