mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #211] Redirecting after connection #172
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#172
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 @Daemach on GitHub (Aug 7, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/211
I want users to be able to tie their devices to user accounts on an external webserver so they can see their own data streams. After wifi is configured, what would it take to generate a redirect to an external web site that included a dynamic parameter, allowing 15-20 seconds for the phone to reconnect to wifi/3G after the ESP access point goes offline? The dynamic parameter I need at the moment is the MAC concatenated to the chipID. (https://my.website.com/register.aspx?sn=MACADX+CHIPID) I'm using that string as a device serial number. If the ESP can pass that along, the user should just need to log into the site and confirm.
@Daemach commented on GitHub (Aug 7, 2016):
I've tried using the custom header method. The function doesn't like strings, though:/
@kentaylor commented on GitHub (Aug 9, 2016):
I don't think you can reliably redirect to a different WiFi network.
Rather than redirect after the WiFi Manager page, use a web browser to access WiFi Manager at http://my.website.com/ . Then you will see WiFiManager when on the ESP8266 network and http://my.website.com/ when there is an internet connection. Note that it must be http not https as https can not be redirected.
As suggested in https://github.com/tzapu/WiFiManager/issues/212#issuecomment-238466227 (http://my.website.com/register.aspx?sn=MACADX+CHIPID) is where you should read your blynk token from.