We've all known crawlspaces, basements, outbuildings that needed some kind of moisture control. I don't want my tools in the shed to get condensation, after all.
The thing is, it would seem sufficient to just air the space out on dry days. Or maybe automate that, with a vent fan. But, how do you know when the outside air has fewer grams/M**3 of water than the inside air? The vent control ought to respond to ABSOLUTE humidity.
Humidistats are relatively flaky, I've seen 'em from a dehumidifier (taut band of some hygroscopic polymer). And humidity sensors are pricey for the modest data they give. Dew-point or frost-point are more accurate, and pricier still.
So, if we believe the air can be characterized by three variables, temperature, pressure, and humidity, how can we sense those three with something mass-producible?
One wild idea, is that you can use an etalon (light interference filter) to find speed-of-light in air, any of the very good IC sensors to tell temperature, then some kind of ultrasound gizmo to find the acoustic resonance of a box (giving accurate speed-of-sound).
How difficult would it be to make such a device?
I'm thinking my Oregon Scientific clock/barometer/thermometer/hygrometer is using a relatively inaccurate moisture sensor, but in a pinch I could read its indoor/outdoor indications whether to push a purge-my-crawlspace button, or not. That seems so ... awkward.