I am working with PIO, for this example
3.2 – Web Server: Display Sensor Readings (Table)
I DO NOT use the BME Sensor, I use my own sensor and its library, the problem arises when I create the platformio.ini as indicated on page 385……. I DO NOT use the BME
[env:esp12e]
platform = expressif8266
board = esp12e
framework = arduino
monitor_speed = 115200
lib_deps = ESP Async WebServer
arduino-libraries/Arduino_JSON@0.1.0
board_build.filesystem = littlefs
In the main file:
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <ESPAsyncTCP.h>
#include <ESPAsyncWebServer.h>
#include “LittleFS.h”
#include <Arduino_JSON.h>
I have three INCLUDE errors:
Can’t open .h files
Does NOT recognize Arduino_JSON.h
#include <ESPAsyncTCP.h>
#include <ESPAsyncWebServer.h>
#include <Arduino_JSON.h>
Hi.
Instead of editing the platformIO.ini file, try to include the libraries manually. Delete the libraries you already have from the plaformio.ini file.
Then, in VS Code click on the Libraries tab (in PIO Home), search for the libraries you want to include, and then add them to your project.
Try to compile the code again and check if the issue is solved.
Regards,
Sara
Hi Sara, thanks for your support, problem fixed…..I instaled manually the Libraries from PIO HOME Thanks and regards.
Nestor.
I don’t understand why this message appears…….”Helllo”, Are you cheating huh?
I am responding to Sara informing that the problem has been solved…..thanks Sara again
Hi.
I guess you can ignore that message. I’m not sure what it means…
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara
Hello,
first of all thanks for the effort you take in creating so many content.
I’m using in my webserver project the AsynWebServer. After a certain time I recognized some instability with my IOS devices. Than I learned this can be a issue with the AsynWebServer and it looks like there is no fix. However may it’s time to change the “horses” and jump to the HttpServer or HttpsServer. This will have some effort, however I like the the template function in the Asynwebserver for exchanging keywords which works with inside the code buffered HTML content.
do you know is there some function for the HTTP or HTTPS server available, I’m searching for 2 intensiv days with out success ( maybe I have overlooked some code) by the way way I found something by reading from SPIFFS Which wouldnt help me
Looking for your advise
All the best
Peter
Hi.
What do you mean by instability? What happens exactly?
For HTTPS you can use WiFiClientSecure. Take a look at this video: https://www.youtube.com/watch?v=Wm1xKj4bKsY
Regards,
Sara