-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Load/save config json from spiffs and assign params to local variables #259
Comments
For the JSON please check out example IotWebConf17JsonConfig. |
Thanks for the answer, but where are the loaded config params saved after loading it from the json to use the strncpy command? |
"load json" means: load configuration from file and store in eeprom |
I understand the general functionality, but it´s super confusing for me to handle the customParams i´ve already setup in my own webconfig.h to extend the systemParams with e.g. params for Telegram (TELEGRAMBOTtokenParam, TELEGRAMChatIDParam, etc..) Sorry for my stupid questions, but a little hard to understand your thoughts and the way of walk in the code. |
Hello,
my typical application should work like this:
-> else: create WiFi AP and load iotwebconf, after save json to spiffs
The WiFi is only needed for configuration and if jumper is set, in any other case WiFi needs to be disabled (power saving)
How can load the json and assign the values from the json to my local/global variables?
The custom params section in the iotwebconf is already implemented in my code only the assignment of the dealing with json config is a big question mark for me.
Thanks to all for this great project.
The text was updated successfully, but these errors were encountered: