[GH-ISSUE #93] AutoConnectWithFSParameters Examples not working #67

Closed
opened 2026-02-28 01:23:13 +03:00 by kerem · 10 comments
Owner

Originally created by @ratzl on GitHub (Feb 5, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/93

Hi,
I've tried both examples for adding custom parameters, both are not working.
Custom parameters will not be saved, and ESP is not connected to AP.

I'm using core 2.1.0 and lib 0.9

*WM: Parameter
*WM: server
*WM: bla
*WM: Parameter
*WM: port
*WM: 8081
*WM: Parameter
*WM: blynk
*WM: YOUR_BLYNK_N
*WM: static ip
*WM: 10.0.1.56
*WM: static gateway
*WM: 10.0.1.1
*WM: static netmask
*WM: 255.255.255.0
*WM: Sent wifi save page
*WM: Connecting to new AP
*WM: Connecting as wifi client...
*WM: Custom STA IP/GW/Subnet
*WM: 10.0.1.56
*WM: Connection result:
*WM: 0
*WM: Failed to connect.

Originally created by @ratzl on GitHub (Feb 5, 2016). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/93 Hi, I've tried both examples for adding custom parameters, both are not working. Custom parameters will not be saved, and ESP is not connected to AP. I'm using core 2.1.0 and lib 0.9 *WM: Parameter *WM: server *WM: bla *WM: Parameter *WM: port *WM: 8081 *WM: Parameter *WM: blynk *WM: YOUR_BLYNK_N *WM: static ip *WM: 10.0.1.56 *WM: static gateway *WM: 10.0.1.1 *WM: static netmask *WM: 255.255.255.0 *WM: Sent wifi save page *WM: Connecting to new AP *WM: Connecting as wifi client... *WM: Custom STA IP/GW/Subnet *WM: 10.0.1.56 *WM: Connection result: *WM: 0 *WM: Failed to connect.
kerem closed this issue 2026-02-28 01:23:13 +03:00
Author
Owner

@tzapu commented on GitHub (Feb 5, 2016):

hi

that looks wrong

*WM: static ip
*WM: 100156
*WM: static gateway
*WM: 10011
*WM: static netmask
*WM: 2552552550

missing some dots…

On 5 Feb 2016, at 14:51, ratzl notifications@github.com wrote:

Hi,
I've tried both examples for adding custom parameters, both are not working
Custom parameters will not be saved, and ESP is not connected to AP

I'm using core 210 and lib 09

*WM: Parameter
*WM: server
*WM: bla
*WM: Parameter
*WM: port
*WM: 8081
*WM: Parameter
*WM: blynk
*WM: YOUR_BLYNK_N
*WM: static ip
*WM: 100156
*WM: static gateway
*WM: 10011
*WM: static netmask
*WM: 2552552550
*WM: Sent wifi save page
*WM: Connecting to new AP
*WM: Connecting as wifi client
*WM: Custom STA IP/GW/Subnet
*WM: 100156
*WM: Connection result:
*WM: 0
*WM: Failed to connect


Reply to this email directly or view it on GitHub https://github.com/tzapu/WiFiManager/issues/93.

<!-- gh-comment-id:180349459 --> @tzapu commented on GitHub (Feb 5, 2016): hi that looks wrong *WM: static ip *WM: 100156 *WM: static gateway *WM: 10011 *WM: static netmask *WM: 2552552550 missing some dots… > On 5 Feb 2016, at 14:51, ratzl notifications@github.com wrote: > > Hi, > I've tried both examples for adding custom parameters, both are not working > Custom parameters will not be saved, and ESP is not connected to AP > > I'm using core 210 and lib 09 > > *WM: Parameter > *WM: server > *WM: bla > *WM: Parameter > *WM: port > *WM: 8081 > *WM: Parameter > *WM: blynk > *WM: YOUR_BLYNK_N > *WM: static ip > *WM: 100156 > *WM: static gateway > *WM: 10011 > *WM: static netmask > *WM: 2552552550 > *WM: Sent wifi save page > *WM: Connecting to new AP > *WM: Connecting as wifi client > *WM: Custom STA IP/GW/Subnet > *WM: 100156 > *WM: Connection result: > *WM: 0 > *WM: Failed to connect > > — > Reply to this email directly or view it on GitHub https://github.com/tzapu/WiFiManager/issues/93.
Author
Owner

@ratzl commented on GitHub (Feb 5, 2016):

sorry ???

<!-- gh-comment-id:180351473 --> @ratzl commented on GitHub (Feb 5, 2016): sorry ???
Author
Owner

@tzapu commented on GitHub (Feb 5, 2016):

100156 is not a valid ip

nor is 2552552550

On 5 Feb 2016, at 15:12, ratzl notifications@github.com wrote:

sorry ???


Reply to this email directly or view it on GitHub https://github.com/tzapu/WiFiManager/issues/93#issuecomment-180351473.

<!-- gh-comment-id:180352214 --> @tzapu commented on GitHub (Feb 5, 2016): 100156 is not a valid ip nor is 2552552550 > On 5 Feb 2016, at 15:12, ratzl notifications@github.com wrote: > > sorry ??? > > — > Reply to this email directly or view it on GitHub https://github.com/tzapu/WiFiManager/issues/93#issuecomment-180351473.
Author
Owner

@ratzl commented on GitHub (Feb 5, 2016):

did't you see te dots in your browser?

*WM: Parameter
*WM: server
*WM: bla
*WM: Parameter
*WM: port
*WM: 8081
*WM: Parameter
*WM: blynk
*WM: YOUR_BLYNK_N
*WM: static ip
*WM: 10.0.1.56
*WM: static gateway
*WM: 10.0.1.1
*WM: static netmask
*WM: 255.255.255.0
*WM: Sent wifi save page
*WM: Connecting to new AP
*WM: Connecting as wifi client...
*WM: Custom STA IP/GW/Subnet
*WM: 10.0.1.56
*WM: Connection result:
*WM: 0
*WM: Failed to connect.

<!-- gh-comment-id:180353625 --> @ratzl commented on GitHub (Feb 5, 2016): did't you see te dots in your browser? *WM: Parameter *WM: server *WM: bla *WM: Parameter *WM: port *WM: 8081 *WM: Parameter *WM: blynk *WM: YOUR_BLYNK_N *WM: static ip *WM: 10.0.1.56 *WM: static gateway *WM: 10.0.1.1 *WM: static netmask *WM: 255.255.255.0 *WM: Sent wifi save page *WM: Connecting to new AP *WM: Connecting as wifi client... *WM: Custom STA IP/GW/Subnet *WM: 10.0.1.56 *WM: Connection result: *WM: 0 *WM: Failed to connect.
Author
Owner

@ratzl commented on GitHub (Feb 5, 2016):

btw, i have only edit the server,port and blynk parameter

<!-- gh-comment-id:180354688 --> @ratzl commented on GitHub (Feb 5, 2016): btw, i have only edit the server,port and blynk parameter
Author
Owner

@tzapu commented on GitHub (Feb 5, 2016):

no, something must of been off on the email formatting, weird.
in the examples, if it doesn t connect, it doesn t save, so that s why that is happening.
as for connecting, i don t know why it behaves like that, it s something amiss in newer sdk s...
check the following:

  • no delay() in setup()
  • arduino ide flash size set to proper module size
  • do a FS.format(), and/or change spiff size beforehand.
  • check one of the simple autoConnect samples see if they work
    i hope some of those will sort it
    cheers
<!-- gh-comment-id:180360818 --> @tzapu commented on GitHub (Feb 5, 2016): no, something must of been off on the email formatting, weird. in the examples, if it doesn t connect, it doesn t save, so that s why that is happening. as for connecting, i don t know why it behaves like that, it s something amiss in newer sdk s... check the following: - no delay() in setup() - arduino ide flash size set to proper module size - do a FS.format(), and/or change spiff size beforehand. - check one of the simple autoConnect samples see if they work i hope some of those will sort it cheers
Author
Owner

@ratzl commented on GitHub (Feb 5, 2016):

same problem with simple AutoConnect ... not connecting

<!-- gh-comment-id:180389861 --> @ratzl commented on GitHub (Feb 5, 2016): same problem with simple AutoConnect ... not connecting
Author
Owner

@tzapu commented on GitHub (Feb 8, 2016):

hi, did you check/try these

  • no delay() in setup()
  • arduino ide flash size set to proper module size
  • do a FS.format(), and/or change spiff size beforehand.
<!-- gh-comment-id:181214393 --> @tzapu commented on GitHub (Feb 8, 2016): hi, did you check/try these - no delay() in setup() - arduino ide flash size set to proper module size - do a FS.format(), and/or change spiff size beforehand.
Author
Owner

@ratzl commented on GitHub (Feb 12, 2016):

hi,
after a long test period I've found out some strange behavior:

To change custom parameters I need the following steps:

-Enter Config Page
-Insert wrong ssid and password , --->save settings.
-Power cycle ESP Module
-Enter Config Page
-Insert correct ssid and password , and insert custom parameters--->save settings.

Now custom parameters are saved !

<!-- gh-comment-id:183222695 --> @ratzl commented on GitHub (Feb 12, 2016): hi, after a long test period I've found out some strange behavior: To change custom parameters I need the following steps: -Enter Config Page -Insert wrong ssid and password , --->save settings. -Power cycle ESP Module -Enter Config Page -Insert correct ssid and password , and insert custom parameters--->save settings. Now custom parameters are saved !
Author
Owner

@tzapu commented on GitHub (Feb 16, 2016):

so, if you enter the correct ssid and pass the first time, the custom params are not saved?

<!-- gh-comment-id:184534691 --> @tzapu commented on GitHub (Feb 16, 2016): so, if you enter the correct ssid and pass the first time, the custom params are not saved?
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#67
No description provided.