Closed davet2001 closed 4 years ago
Just realized that other changes made yours conflicting. If you can please rebased the changes so I can merge them. If I need to do it it might take some time. ;-)
Thanks again @davet2001 ! :-)
An interesting thing is that although @davet2001 used the correct formula %RH = 125 * RH_Code / 65536 - 6
(page 21), the actual value is way off. For instance, it reports 58% when the actual humidity is 50%. By comparison, the old TemperHUM device reports 46%, which isn't particularly correct either.
Therefore, if someone is wondering why the reported humidity is wrong, it's not the problem with the pull request, but with the low quality of the sensor.
Thank you, @davet2001, for the pull request. It saved me a lot of time trying to figure out the values myself.
Added new sensor support and improved debug output.