Need some inteligence..
Posted: Monday 17 July 2017 8:17
Hello,
i have got a script hich togles a fan in my bathroom if the hum. is > 70% then spins for an hour, or if in the mentime the hum. is < 60% is turns off.
All works wel except now the outside hum. is >70% so in the bathroom is does not come below 70% and the fann keeps spinning.
i upped it now to 72% otherwise it keeps going on all day and night..
See the script
http://prntscr.com/fwl6xz

So how do i give the inteligence that if the outside hum. is > 70% it just runs for 1 hour in blockly.
Like,
If outside hum is >69% and inside is >70% run 1 hour (then stop) <- but turn on if the hum. rises again if i take a shower.
or start fan if hum. rises 5% then run 1 hour, but i have no reference.
I cannot fgure this out, BTW i have no fysical switch.
Help..
i have got a script hich togles a fan in my bathroom if the hum. is > 70% then spins for an hour, or if in the mentime the hum. is < 60% is turns off.
All works wel except now the outside hum. is >70% so in the bathroom is does not come below 70% and the fann keeps spinning.
i upped it now to 72% otherwise it keeps going on all day and night..

See the script
http://prntscr.com/fwl6xz

So how do i give the inteligence that if the outside hum. is > 70% it just runs for 1 hour in blockly.
Like,
If outside hum is >69% and inside is >70% run 1 hour (then stop) <- but turn on if the hum. rises again if i take a shower.

or start fan if hum. rises 5% then run 1 hour, but i have no reference.

I cannot fgure this out, BTW i have no fysical switch.

Help..
