[GH-ISSUE #559] WM w/parameters & Custom IP problem #469

Open
opened 2026-02-28 01:25:28 +03:00 by kerem · 1 comment
Owner

Originally created by @mrlightsman on GitHub (Mar 14, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/559

I am trying to set the custom ip using the master branch example. I am using the code unedited except for my own parameters. The main sketch is using kokappa ‘s sinric sketch to control Alexa devices and udp for some packet communications.

Hardware is an ESP01. Build environment is latest Arduino ide.

The first time the esp connects to Wi-Fi (after initial config portal) everything runs as expected. However, if I do an on demand portal call, all the parameters, including ip, gw, sn are all in place. But when I save the config The ESP stops responding to sinric commands received via websockets. The device continues to work and receive udp packets as expected.

I do not change the ip when I do the reset, I merely want to see the address so I can send udp packets to it.

If I comment out the custom ip parts of the WM code, everything runs as expected. Even after reset.

Also, the ESP seems to leave the ap mode running for several minutes after leaving the config page. Even though the sketch is running.

It was suggested I might be running out of memory. Program memory uses 87% but dynamic memory is only using 48%. So I don’t think this is the case. But people far smarter than me have offered it as a suggestion.

I apologize for not posting my code. I am not at my computer at the moment.

All help is appreciated. Thank you.

Originally created by @mrlightsman on GitHub (Mar 14, 2018). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/559 I am trying to set the custom ip using the master branch example. I am using the code unedited except for my own parameters. The main sketch is using kokappa ‘s sinric sketch to control Alexa devices and udp for some packet communications. Hardware is an ESP01. Build environment is latest Arduino ide. The first time the esp connects to Wi-Fi (after initial config portal) everything runs as expected. However, if I do an on demand portal call, all the parameters, including ip, gw, sn are all in place. But when I save the config The ESP stops responding to sinric commands received via websockets. The device continues to work and receive udp packets as expected. I do not change the ip when I do the reset, I merely want to see the address so I can send udp packets to it. If I comment out the custom ip parts of the WM code, everything runs as expected. Even after reset. Also, the ESP seems to leave the ap mode running for several minutes after leaving the config page. Even though the sketch is running. It was suggested I might be running out of memory. Program memory uses 87% but dynamic memory is only using 48%. So I don’t think this is the case. But people far smarter than me have offered it as a suggestion. I apologize for not posting my code. I am not at my computer at the moment. All help is appreciated. Thank you.
Author
Owner

@tablatronix commented on GitHub (Mar 15, 2018):

You didn't fill out the form. try dev branch

<!-- gh-comment-id:373358042 --> @tablatronix commented on GitHub (Mar 15, 2018): You didn't fill out the form. try dev branch
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#469
No description provided.