I'm trying to create the following scenario:
* I want my ventilation system to switch on when my humidity sensor in the bathroom is above 65% and swithed off when it's below 64%.
* I also want the ventilation system to switch on for 15 minutes when one of the toilet lights are switched on
* When one of the toilet lights is switched off I want the ventilation system to run for 5 minutes and then automatically switch off
In the event I created, the ventilation system switches on and off based on the humidity sensor. That's great. But when I switch the toilet light on and/or off and the humidity sensor is still below 64% the ventilation system is sent the 'on' command by my event, but immediatly switches off again because of the humidity value. Which probably is logical, but now I have no idea how to reach my goal.
Translation of the devices in the event:
* Cresta Badkamer = Humidity sensor in the bathroom
* Warmte Terugwin Unit = Ventilation System
* Toilet BG - Fan Switch = Light switch in the ground floor toilet
* Toilet 1e - Fan Switch = Light switch in the first floow toilet
I'm sorry if this seems dumb, I'm a beginner and certainly not a programmer, but really want this to work and I'm working on this for weeks now.
I hope someone can help me realize my wish.
Thanks!
