Close

Humidity in Three Acts

A project log for AWS/WeatherBug Display Resurrection

It's been orphaned, but I'm adopting it.

roleohibachiroleohibachi 02/10/2018 at 02:221 Comment

[netmgr], who has similar hardware, realized why I was having trouble with the humidity field. It's not just one field, it's three separate fields that affect humidity! I believe they are two coefficients (I'll call them a and b), and a value. The dummy coefficients I had been sending had resulted in a nonlinear response to changes in value.

Armed with that knowledge, I started adjusting the other values as well. Plugged in a=b=100, sent a range of inputs to the value field, and plotted a (linear, this time) regression in a spreadsheet. Result:

Humidity is expressed as 500 * (161*percent + 1234) / 1983. 

It may not seem like much, but it was the last "stumper"! 

Discussions

esaylor wrote 09/03/2021 at 18:45 point

On my box I have a high humidity calibration and a low humidity calibration with values of 2981 and 811, respectively. I'm certain these are not fixed values, but might be good values to plug in when in doubt.

  Are you sure? yes | no