mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #1462] Possible to keep over the air uploads when connected to wifi? #1252
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#1252
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 @jackkitley on GitHub (Jul 27, 2022).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1462
Basic Infos
Hardware
WiFimanager Latest
Esp8266: ESP 12F
Hardware: ESP-12f
Core Version: 2.4.0, staging
Description
I wanted to know when connected to WIFI that i could access the assigned IP address to still be able to upload .bin files. Is this possible?
Thanks
Additional libraries:
Sketch
Debug Messages
@tablatronix commented on GitHub (Jul 27, 2022):
Yes, just you normally would
@jackkitley commented on GitHub (Jul 27, 2022):
Hmm, when the AP is up its 192.168.4.1 but when its connected to router then if i access the IP i get nothing. So it doesnt spin up an interface to configure settings. Im wanting to upload a new .bin file.
@tablatronix commented on GitHub (Jul 27, 2022):
oh you mean httpupload? not arduinoota?
use startwebportal() ondemand example
@jackkitley commented on GitHub (Jul 27, 2022):
Yes sir.
I did try startwebportal() from your example but didnt seem to work. ill try again with my D1 mini.
So startwebportal() serves the exact same AP page?
Thank you.
@tablatronix commented on GitHub (Jul 27, 2022):
Yes just without starting the softap configportal
configportal is softap+httpd+captiveportal
webportal is httpdserver only
https://github.com/tzapu/WiFiManager/blob/master/examples/OnDemand/OnDemandWebPortal/onDemandWebPortal.ino
@jackkitley commented on GitHub (Jul 27, 2022):
Yes, this is what i have right now and in the loop i had the portal start.
@jackkitley commented on GitHub (Jul 27, 2022):
Thank you.

Huge help
@jackkitley commented on GitHub (Jul 28, 2022):
@tablatronix Just one more question. I had params that i setup (in code above) but when i spin up the portal and go to /p or setup then there are no params.
The params i use are for MQTT settings? How can i get them to the portal as well as initial AP setup.
Thanks
@tablatronix commented on GitHub (Jul 29, 2022):
Sounds like a scope issue, are you setting your params in setup ?
You will need to make them global or static somehow