Comments (10)
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.
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.
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.
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.
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:
- Blynk_WM
- BlynkEthernet_WM
- WiFiManager_NINA_Lite
and many more.
Happy to see that you have engineering background. Me too but I'm retiree now.
from espasync_wifimanager.
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.
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.
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.
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.
The code you post at the beginning is running OK on all pages.
from espasync_wifimanager.
Related Issues (20)
- Captive Portal hanging depending on active core for AsyncTCP HOT 6
- Configuration not saved on azdelivery devkit v2 HOT 2
- Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled. HOT 1
- ESPAsyncDNSServer depends on faulty and not maintained library ESPAsyncUDP HOT 17
- ESP32C3 doesnt show any SSID scan results. HOT 5
- "no protocol" error HOT 2
- Possible dependency Error HOT 1
- Where to put #define when using classes
- Default all parameters as part of the library
- Compilation error: WiFiMulti.h: No such file or director HOT 1
- Frequent run time error "Connecting MultiWifi..." HOT 1
- Query: some dependencies (eg ESP_DoubleResetDetector) have been archived- safe to keep using?
- how to close the AP after successfully connecting to the configured WiFi? HOT 1
- is there a way to run it "non blocking" ? HOT 1
- FS.h isn't found HOT 1
- Platformio Build Error - no matching function for call to 'LITTLEFSImpl::open HOT 3
- SPIFFS failed!. Please use LittleFS or EEPROM. Stay forever HOT 6
- Device reboot when webServer.begin(); is called HOT 2
- no matching function for call to 'LITTLEFSImpl::open(const char*&, const char [2])' HOT 1
- webServer.addHandler(&events) crashes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espasync_wifimanager.