Closed Franck78 closed 7 months ago
Thanks for the hint. I looked at this and unfortunately realized that I can't switch to ArduinoJSON v7 yet, because the ESPUI library for the WebUI still uses the functions that are no longer available from V7. So I have to wait until this library ESPUI has also been updated. We have to stay on the V6 for that long.
this is strange : "WebUI still uses the functions that are no longer available from V7"
When I replace as suggested, I don't have any undefined symbols!
Using WebUI ?(don't know who/what provides it). And ESPUI 2.2.3 (which have no json feature request or bug listed)
my web interface is based on the library ESPUI and this still use DynamicJsonDocument
what is no longer available in V7
https://github.com/search?q=repo%3As00500%2FESPUI%20dynamicjson&type=code
@Franck78 Since I no longer have a dependency in the current release candidate #80, I was able to switch to ArduinoJSON V7. I am happy for any feedback of the new version
fixed since release 4.0.0
Hello, trying to compile the thing.
stuck on
#include <gzip_c_css.h>
#include <gzip_js.h>
#include <gzip_login_html.h>
#include <gzip_m_css.h>
#include <gzip_main_html.h>
even google has nothing to say about those files ! Which lib is it ??
Hi @Franck78 These are header files that are generated in PlatformIO with a python script. I use a script to generates these files based on HTML, CSS and JS source files to a compressed gzip format. If you are using Arduino IDE this could be a problem...
I have set these files to the .gitignore because the compressed data change on every build. But I can change this and add the files to the repository.
As a quick help, files attached Archive.zip
built and sent to my test ESPS3, ok.
Just add some comment in the header file on how to build the gzipped files.
No time to really read changes in the code. I hope you separeted mttq/interface translated strings;) I see no mini light show at startup / doubleReset not easily deactivated (with #define #undef help) I also convert burner time in something readable (only for the display, not mqtt messages).
next thing to do (for ESP-S3 plenty of room), have some graphics of interesting data, served directly, some day.
I hope you separeted mttq/interface translated strings;) => yes I see no mini light show at startup / doubleReset not easily deactivated => no, sorry I also convert burner time in something readable (only for the display, not mqtt messages). => not a bad idea
Not blocking the build of the final binary, but not working ;)
As you know , I'm (still) with Arduino IDE 1.8. The library manager says "ArduinoJSON 7.0.3" is available.
When I select it, repeated warning is issued:
Result is webserver unable to get any data and displaying only "Connected".
Need to use arduino_json 6.12.5
Franck