Comments (17)
I have started a branch esp32 that has the correct bindings. Still having a couple build issues. I will work on it.
from configmanager.
Hi,
I actually dont have one, so I have no idea how that would go down. I also havn't done any reading to know that difference, or what would not work.
Happy for some help in this area though.
from configmanager.
Wow, that looks like quiet the device. As soon as I am done with my intercontinental move, I will have to get my hands on one.
from configmanager.
So after looking into this, it seems that a compatible WebServer is missing from the ESP32 library, although there does seem to be a PR #430 to add it in. Once this has been added, it should not be too difficult to adding support.
from configmanager.
They have closed PR#430 and It is available in the build. I tried to compile the ConfigManager for ESP32 using WebServer and Wifi libraries, I hit a wall with ArduinoJson. @nrwiersma you would be the best person to port it. It would be great If you could compile it for ESP32.
from configmanager.
@naveenneog according to the docs, it should be compatible.
from configmanager.
I am seeing these errors
/Users/neo-optimus/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/Memory/DynamicJsonBuffer.hpp:159:5: note: 'ArduinoJson::Internals::DynamicJsonBuffer'
DynamicJsonBuffer;
^
/Users/neo-optimus/Documents/Arduino/libraries/ESPConfigManager/src/ESPConfigManager.cpp:67:16: error: 'jsonBuffer' was not declared in this scope
return jsonBuffer.createObject();
^
/Users/neo-optimus/Documents/Arduino/libraries/ESPConfigManager/src/ESPConfigManager.cpp:70:23: error: 'jsonBuffer' was not declared in this scope
JsonObject& obj = jsonBuffer.parseObject(jsonString);
^
/Users/neo-optimus/Documents/Arduino/libraries/ESPConfigManager/src/ESPConfigManager.cpp: In member function 'void ESPConfigManager::handleAPGet()':
/Users/neo-optimus/Documents/Arduino/libraries/ESPConfigManager/src/ESPConfigManager.cpp:80:5: error: 'SPIFFS' was not declared in this scope
SPIFFS.begin();
^
ESPConfigManager is where I have modified the libraries to point to WebServer.h @nrwiersma any Idea how to fix these . Any pointers would be hugely helpful
from configmanager.
@naveenneog So it seems you have 2 issues there: ArduinoJson and SPIFFS. Not sure why it cannot find the libraries though, it depends on your setup as well. I will give compiling this a shot soon.
from configmanager.
I'm sorry I've not been available to get involved... in the midst of looming project deadlines. Looks like great progress is being made anyway. Thank you @nrwiersma and @naveenneog.
from configmanager.
@JonSilver @naveenneog So the branch is now compiling for me, but I still have no device to test this on. Can either of you confirm this is working?
from configmanager.
@naveenneog I think your compiler cannot find ArduinoJson library. I fixed the SPIFFS not being included issue in my branch.
from configmanager.
@nrwiersma I tried to build it for ESP32 , It builds fine now. I had to roll back the ArduinoJson library to older version(bblanchon/ArduinoJson#756) .
However ConfigManager.reset() is been removed it seems in your new update, my old code is giving error for that.
from configmanager.
@naveenneog Sorry, I am confused? There is no reset function, nor has there ever been a reset function. I had to check, but i have never written one. What did it do?
from configmanager.
My mistake , I was referring to the forked library. I successfully compiled and burnt it to my ESP32.
from configmanager.
@naveenneog Awesome, did it work as expected? @JonSilver Could you perhaps confirm this success? Would love to get this merged and tagged.
from configmanager.
You can verify that the right version of ArduinoJson is installed by checking the ARDUINOJSON_VERSION macros.
from configmanager.
So if there are no objections, I will merge this change today? @bblanchon this is a great idea, don't know what version we need. Perhaps we can make this a separate pull request?
from configmanager.
Related Issues (20)
- Unable to save WiFi settings to EEPROM [esp32] HOT 3
- Saving char arrays in EEPROM HOT 2
- Delay restarting device to allow web server response
- ConfigManager::begin() changes value of int in struct HOT 22
- Metadata adding config values HOT 2
- reading and writing from struct config data HOT 2
- Compiler warning HOT 1
- CORS errors HOT 6
- How can I make it to auto reconnect? HOT 4
- not possible to save the value 0 via settings.html
- Issue using LittleFS HOT 1
- Compiling / version issue with ArduinoJson HOT 3
- settings endpoint will only return last saved value HOT 5
- image file (.jpg/.png) cannot be used in index.html HOT 3
- v3 tracking issue HOT 11
- Saving config with wrong type wipes EEPROM memory HOT 3
- ESP32 Wifi Sucks .. connects every two tries .. Workaround thoughts HOT 4
- Problems with with variables in the sketch HOT 9
- One little problem with one parameter HOT 5
- Is it possible to send a Webpage from ESP32 ? HOT 7
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 configmanager.