got headache reading all the threads on this sort of thing so in the end ill ask the question
Firstly please dont tell me how to do this in detail, if you could give me general pointers in how the concept works, id like to go play and come back with questions in the areas i dont understand.
I have a shower room, because it has no other light source the light is always on when in use. I want to accurately control the fan use under varying circumstances.
if someone uses the room for hand washing or going for a Pee its fine just for the fan to come on and off with the light.
if your making a deposit the the fan needs to over run for a set period.
if your taking a shower then the fan needs to come on and go off according to comparative humidity readings.
obviously getting the fan to come on/off in sync with the lights is not a problem neither is the humidity issue (already have a simple rule for that.
Im not certain how to get a rule that times how long the light is on for to set a conditional over run of the fan (if lights are on for >=3 mins set overrun of 5 mins after lights go off)
Im even less certain how to combine all 3 into a single rule.
Ive set a couple of triggers which i think will start it all off but im not certain how to proceed with developing the rule.
This is what ive got so far, 2 triggers one lights on one humidity, then ive got a rule that will turn off the fan on a humidity event but im not sure how to add in the off for lights off event, or how to add the overrun on a timed event.
If you could just point me in the direction of what order to set the ruel out first ill go away and play with it. Thanks