Apparantly I was too impatient. After removing the level logic like you said, the fan automatically was switched on after a while. So it works now.
But, the fan is not very strong and it took hours to get from 65% to 60%. So I guess I need a better fan.
Anyway, the blocky script works
