I tried to create piston to run bathroom fan in auto, using humidity sensor and light
so,
if the just the light on for 5min then turn the fan ON then if the light Off after 5min turn the fan OFF
if the humidity sensor it greater than 80% turn the fan ON then after then if the humidity sensor less 75% turn the fan Off
if then if the light OFF and humidity geart then 80% run for 20MIN the turn OFF the fan,
can someone help me out
thank you
thank you