Thanks for all the info. You will need to update your Home assistant.
I have update the code to follow HA road map and the way they would like to do things. This way we always stay on top of things and it keeps on working into the future.
Blacky
Thanks for all the info. You will need to update your Home assistant.
I have update the code to follow HA road map and the way they would like to do things. This way we always stay on top of things and it keeps on working into the future.
Blacky
Thanks for the advice - I thought it would run on versions post 2024.6
I don’t think my Pi 3b can cope with the latest update. refused to connect to wifi.
Ive had to restore to previous version. ill ponder next steps.
S
Thanks @Blacky - however I am using a Derivative sensor for this automation. I’ve just checked the config I posted above, and oddly it doesn’t show my derivitive sensor, so I double checked my automation setup, and there is no longer a derivative sensor in my configuration! No idea why that has dissappeared - I can only think that it somehow got removed when i updated to the latest version of the blueprint. I’ll get it addd back in.
My son is on a PI3 with the latest. It is a bit slower to edit things than what I have, but it works.
I will PM you.
Blacky
Hello!
First of all, I’d like to thank you for the amazing blueprints you’ve generously shared.
I’m trying to set up an automation for my bathroom fan, but I’m not quite sure how to achieve it. Here’s what I need:
In summary, the fan should operate only when the light in the bathroom is off, and the humidity is elevated.
I’d be really grateful if someone could guide me on how to set this up. Thank you in advance!
Thanks for your kind words and welcome to the community.
This blueprint will not do that. This is a very unique action and is probably handled best via a custom automation. I think you may have some challenges as to what is an normal humidity level? Probably best to open up a new topic and ask the question as many people will help you.
Blacky
Love all of your blueprints Blacky! I’m having a hard time getting this blueprint to properly turn off the exhaust fan. It turns on within 1-2 minutes of starting a shower, but detecting the end of the shower is troublesome.
The problem is my derivative sensor doesn’t go negative until 25 minutes after the water in the shower is turned off. Do I just need to accept this and adjust the max fan run times? Or does something else need adjustment to make it more accurate about when the water is turned off?
I recommend checking the humidity sensor. You might notice that when you start a shower, the sensor reacts quickly because it’s dry. However, as the sensor gets wet during the shower, it takes time for the water to evaporate, which can delay its readings.
In bathrooms, lint, powder, dust, and other particles can accumulate on the sensor. If these become damp, they can interfere with the sensor’s ability to provide accurate, real-time readings. Regular maintenance, such as cleaning the sensor, may be necessary to ensure its accuracy.
If you refer to my setup in the FAQ, you’ll see that I drilled small holes in the back of the sensor to improve airflow. This helps the sensor stay drier and respond more quickly to changes in humidity.
I would start with the sensor as the blueprint need the data to react.
Blacky
Hello, @Blacky first of all thanks for the awesome blueprint. Had set it up with default +1 / -1 derivate and 10m off delay, but I think I can improve it, as the humidity at start was 50% and in the end was 61%.
Here is a screenshot of my graphs:
We are more concerned about the Derivada Hunidade
Rising Humidity Derivative = 3
Falling Humidity Derivative = -2
Keep adjusting it until it sure your needs.
Blacky
Thanks
Already adjust it to 3 / -2 and 15m
Hi,
Thank you for creating this cool blueprint, it’s really usefull! Somehow my fan only starts, it never stops. I have created a derivative for humidity and added toggle for ‘off’ and ‘low-speed’ as suggest. Below is my config:
id: '1734695189633'
alias: Badkamer ventilatie
description: ''
use_blueprint:
path: Blackshome/bathroom-humidity-exhaust-fan.yaml
input:
bathroom_humidity_sensor: sensor.xiaomi_lywsd03mmc_luchtvochtigheid
trigger: sensor.luchtvochtigheid_badkamer
fan_switch:
entity_id: switch.fansendhigh
fan_speed_off:
- switch.fansendstandby
- input_boolean.ventilatie_off_schakelaar
fan_speed_low:
- switch.fansendlow
- input_boolean.ventilatie_low_speed_schakelaar
time_delay: 12.5
winter_time_delay: 20
month_winter_mode:
- '1'
- '2'
- '3'
- '11'
- '12'
include_winter_mode: winter_mode_enabled
winter_time_out: 30
winter_falling_humidity: -0.5
I made sure humidity derivative drops below -0.5
, I doesn’t stop after the time-out of 30 minutes either. Someone can help me?
Thank you!
Thanks for you kind words. You just needed to enable the Use The Fan Speed Options (Optional) in summer and winter mode. I have enabled 1 - Enable the fan speed - Switch to low speed then turn off option for you but also take not of the Fan Speed - Low Speed Time Delay and adjust to your liking.
You may choose to use the 1 - Enable the fan speed - Switch to low speed then turn off option for winter and then use 2 - Enable the fan speed - Turn off option for summer as winter can take longer to remove the humidity. But it is totally up to you.
id: '1734695189633'
alias: Badkamer ventilatie
description: ''
use_blueprint:
path: Blackshome/bathroom-humidity-exhaust-fan.yaml
input:
bathroom_humidity_sensor: sensor.xiaomi_lywsd03mmc_luchtvochtigheid
trigger: sensor.luchtvochtigheid_badkamer
fan_switch:
entity_id: switch.fansendhigh
fan_speed_off:
- switch.fansendstandby
- input_boolean.ventilatie_off_schakelaar
fan_speed_low:
- switch.fansendlow
- input_boolean.ventilatie_low_speed_schakelaar
time_delay: 12.5
winter_time_delay: 20
month_winter_mode:
- "1"
- "2"
- "3"
- "11"
- "12"
include_winter_mode: winter_mode_enabled
winter_time_out: 30
winter_falling_humidity: -0.5
include_fan_speed: fan_low_speed_enabled
winter_include_fan_speed: fan_low_speed_enabled
Blacky
I missed that option, thank you. It’s working great now!
@Blacky to use the fan speed: is it correct to make some helpers to select the right speed?
I assumed that it would be possible to select the fan entity and select the speed you want to use but as far as i’m looking this is not possible?
It’s not making any sense to select a ‘fan’ device/entity?
Yeah, it was written for entities that have a set speeds and not for fan entity speeds. Some fans have set speeds some have % value. Some people use scripts and set the speed… turn on at x speed and use script. So you have a script for High, low and OFF.
Blacky
Hey @Blacky ,
First of all, thanks for the amazing blueprint! I managed to start my ventilation system automatically after the showers.
However, as a few people asked above, I’m also having an issue where the fan starts after every Home Assistant restart
Here is my YAML:
alias: Bathroom Humidity Exhaust Fan
description: ""
use_blueprint:
path: Blackshome/bathroom-humidity-exhaust-fan.yaml
input:
trigger: sensor.bathroom_humidity_derivative
bathroom_humidity_sensor: sensor.bathroom_humidity
include_manual_trigger: disable_manual_trigger
include_lights: lights_disabled
fan_switch:
entity_id:
- script.turn_on_entry_fan_100
- input_boolean.bathroom_high_speed_toggle_helper
include_winter_mode: winter_mode_disabled
month_winter_mode:
- "11"
- "12"
- "1"
- "2"
fan_speed_off:
- script.turn_on_entry_fan_1
- input_boolean.bathroom_off_toggle_helper
fan_speed_low:
- script.turn_on_entry_fan_50
- input_boolean.bathroom_low_speed_toggle_helper
rising_humidity: 0.5
include_max_humidity: maximum_humidity_enabled
max_humidity: 80
include_fan_speed: fan_low_speed_enabled
time_out: 300
time_delay: 20
time_delay_low_speed: 20
Am I doing something wrong here?
Anil
All looks good… not sure what your doing with your Input Boolean’s but that is okay. It will be your Maximum Humidity of 80%. You humidity must be above this when you restart HA.
Blacky
Some one has any idea why my derivative comes below the thershold but the automation does not ‘turn off’ the fan?
description: ""
use_blueprint:
path: Blackshome/bathroom-humidity-exhaust-fan.yaml
input:
trigger: sensor.humidity_derivative_sensor
fan_switch:
entity_id: input_boolean.mv_hoog
fan_speed_off:
- input_boolean.mv_laag
fan_speed_low: []
include_fan_speed: fan_speed_off_enabled
bathroom_humidity_sensor: sensor.badkamer_klimaat_luchtvochtigheid
by_pass: input_boolean.mv_bypass
manual_trigger:
- input_boolean.mv_manually
include_manual_trigger: enable_manual_trigger_time_delay
include_winter_mode: winter_mode_enabled
month_winter_mode:
- "1"
- "2"
- "11"
- "12"
winter_rising_humidity: 1
winter_time_delay: 15
winter_include_fan_speed: fan_speed_off_enabled
include_manual_fan_switch: enable_manual_fan_switch_auto_off
manual_fan_switch: []