Reconfigure device from different phone?

I am trying to reconfigure a device on a new Wi-Fi network and with a different phone than what I initially configured the device with.

I have pressed the reset button on the ESP32 and held it for 10 seconds, then went into the device on the second phone and tried to reconfigure, but it seems that the new phone is not seeing the device as it never discovered the device within the Blynk app.

Is what I’m trying to do possible?

1 Like

Yes, of course it’s possible.
Did you log-in to the Blynk app on the new phone with the same credentials that you used originally?

Does your device have an LED connected that indicates the configuration status of the device?
If so, is it flashing to indicate that it’s waiting to be configured?
Can you attach a PC to the device’s serial monitor to view the serial output messages?

Pete.

1 Like

Currently, no connection to a laptop via USB cable is possible. I’ve sent the device to someone less technical to test. They are logging in with my credentials as we test and learn how everything works. I’m new to Blynk. I went through the process here on my phone to reconfigure and was able to go through it a handful of times before sending it off to my friend. I have asked for a video of the blinking LED from before, through, and after pressing the reset button for 10 seconds (NodeMCU).

1 Like

I’m a bit confused by that statement.
Do you mean device to mobile phone/tablet connection?

Pete.

1 Like

Sorry, in response to: Can you attach a PC to the device’s serial monitor to view the serial output messages?

The answer is no. The person I have sent the device to is less technically inclined. I am attempting to troubleshoot from afar.

1 Like

Are they pressing the onboard RST button?
If so, that won’t clear the credentials.

It’s whatever button you assigned as the Blynk reset button in Settings.h
You haven’t answered my question about a status LED.

Pete.

It’s whatever button you assigned as the Blynk reset button in Settings.h

Ah ha. I was not aware that I needed to set the reset button in Settings.h. I have tried searching for documentation about this but have not found anything. Would you have a link that would help me understand better?

You haven’t answered my question about a status LED.

From my response above: I have asked for a video of the blinking LED from before, through, and after pressing the reset button for 10 seconds (NodeMCU).

However, if this button is not doing what I thought it was doing I’m not sure this is valid. I’ve still requested that they send me a video of the blinking LED. They have said that it is blinking, but I’d like to get a video showing the pattern.

This link explains how choosing one of the #define USE_XXXXX_BOARD options affects the options used in the Settings.h tab, and choosing none of the board types results in custom board configuration being used…

Pete.

It looks like instead of pressing the RST button, he should be pressing the FLASH button?

Per your documentation, this is what I have in my Settings.h file, with #include “BlynkEdgent.h” included in my sketch.

  #define BOARD_BUTTON_PIN            0
  #define BOARD_BUTTON_ACTIVE_LOW     true 

  #define BOARD_LED_PIN               2
  #define BOARD_LED_INVERSE           true
  #define BOARD_LED_BRIGHTNESS        255

Regarding the status LED, it is flashing quickly after he presses and holds the RST button for 10 seconds. He has sent me video.

You’ve misunderstood the part about board types.

Every Edgent sketch will have #include “BlynkEdgent.h” in it.

It depends what board type definition you’ve used, as this dictates which section of your Settings.h file is used.

Pete.

To be clear, I have this in my sketch.

#define USE_NODE_MCU_BOARD

#include "BlynkEdgent.h"

In that case then yes, it’s the button labelled FLASH which needs to be pressed for 10 seconds to put the device into provisioning mode.

Note that the board needs to be powered-up and booted BEFORE pressing the Flash button, otherwise the board won’t enter run mode, and the Edgent code won’t be executed.
After pressing the Flash button for 10 seconds the onboard LED should start to flash rapidly to indicate the the board is in provisioning mode.

Pete.