GithubHelp home page GithubHelp logo

Comments (10)

khoih-prog avatar khoih-prog commented on August 21, 2024

This sounds much better and I'll have a look at that issue very soon when I have time as I'm currently working on something now. To be done within several days.

In the mean time, just explore some more the examples and post as much info as possible to save time for us to duplicate.
You'll benefit a good deal from that well-spent time.

from espasync_wifimanager.

thewhiterabbit avatar thewhiterabbit commented on August 21, 2024

Okay, thank you.

I also tried to use radio elements like this...

ESPAsync_WMParameter customField_C("<input name=\"tempMode\" type=\"radio\" id=\"celsius\" value=1><label for=\"celsius\">Celsius</label>");
ESPAsync_wifiManager.addParameter(&customField_C);

ESPAsync_WMParameter customField_F("<input name=\"tempMode\" type=\"radio\" id=\"fahrenheit\" value=2><label for=\"fahrenheit\">Fahrenheit</label>");
ESPAsync_wifiManager.addParameter(&customField_F);

but this approach must be completely incorrect because the data in value=[1 or 2] is never stored in the FS key "tempMode".

I would like to add this radio button example to you documentation for pull once I get it working.

If you need help on your other project I can help.

from espasync_wifimanager.

khoih-prog avatar khoih-prog commented on August 21, 2024

I'm in final steps to test after finishing this to help a person on Arduino Forum. Only one more example to do.

TimerInterrupt for Arduino Nano 33 BLE

Do you have Nano-33-BLE to test?

If you're willing to participate, I'll coordinate with you to test new Libraries and Libraries' releases, to save me some time as I still have to do it mostly alone, sometimes with the help of Miguel Wisintainer, a Univ. Prof. in Brazil.

I believe you'll get a lot more experience thru that, and know a lot deeper details of many libraries. That'll very good to be used in the future.

from espasync_wifimanager.

thewhiterabbit avatar thewhiterabbit commented on August 21, 2024

No, I don't have that board. :(

I can order different boards for testing though. Yes, I'd like to help in any way I can.

I'm working on a way to iterate through all custom parameters added and save to file instead of having to add them in both writeConfig and readConfig functions like in your examples. Maybe core can be modified to array everything added with .addParameter and automatically save with a method like .saveParametersFS().

I'm very good at engineering improvements once I know how cores work.

from espasync_wifimanager.

khoih-prog avatar khoih-prog commented on August 21, 2024

The current way to add params is very clumsy, and I'll modify this ESPAsync_WiFiManager and ESP_WiFiManager very soon to use the solution similar to these libraries

Look at how I implemented dynamic params:

  1. Blynk_WM
  2. BlynkEthernet_WM
  3. WiFiManager_NINA_Lite
    and many more.

Happy to see that you have engineering background. Me too but I'm retiree now.

from espasync_wifimanager.

khoih-prog avatar khoih-prog commented on August 21, 2024

I'm done with and already posted new NRF52_MBED_TimerInterrupt Library and on Arduino Forum as NRF52_MBED_TimerInterrupt Library for Nano-33-BLE

You're very welcome to test it whenever you have the Nano-33-BLE.

Will have a look at your issue late tomorrow.

from espasync_wifimanager.

thewhiterabbit avatar thewhiterabbit commented on August 21, 2024

Okay.

I like the way dynamic parameters work in those linked repos.

I just encountered a problem with adding option type inputs currently; They need the same name, but different IDs for label elements.

My solution is to implement .addParameter with the element ID value as an option, and it will default to the same value as element Name if unspecified. this way option elements work and keep the same name, with different IDs.

I'll pull request tomorrow when I get done amending ESPAsync_WiFiManager-Impl.h.

from espasync_wifimanager.

khoih-prog avatar khoih-prog commented on August 21, 2024

I don't think we'll make disruptive change to this library as many people are using and relying on it.

I'll create a new one to use the new and easy dynamic params configuration as you've seen. Already done that new lib halfway quite some time ago, then left it there to rust.

So don't make disruptive PR now to this lib, and wait for the new one to come.

Just concentrate on the documentation and bug for this lib and its twin ESP_WiFiManager now

from espasync_wifimanager.

khoih-prog avatar khoih-prog commented on August 21, 2024

Just invite you into Private Repo for later discussion about future projects, collaboration and tests.

Have a look at the first unfinished draft of HOWTOAddDynamicParameters and modify as necessary.

Fresh outsiders always have better vision that insiders because of tunnel-vision.

from espasync_wifimanager.

khoih-prog avatar khoih-prog commented on August 21, 2024

The code you post at the beginning is running OK on all pages.

Selection_611

Selection_612

from espasync_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.