Device won't go online

I’m using blynk for a month, but now the device won’t go online both USB port and External supply. I’m using ESP32 everything works fine for the past month but right now it always display offline. How can I make it online again ??. I read same issues here but still the same. I will post a sample code to make it easy please help me.

// Fill-in information from your Blynk Template here
#define BLYNK_DEVICE_NAME "Quickstart Template"

#define BLYNK_FIRMWARE_VERSION        "0.1.0"

#define BLYNK_PRINT Serial
#include "BlynkEdgent.h"

int relay_pin1 = 27; 


  int statepin1 = param.asInt ();

  if (statepin1== 1) {
    digitalWrite (relay_pin1, LOW) ; 
  else {
    digitalWrite (relay_pin1, HIGH) ;
void setup()
  pinMode (relay_pin1, OUTPUT);

     digitalWrite (relay_pin1, HIGH) ;



void loop() {;

please edit your post, using the pencil icon at the bottom, and add triple backticks at the beginning and end of your code so that it displays correctly. Triple backticks look like this: ```

1 Like

Done sir

You have not provided enough information on what hardware you are using! What you are trying to achieve… etc etc.

Provide all the details so that anyone can help you .

You don’t have a board type defined in your sketch, so your problem may lie with the default board type definition in your Settings.h file.

You should read this:

Also, when you post serial monitor output, please copy/paste the text, and use triple backticks at the beginning and end, rather than posting screenshots.


1 Like