Hi, I created this really simple eventor setup. I just want to switch on a relay at a certain time, and switch it off somewhat later.
Strangely enough it works to switch ON the relay, but switching OFF does not work. I first used the ‘Turn ON pin’ but that did not work.
Then I tried the ‘set pin to 1’, now it worked.
But to switch it off, I used the ‘set pin to 0’ But the relay just stays on.
Tried the ‘Turn OFF pin’ as well, did not work…
Any idea what I am doing wrong?
Hello. What app version do you use? Cloud server? What hardware do you have?
There is a possibility that your relay is one of those that activates on a LOW and deactivates on a HIGH?
Also here are some basics that I think are how the eventor choices work…
Using set pin to allows a range of numbers, as in PWM, so 0 is “ON” for your relay, but so is 1… and probably anything up to around 512… at which time there might be enough change to trip the breaker… use 1023 instead and that would set the pin fully HIGH or “OFF” for your relay.
Or just use the easier option and use turn ON pin and turn OFF pin but switch the lojic so that ON for the pin may meen OFF for the relay and vice versa.
Hardware: Wemos D1 Mini, I am using version 2.16.7 on the cloud server.
Hi Gunner
It works! Thanks a lot!
I already tried the turn pin on and off before I posted this message, did not work, but now with the value of 1023 it does the trick. Thanks again for the solution.