mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1082] Exception thrown when trying to start edit settings in onDemand portal #924
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#924
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @almcelmon on GitHub (Jun 20, 2020).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1082
Basic Infos
Hardware
WiFimanager Branch/Release:
Esp8266/Esp32:
Hardware: ESP-12e, esp01, esp25
ESP Core Version: 2.4.0, staging
Description
My goal is to launch WifiManager on setup. At a later date, I'd like users to press a button that re-initiates the process, they'll connect to the defined wifi AP and once they hit save, the device will reset. I don't need this process to be non blocking (I think). Eventually, I will save the settings and restart the device once they are done. Basically, when I hit the button, I'd like wifimanager to act the same way it does if you boot the device with no stored wifi credentials.
This seems to work, but when I open Wifi settings, I get the error shown below.
I apologize, unfortunately, due to the complexity of my sketch, the code below is not 100% matched with what I have on my end. I think the problem may be the way I'm declaring WifiManger?
Settings in IDE
Module: NodeMcu, Wemos D1
Additional libraries:
Sketch
Debug Messages
@tablatronix commented on GitHub (Jun 21, 2020):
Make sure wifimanager is in the same scope either global or redeclare it in your loop if not
@tablatronix commented on GitHub (Jun 21, 2020):
Also there is an example for this