FineOffsetThermometer / Hygrometer

Functionality and usage of the OpenNethome Server
Post Reply
perjarle
Posts: 32
Joined: Wed Aug 03, 2016 8:08 am

FineOffsetThermometer / Hygrometer

Post by perjarle »

Hi
What are the K and M values meant for?

/PJ
stefangsbb
Site Admin
Posts: 313
Joined: Sun Nov 30, 2014 2:16 pm

Re: FineOffsetThermometer / Hygrometer

Post by stefangsbb »

They are the conversion constants to convert from the raw value from the sensor to degrees. the raw value is multiplied with K and then M is added. This means that if the raw value is 73, the presented value will be 73 * 0.1 + 0 = 7.3 degrees.

The reason that these values are exposed is to give to possibility to calibrate the sensor a bit if you have a more exact thermometer to compare with. Then you can modify the values to adjust for errors in the specific sensor.
perjarle
Posts: 32
Joined: Wed Aug 03, 2016 8:08 am

Re: FineOffsetThermometer / Hygrometer

Post by perjarle »

Thank you.

That was smart solution :)

/PJ
Post Reply