this post was submitted on 17 Jul 2024
35 points (92.7% liked)
homeassistant
12039 readers
49 users here now
Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
What does your logic look like for the humidity uptick? I tried the trending integration (or something like that), but couldn’t get it to work properly. Does the fan trigger on a sudden spike in humidity? Do you compare “ baseline” values with another sensor in another room?
I originally completely over engineered it by tracking the YTD humidity and adjusting for the difference between the current average and last year's and then someone mentioned just putting a second humidity sensor outside the bathroom. So I just do that. If the bathroom humidity spikes about 10% over the humidity outside the bathroom, it turns on and then it turns off at a static number.
It sounds wasteful, but I already had a sensor in my primary bedroom, and the thermostat is right outside the kids bathroom so I didn't have to install anything new.
I then added a cooldown to make sure it doesn't end up in a loop where it keeps turning on and off (that's never actually happened but it seemed like a good idea).
I also use it as a way to control the lights. I use motion detection to turn on the lights, but they used to turn off while someone was in the shower. Now it checks to see if the fan is on and if it is, resets the motion detection timer.