
I have a centralized fan system (no on/off, but only 3 settings, low/medium/high [1/2/3/]) on a perilix connection
With the help of this forum I have setup a solution with KAKU and blockly which helps me to control the fan unit based on a time schedule
After a while I put a humidity sensor in the bathroom and setup blockly to switch the fan unit to position 3 (high) when the sensor shows 65% and below 65% turn to position 2. (between 12am and 7 am turn to position 1).
But.... when the humidity outside is default above 65% the unit stays in position 3 even if no-one is taking a shower.
So.... is it possible to create a script which looks at a delta of 2% whitin, lets say 3 minutes still keeping the blockly as it is or insert blockly into the new script....