Sometimes, yes. It is regarding my dehumidifier. I noticed that some days the humidity outside is lower than in my house (in winter and sunny day) and after an hour or two the humidity inside the house will drop (without the help of the dehumidifier). So I don’t want it to operate.
But sometime (and until all the rest conditions are met) it doesn’t trigger at all.
-Now I am testing the above code and it is working, however it is not so efficient because it keeps turning on the machine every 8 minutes (even if it is on). I don’t have a way to know if it is on or off (at least not just yet).
Probably I have to rethink the logic.