mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #186] unable to set access point name #148
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#148
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 @romuye123 on GitHub (Jun 22, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/186
Following is my code:
Even if i set access point name it displays "ESP_xxxxxx" in the wifi list.
What is wrong with this ?
@romuye123 commented on GitHub (Jun 24, 2016):
@tzapu : waiting for your response
@ahmadmn commented on GitHub (Jun 24, 2016):
after
WiFiManager wifiManager;
Append this code:
WiFi.hostname("YourName");
@romuye123 commented on GitHub (Jun 24, 2016):
@ahmadmn: Thanks for your quickly reply. Tried appending the code, but it still does not work.
Here is my updated code:
WiFiManager wifiManager; WiFi.hostname("mychipname"); wifiManager.resetSettings(); wifiManager.autoConnect("testchipname");Here is debug output:
0 chksum 0x0f csum 0x0f *WM: settings invalidated *WM: THIS MAY CAUSE AP NOT TO START UP PROPERLY. YOU NEED TO COMMENT IT OUT AFTER ERASING THE DATA. *WM: *WM: AutoConnect *WM: Two *WM: Connecting as wifi client... *WM: Using last saved values, should be faster *WM: Connection result: *WM: 0 *WM: SET AP STA *WM: Three *WM: testchipname *WM: *WM: Configuring access point... *WM: testchipname *WM: AP Name Here *WM: testchipname *WM: AP IP address: *WM: 192.168.4.1 *WM: HTTP server startedFollowing is the screenshot on my phone:
It is still showing ESP_01F72F. I checked the complete library. There is a function which returns the ESP + esp.chipID() but it does not returns underscore ( _ ). This is very strange. Looking forward for your reply.
@tzapu commented on GitHub (Jun 24, 2016):
hi,
that is the default username of the esp chip, somehow it is not getting set by wifimanager at all...
can you updated to the latest everything (esp8266 core, wifimanger) and try again? also make sure you are setting the correct flash size for your esp module
cheers
@ahmadmn commented on GitHub (Jun 24, 2016):
It works for me.

I use Arduino 1.6.9 and following libs:
But I don't have this line of code:
wifiManager.resetSettings();
@romuye123 commented on GitHub (Aug 2, 2016):
Works fine after updating to latest