Activate relay by app and automatically

Unless you share what you’ve set-up in Eventor then we can only see part of the picture.
My advice would be not to use Eventor at all, and do it in your sketch.

Pete.

Capturar158 Uploading: Capturar158.JPG…

@Bruno_Smicaluk I would like you to try this :

//for more project visit www.blackkeyhole.com

#define BLYNK_PRINT Serial


#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

int sensorpin=A0;
int sensorvalue=0;
int outputvalue=0;

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "";
char pass[] = "";

BlynkTimer timer;

void readsensor()
{
  sensorvalue=analogRead(sensorpin);
  outputvalue=map(sensorvalue,0,1023,0,100);
  Blynk.virtualWrite(V5,outputvalue);
}
   
void setup()
{
  // Debug console
  Serial.begin(9600);

  Blynk.begin(auth, ssid, pass);
  timer.setInterval(1000L, readsensor);
}

void loop()
{
  Blynk.run();
  timer.run();
}

Try soil moisture sensor only without the button.

You’re writing the uptime and A0 reading to pin V2

Pete.

I achieved!

Everything is working, thanks to everyone who helped me.

Your welcome.