Hello. Any sucessfull with simple timer with NodeMCU? I only need to turn on relay for 20 seconds and then turn off.
Not only successful… it is almost a necessity…
Check out the Documentation and some of the examples as well as searching this forum for BlynkTimer
http://docs.blynk.cc/#blynk-firmware-blynktimer
https://examples.blynk.cc/?board=NodeMCU&shield=ESP8266%20WiFi&example=GettingStarted%2FPushData
i dont understand this timer. i think that is only for reapiting
Nope.
Repeating, single shot, combos of both, etc.
It is THE timer to use with Blynk and is very powerful… many, many examples and explanations scattered in this forum.
i.e.
timer.setTimeout(20000L, RelayOFF); // in 20 seconds run the RelayOFF() routine
ok, iam understanding now. I will try it after sleep
1 Like
Ok, timer is working Thanks for help
1 Like