smart-underworld / seestar_alp

Complete Control and Automation for Seestar S50
Other
59 stars 28 forks source link

Support reading sensors on Raspberry Pi #184

Open erewhon opened 2 weeks ago

erewhon commented 2 weeks ago

Provide a consistent, generic way of exposing temperature and humidity internally. Could then be used to automatically turn on the dew heater, for example.

erewhon commented 2 weeks ago

From @wileecyte :

Measure the temperature and relative humidity of the air. Multiply 17.625 by the temperature and divide the result by the temperature plus 243.04. Take the natural logarithm of the relative humidity divided by 100 and add it to the result of the previous step. Multiply the result of Step 3 by 243.04 and divide it by 17.625 minus the result of Step 3. Your result is the dew point! clear as mud 😄

erewhon commented 2 weeks ago

Also from @wileecyte https://gist.github.com/sourceperl/45587ea99ff123745428