Help with Bathroom Fan Scene With Humidity Check

Does anybody have a bathroom fan scene/automation based on humidity that works well?

I have a bathroom exhaust fan tied to an aqara smart switch, and in the room I have an fp300 humidity sensor.

I’d like to make a scene that does the following

  • run the fan automatically for 15 minutes
  • at the end of 15 minutes begin a loop for a maximum of 8 times
    • if the humidity is above 40%, stay on for another 5 minutes

I had tried making an automation to automatically turn the fan on when the humidity rises above 40%, but I found it was triggering when nobody was in the bathroom. That’s part of why I want it to be a scene.

Extra bonus if instead of just checking the one sensor humidity, I could instead make it compare the value with a humidity in another room. “if the bathroom humidity is 10% higher then the bedroom humidity, stay on for another 5 minutes”

Any experts out there with guidance on how to do this scene using the Aqara Automation? If you have something that works I’d appreciate a screenshot or the detail on exactly what the automation settings you used that worked well.

The way I see it:

  1. Create an automation

WHEN
The switch (fan) turns off

AND
FP300 humidity above 40%

THEN
Turn the switch (fan) on
Delay 5min
Turn the switch (fan) off

  1. Toggle “Trigger once”.

  2. Clone this automation 7 times. You should have 8 automations (every one of them should have “trigger once” enabled).

  3. Edit each automation (except for 8th one). Each automation should ENABLE the next automation. For example, automation 1 should have

THEN
Turn the switch on
Enable automation 2
Delay 5min
Turn the switch off

Automation 1 should enable automation 2, automation 2 should enable automation 3 etc. That’s how we will simulate a finite loop.

  1. Disable ALL of the 8 automations.

  2. Create a scene.

Turn the switch (fan) on
Enable automation 1
Delay 15min
Turn the switch (fan) off

Btw I also recommend installing a smart thermostat (like the W600) in the bathroom. If the FP300 senses high humidity (55+%), increase the temperature by 3-4°C so the air will dry faster. Make the temperature go back to normal when the humidity drops below 50% (a 5% hysteresis should be appropriate in this case, the radiator will be still hot at 50%)

5 Likes

Hello, welcome to the forum. In lesson 6 (Figure B) I described working automation for controlling humidity in the bathroom. If you have any questions, write, I will explain everything.

3 Likes

I will try these approaches, thank you

2 Likes

Fwiw in east of England, Victorian era house, I have my humidity trigger at 75%.

2 Likes

I run my house off of Apple home this is pretty much my set up…The bathroom fan stays on until humidity drops to 54% not sure what platform you run yours with but I hope it helps

2 Likes