Coder Social home page Coder Social logo

Comments (5)

AlesSt avatar AlesSt commented on June 9, 2024 1

Got it :) i guess NTP makes some problems on mobiles :) updated lib to new version and disabled NTP and it works as a charm :)

again thank you for YOUR work here :)

is there a way to disable the static IP inputs on the config page? or should i just found the references in handle config?

BR
Ales

from esp_wifimanager.

khoih-prog avatar khoih-prog commented on June 9, 2024

Hi @AlesSt

Thanks for using the library and your encouraging words.

when i try accessing it from my Note10+ (Chrome or builtin browser and latest fw) page takes AGES to load (more than 5 mins or it doesnt at all) from PC (Chrome browser, win 10) it works as should.

sometimes i get back error in Serial monitor other times i dont: [E][WebServer.cpp:617] _handleRequest(): request handler not found
and usually after a few refreshes it loads the page quite quickly :)

is there any idea what is going on? and mainly how to solve it?

I have no idea how to solve it. Just some suggestions:

  1. But as it's working OK with the PC, there must be come incompatibility problem of the Note10+ Chrome. Normally, the cell phone WebBrowser, just a simplified version of PC version, don't have capability to handle full PC version of HTML pages. A specialised HTML version has to be written for it.

is there a way i can change the portal html code?

The full code is in public and you can change to fit your purpose. You can contribute by writing such a version for cell phone browser.

Or perhaps if that part of the code could be a separate file so it would be easy to change it

The HTML code is very dynamic, and it's automatically changing according to your dynamic parameters. So you have to read the code, fully understand then you can modify it.

  1. The IP change won't affect the Config Portal operation.

we start from beginning no page loaded ..... need to refresh a few times and then it starts working or i need to wait a minute or a few :)

  1. It's possible you have AP channel conflict / duplication, especially when you test in an environment with too many APs. The other channels can affect the communications between ESP and PC/Tablet/Note10+. Use a WiFi channel scanner to see if this is the problem.

I don't think I can help any further and close the issue now.

Regards,

from esp_wifimanager.

khoih-prog avatar khoih-prog commented on June 9, 2024

That's good news you find out a way to solve the problem.

again thank you for YOUR work here :)

You're very welcome and we, the Library Authors/Maintainers, are very happy when users can apply and make applications useful in real life.

is there a way to disable the static IP inputs on the config page?

Currently, you can do this by changing the line #975 of ESP_WiFiManager-Impl.h to

  if (_sta_static_ip)
  {

from

  //if (_sta_static_ip)
  {

I'll change to permit this feature to be user-configurable in next release, if there are more similar requests.

from esp_wifimanager.

khoih-prog avatar khoih-prog commented on June 9, 2024

Hi @AlesSt

ESP_WiFiManager v1.0.10 has just been released with these new features:

Releases 1.0.10

  1. Don't need to reinput already working SSID in Config Port to update other parameters, such as StaticIP.
  2. Disable/Enable StaticIP configuration in Config Portal from sketch. Valid only if DHCP is used.
  3. Change HTTP_XYZ constants to WM_HTTP_XYZ to avoid conflicts with future releases of ESP32 and ESP8266 cores.
  4. Add feature to change WiFi AP channel (fixed or random) to avoid conflict in AP-overcrowded environments.
  5. Enhance Config Portal GUI and get the item out of the bucket list.
  6. Enhance README.md with more instructions and illustrations.

The item 2

  1. Disable/Enable StaticIP configuration in Config Portal from sketch. Valid only if DHCP is used.

is an enhancement according to your request

is there a way to disable the static IP inputs on the config page

You'll see your contribution (by asking a good and then implemented enhancement) was noted in

Contributions-and-Thanks

Don't hesitate to have and post more enhancement requests as well as bug reports.

Regards,

from esp_wifimanager.

rucko24 avatar rucko24 commented on June 9, 2024

Got it :) i guess NTP makes some problems on mobiles :) updated lib to new version and disabled NTP and it works as a charm :)

again thank you for YOUR work here :)

is there a way to disable the static IP inputs on the config page? or should i just found the references in handle config?

BR Ales

Thanks a lot my friend, It's works for me!!!

I had some problems with the asynchronous server and AsyncElegantOTA, because the web interface of the captive portal was not visible, and sometimes it was...

But setting the NTP to false, solved.

from esp_wifimanager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.