mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #372] How to open a web page when connect successs? #314
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#314
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 @tarzan115 on GitHub (Jun 2, 2017).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/372
hi @tzapu
thank you for your library.
when I connect success to a wifi I want to open the web with notification "Success" after window auto close. or "Faile" when connecting unsuccess. how to do that?
thank you so much
@tzapu commented on GitHub (Jun 2, 2017):
hi,
Thanks for the appreciation.
Unfortunately you can’t really do that, as by that point you will have most likely been disconnected from the module.
cheers
@tarzan115 commented on GitHub (Jun 2, 2017):
Hi,
I tried to modified function
handleWifiSaveby connecting wifi inside withconnect_statusafter that check connection before sending web page to the server. when connecting success it showed "Success" on the web page before the auto close window. but when connecting failed, it can't show "Failed" in the web page. maybe you can figure out that situation.@tablatronix commented on GitHub (Aug 27, 2017):
This is hard to handle but it can be done, the problem is you have to disconnect ap to negotiate sta, and if sta fails then sta+ap is not even possible. So you have to disconnect sta and restart the ap all while having the page refresh properly.
It is definetly on list