I am having trouble with BlynkEdgent.

How to reset Wi-Fi configuration without calling BlynkEdgent.run when there is no network?

My project needs to handle network loss and allow Wi-Fi reconnection in a different location. However, if there is no network, BlynkEdgent does not allow pressing the button for 10 seconds to reset Wi-Fi.

If I put BlynkEdgent.run inside the loop(), when the network is lost, the system gets stuck trying to scan for a network and cannot perform other functions.

Does anyone have a solution for this issue? Please guide me. Thank you!

You need to provide more info.
Are you saying that you’re unable to enter provisioning mode by pressing the Blynk reset button for 10 seconds?
If so, then more info is needed about your hardware setup and how you’ve configured the Edgent sketch.

Pete.

I am using ESP32, and I am encountering an issue where I cannot reset the Wi-Fi configuration when there is no network. This means that when the system is running and loses internet connectivity, there are two cases: 1) If BlynkEdgent.run() is included in the loop, the program will hang because it is trying to find Wi-Fi, and 2) If I do not include the BlynkEdgent.run() function in the loop, other parts of the program will work, but I cannot press the IO0 button to reset the Wi-Fi because Blynk.run() is not called."

What board type is un commented in your sketch, and what does your Settings.h file look like?
What is your indicator LED doing, and what does your serial monitor show when you press the button?

Pete.