Blynk does not start on ESP32

Hi,

I have problem connecting ESP32 to Blynk cloud.

The hardware is ESP32(XXN4) bare chip and Arduino Uno that is used for serial communication with PC. This code is successfully flashed to the ESP32(Arduino IDE).

//#define BLYNK_TEMPLATE_ID           "TMPxxxxxx"
//#define BLYNK_TEMPLATE_NAME         "Device"
#define BLYNK_FIRMWARE_VERSION        "0.1.0"

#define BLYNK_PRINT Serial
//#define BLYNK_DEBUG

#define APP_DEBUG


#define USE_ESP32_DEV_MODULE


#include "BlynkEdgent.h"

void setup()
{                                                                                 
  Serial.begin(115200);                                                        
  delay(1000);                                                                  

  BlynkEdgent.begin();
}

void loop() {
  BlynkEdgent.run();
}

When I reset the ESP32, this is what I got in serial monitor:

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13964
load:0x40080400,len:3600
entry 0x400805f0
[1084] Config read failed
[1084] 
   ___  __          __
   / _ )/ /_ _____  / /__
  / _  / / // / _ \/  '_/
 /____/_/\_, /_//_/_/\_\
        /___/ v1.3.2 on ESP32

 #StandWithUkraine    https://bit.ly/swua


----------------------------------------------------
 Device:    Blynk ESP32
 Firmware:  0.1.0 (build Aug 26 2024 12:46:36)
 Platform:  ESP32 @ 240MHz
 Chip rev:  1
 SDK:       v4.4.6-dirty
 Flash:     4096K
 Free mem:  244140
----------------------------------------------------

>[1126] INIT => WAIT_CONFIG
[3736] AP URL:  blynk.setup

Does anyone know how to solve this?

Thanks in advance!

First of all, the code you’ve posted won’t compile, because the #define BLYNK_TEMPLATE_ID and #define BLYNK_TEMPLATE_NAME lines of code are commented-out.

Your device is awaiting provisioning, you need to do this via thee Blynk app, using the “+ Add Device” feature. Read the documentation regarding dynamic provisioning if you want more info.

I have no idea what this means, you may need to provide more information.

Pete.

I thought that something is wrong but I just need to provide wifi credentials to esp32. :sweat_smile:
Thanks for the answer, everything is working now!

I am using bare esp32 chip, not module so I connect rx and tx pins from esp32 to arduino uno. And arduino uno is connected to pc via usb