[GH-ISSUE #458] How to combine AutoConnectWithFSParametersAndCustomIP & OnDemandConfigPortal? #385

Closed
opened 2026-02-28 01:25:03 +03:00 by kerem · 6 comments
Owner

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.

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.
kerem closed this issue 2026-02-28 01:25:04 +03:00
Author
Owner

@tablatronix commented on GitHub (Nov 19, 2017):

Whats the error?

<!-- gh-comment-id:345483407 --> @tablatronix commented on GitHub (Nov 19, 2017): Whats the error?
Author
Owner

@tablatronix commented on GitHub (Nov 19, 2017):

Whats the code

<!-- gh-comment-id:345483429 --> @tablatronix commented on GitHub (Nov 19, 2017): Whats the code
Author
Owner

@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

<!-- gh-comment-id:345483995 --> @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
Author
Owner

@tablatronix commented on GitHub (Nov 19, 2017):

unrelated, but this has no argument!
setMinimumSignalQuality()

<!-- gh-comment-id:345485276 --> @tablatronix commented on GitHub (Nov 19, 2017): unrelated, but this has no argument! `setMinimumSignalQuality()`
Author
Owner

@tablatronix commented on GitHub (Nov 19, 2017):

Works for me, whats wrong looks like its working fine.

<!-- gh-comment-id:345486428 --> @tablatronix commented on GitHub (Nov 19, 2017): Works for me, whats wrong looks like its working fine.
Author
Owner

@tablatronix commented on GitHub (Nov 19, 2017):

There is no autoconnect in your sketch

<!-- gh-comment-id:345486556 --> @tablatronix commented on GitHub (Nov 19, 2017): There is no autoconnect in your sketch
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#385
No description provided.