mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #458] How to combine AutoConnectWithFSParametersAndCustomIP & OnDemandConfigPortal? #385
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#385
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 @FarmerKJS on GitHub (Nov 19, 2017).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/458
Is there any way to do this? I tried setting it up like it shows in the example but I get an error.
@tablatronix commented on GitHub (Nov 19, 2017):
Whats the error?
@tablatronix commented on GitHub (Nov 19, 2017):
Whats the code
@FarmerKJS commented on GitHub (Nov 19, 2017):
https://pastebin.com/pUJXNTWh
It will show the portal if I connect the pin. If the pin is not connected it does this:
mounted file system
reading config file
opened config file
{"data_server":"api.thingspeak.com","update_interval":"30","api_key":"123123123","ip":"192.168.0.9","gateway":"192.168.0.1","subnet":"255.255.255.0"}
parsed json
setting custom ip from config
192.168.0.9
192.168.0.9
DBBRTU1YO98KYKBP
api.thingspeak.com
connected...yeey :)
local ip
0.0.0.0
0.0.0.0
0.0.0.0
Temperature: -196.60
connecting to api.thingspeak.com
connection failed
@tablatronix commented on GitHub (Nov 19, 2017):
unrelated, but this has no argument!
setMinimumSignalQuality()@tablatronix commented on GitHub (Nov 19, 2017):
Works for me, whats wrong looks like its working fine.
@tablatronix commented on GitHub (Nov 19, 2017):
There is no autoconnect in your sketch