this post was submitted on 04 Aug 2023
11 points (86.7% liked)

homeassistant

11835 readers
15 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
 

I was looking to automate a shower Extractor Fan as I don't find the ones with the inbuilt humidity sensor very good.

So: Aqara Humidity sensor placed somewhere in the shower. Near the fan. Occupance sensor. Sonoff switch to trigger the fan.

If the humidity is > than threshold and the occupance sensor is active = turn on fan.

I was looking for a good ZigBee occupancy sensor though , the aqara fp sensor look all wired and not battery operated.

Maybe this one : https://m.aliexpress.com/item/1005004692544265.html?spm=a2g0n.detail.1000014.1.7b5e54e06iUEhv&gps-id=platformRecommendH5&scm=1007.14452.335518.0&scm_id=1007.14452.335518.0&scm-url=1007.14452.335518.0&pvid=a535df07-7d30-43fb-98f1-494d4d841170&_t=gps-id:platformRecommendH5,scm-url:1007.14452.335518.0,pvid:a535df07-7d30-43fb-98f1-494d4d841170,tpp_buckets:668%232846%238108%231977&pdp_npi=4%40dis%21EUR%2159.06%2147.25%21%21%2163.21%21%21%402101c6e316911769720411084efc92%2112000030122162722%21rec%21IE%21%21A&search_p4p_id=202308041222520688160562971647313150_0

top 11 comments
sorted by: hot top controversial new old
[–] halfsak@lemmy.world 10 points 1 year ago* (last edited 1 year ago) (1 children)

No need for occupancy sensor. I have mine set to turn on when bathroom humidity is both above 70%, and 10% greater than my living room humidity. It'll run a minimum 5 minutes, and then once the humidity is back within 10% of the living room, or below 68%, it'll shut off. It's been working great for over a year.

I also have it set to auto shut off 20 min after manually being turned on, but just before shutting down it checks the humidity to make sure it doesn't meet the above criteria. This avoids the event where you turned the fan on while dropping a deuce but then got in the shower right after - don't want the fan shutting down early. Also, if I ever manually turn the fan back on within 5 minutes of it auto shutting off, it will run for 10 min before shutting down vs the normal 20.

[–] Sh0ckw4ve@lemmy.world 1 points 1 year ago (1 children)

Which fan and sensor are you using? Anything you would recommend?

[–] halfsak@lemmy.world 2 points 1 year ago

I'm using aqara temp/humidity sensors throughout the house. I'm not sure what the fan is, it's just a standard exhaust fan, but its controlled with a Kasa smart switch.

[–] DarkDarkHouse@lemmy.sdf.org 7 points 1 year ago

Rather than activate the fan over an absolute humidity threshold with occupancy, I’d recommend setting the fan to turn on when the room’s humidity is a certain amount more than the ‘normal’ humidity and ignore presence.

[–] key@lemmy.keychat.org 2 points 1 year ago

Why the occupancy sensor? You want to leave your bathroom humid if someone gets dressed quickly after their shower?

[–] walden@sub.wetshaving.social 2 points 1 year ago (1 children)

After trying and failing many times by using a normal humidity range to trigger the fan, I've been very happy with the Generic Hygrostat add-on available through HACS.

The problem with setting up "turn on the fan when humidity is above 65%" (for example) is that in the winter, when it's raining, etc... that might be the normal humidity inside the bathroom. Additionally, if the same humidity is used to trigger the fan "off", the fan will likely cycle too frequently. This may or may not be a bother to you.

The Generic Hygrostat (apparently there's a different Generic Hygrostat built in to HA, but it is not as good, so use the HACS one), takes an average of recent readings and sets it as the target. It triggers the fan when the humidity rises above the average by whatever percent you set. So, if it's 65% humidity on average, it won't trigger the fan until (for example) 70%.

One other thing I struggled with was cheap humidity sensors. Inexpensive options seemed to top out around 80%, and were not very accurate. I've had better luck with a Bosch BME680.

All in all, this automation was the most difficult that I've tried to nail down so far. It's working well now, but the problems which I've mentioned above took a long time for me to work out!

[–] josh4man@mastodon.social 0 points 1 year ago (1 children)

@walden @mrmercedes i use a derivative sensor for this. It turns on the fan when the humidity change goes above 1% per minute.

[–] walden@sub.wetshaving.social 1 points 1 year ago (1 children)

That sounds pretty smart. Is there a trigger to turn it back off?

[–] josh4man@mastodon.social 1 points 1 year ago

@walden not related to the trigger… I just have another automation that turns it off after 20 minutes 

[–] fatcat420@lemmy.world 1 points 1 year ago

Are you all using the typical shower extractor fan they came with your home, or have recommendations for a specific one?

Mine sucks at moving air out, I’d like to buy a more powerful one but don’t know where to start.

[–] spacemanspiffy@lemmy.world 1 points 1 year ago

I have this setup, minus the occupancy sensor. Occasionally on really humid days, the fan kicks on by itself, but that is fine.