Aotearoa Daily Kōrero 1/9/2023

https://lemmy.nz/post/1351381

Aotearoa Daily Kōrero 1/9/2023 - Lemmy NZ

Welcome to today’s daily kōrero! Anyone can make the thread, first in first served. If you are here on a day and there’s no daily thread, feel free to create it! Anyway, it’s just a chance to talk about your day, what you have planned, what you have done, etc. So, how’s it going?

Today I’m gonna see if I can work out how to calculate the water content of air based on humidity and temperature, and implement this as a template in Home Assistant.

I guess using the August–Roche–Magnus formula? But I haven’t worked out how to convert it into a template yet (it’s my first time using a template).

I got sick of seeing the relative humidity rise and fall with the temperature, and since it’s never close to condensing I thought I’d try to get a measurement that’s a bit more stable.

Clausius–Clapeyron relation - Wikipedia

I just calculate Dew point, which is a somewhat more intuitive number.
Do you have a template I can copy? 🙂
I don’t use HA sorry! I just have a custom built app in R that collects the data from some temperature/humidity sensors I have (and uses an R package to do the dew point calculation).

Haha when you mentioned it, I thought maybe dewpoint was easier to calculate. It’s not.

Edit: Oh, but there’s this: simple approximation. That could work!

Dew point - Wikipedia

Yeah, I used the simple version originally. I switched to the harder one because it’s available via the R package.

But I’m pretty sure there’s very little difference in practice.

Yeah, it says +/- 1C for humidity about 50%. I’ve got it going, so I’ll run it for a while and see if this gives me more stable data.