Edgent Example doesn´t create AP

Hey guys. So I tried to get my ESP32 (Firebeetle ESP32E and NodeMCU32-S) to connect as a device with the BLYNK app. It does compile, does upload like usual but the serial monitor won´t show anything afterwards and I do not get an AP for the app. I have tried it with 6 different boards now and really don´t know what else to try.

Im using the standard example code from the blynk.library-1.0.0.beta3 library.
Hoping you guys can help me so I can get on with my project :slight_smile:



// Fill-in information from your Blynk Template here
#define BLYNK_TEMPLATE_ID "TMPLIuxBA6nS"
#define BLYNK_DEVICE_NAME "Solenoid Valve Push Button"

#define BLYNK_FIRMWARE_VERSION        "0.1.0"

#define BLYNK_PRINT Serial
//#define BLYNK_DEBUG

#define APP_DEBUG

// Uncomment your board, or configure a custom board in Settings.h
//#define USE_WROVER_BOARD

#include "BlynkEdgent.h"

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

  BlynkEdgent.begin();
}

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


Try shortening your device name.

The latest version is 1.0.1

Pete.

Hey Pete,
thanks for the fast reply. I updated the library and shortened the name. Still no output in the serial monitor. Monitor Speed is adjusted of course. Kinda feels like theres no code uploaded on the ESP32 although the IDE tells me it did.

Any other suggestions?

Edit: Code is uploading, after adjusting the LED pin in the settings.h, my BUILTIN RGB just turned on after uploading again.
If the WS2812 RGB is used as the mentioned indicator, the code is working partly.

I’d start by removing all hardware connections from your device, except the USB cable, and try again.

When you try to add the device in the app what do you see?

Pete.

Now I´m getting somewhere.

[9102191] Hold the button for 10 seconds to reset configuration…
[9121542] WAIT_CONFIG => RESET_CONFIG
[9121543] Hold the button for 10 seconds to reset configuration…
[9121545] Resetting configuration!
[9121545] Configuration stored to flash
[9121729] nvs_flash_erase: Success
[9121729] RESET_CONFIG => WAIT_CONFIG
[9124329] AP SSID: Blynk Solenoid-D875D
[9124329] AP IP: 0.0.0.0
[9124330] AP URL: blynk.setup

Still can´t get it to open an AP though.

That’s because the AP doesn’t have an IP address…

Not sure why though, but your description of your hardware and what you’ve done so far, plus lack of answer to this question…

make it difficult to help much further.

Pete.

I dont see anything when trying to add the device via the app. The ESP32 doesnt set up an AP that the app could see, or connect to.

To be precise:
“No devices found. Make sure devices are turned on and available to connect”

What would you like to know?
Thanks for the fast help btw.

Pete.

Oh pardon, i thought i made myself clear in the first post.
I didn´t put in any further code so far. Its the standard Edgent example of the (now) newest lib.

MCU is a DFrobots Firebeetle ESP32E. Standard (ESPRESSIF32-WROOM-32D)

I only changed the parameters in the setting.h folder for the button and the RBG.
Plus the standard main.ccp

// Fill-in information from your Blynk Template here
#define BLYNK_TEMPLATE_ID "TMPLIuxBA6nS"
#define BLYNK_DEVICE_NAME "Solenoid"

#define BLYNK_FIRMWARE_VERSION        "0.1.0"

#define BLYNK_PRINT Serial
//#define BLYNK_DEBUG

#define APP_DEBUG

// Uncomment your board, or configure a custom board in Settings.h
//#define USE_WROVER_BOARD
//#define USE_TTGO_T7

#include "BlynkEdgent.h"

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

  BlynkEdgent.begin();
}

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

Personally, I didn’t find this clear…

This…

is clearer.

I guess that’s the custom settings?

I was kind of hoping that you’d be forthcoming with all the steps you’d taken.

Pete.

I´m not quite sure I do understand of what steps taken you are talking about Pete?

I connected my DFrobots Firebeetle ESP32E. Standard (ESPRESSIF32-WROOM-32D) via USBC to my PC. I opened Arduino IDE and opened the Edgent Example. I customised the setting in the setting.h.
I uploaded the code and was hoping for the ESP32 to open an AP so the blynk app on my cellphone can connect to it.

How did you get your Template ID and Device ID?
Have you created a template and set-up some datastreams?

Pete.

From my Blynk template. I have set up my template and my datastreams of course.