Rule Machine Noob. I've got a a simple rule running that turns on the shower extractor if the humidity goes above a certain level and turns it off after a set time. The rule only allows operation between 06:30 and 22:00 as I don't want the noisy fan running when people could be asleep. All works well.
I'm now wanting to step up a notch and start to learn Rule Machine. It's often quicker to just open the window to clear the humid air and I don't want the routine to try and dehumidify the whole world if the outside humidity is above the trigger point. I'm going to be fitting a contact sensor onto the bathroom window.
Between the hours of 06:30 and 22:00
When the humidity reaches the trigger value AND the window is closed I want the fan to turn on.
When the humidity reaches the trigger value AND the window is already open I don't want the fan to turn on.
If the fan has been triggered as the himidity is above the set level and then the window is opened, I want the fan to turn off.
Between the hours of 22:01 to 06:29
No action if the window is opened or closed
No action if the humidity rises above or falls below a set level.
I've tried a few ways and am getting frustrated with my (lack of) progress. Can anyone point me in the right direction as to how to set this out please?
Thanks, Humid Shower Guy.