Closed whogarden closed 2 years ago
Not working is very abstract. Not compiling? Not connecting? Etc.
First of all, these 2 lines should be always at the top of the code
#define BLYNK_TEMPLATE_ID "xxxxxxxxxxxxxxxxxx"
#define BLYNK_DEVICE_NAME "yyyyyyyyyyyyyyyy"
Hello, Thank you for this response. In that case, ticker is used to secure a relay that can be activated with a virtual push button. Sometimes, the relay stays on (I suppose, that the order sent by blynk when I release the virtual push button is lost somewhere...) If after some delay the relay stays on, ticker is used to set the relay off. I have just updated the device (compiled with the new arduino core 2.0.1) with Blynk.Air and the same sketch where I put the 2 define at the top of the code. Tests are now in progress.
Hello, With the 2 lines at the top of the sketch there is nothing new... (Relays are not set off) I restored Arduino core for ESP32 V1.0.6 and everything is working good. (Return to ESP32 V2.0.1 and hello problems). Any idea? Thank you.
:(
Hello, To help someone with same pb, I found the error, it's a bad update of Blynk. The file indicator.h was not updated.
I reuse an old project that was compiled with Arduino core for the ESP32 release v1.0.6, but now with release 2.0.0 ticker doesn't work anymore.
Hardware:
ESP32 16MB (dev board) 4 relay boards
Sketch: