Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
and yea there is a webexample as well, all of these examples can be combined. https://gitlab.com/painlessMesh/painlessMesh/-/tree/master/examples I personally run the web service on my server with the MQTT broker which is an SBC so it has a lot more power, to display all the graphs etc of sensors. But from the looks of it you can achieve what you want just from the examples.
I did not keep my changes but if I remember correctly I added _currentClient.stop() here after the library has processed the incoming request: https://github.com/espressif/arduino-esp32/blob/master/libraries/WebServer/src/WebServer.cpp#L315. Seeing that commented out code there in the master branch makes me sad. The library is a mess. Here it unconditionally sets the "Connection: close" header: https://github.com/espressif/arduino-esp32/blob/master/libraries/WebServer/src/WebServer.cpp#L416. I have no idea why it does not close the client after it has processed the request.
Related posts
- Any good/worthwhile Camera sensor modules for arduino/pico for still photography?
- I am trying to write to an SD card, it "works" but I can only find the file on PC if I use data recovery software?
- ESP32 memory corruption
- ESP32 WiFiMulti: Connect to the Strongest Wi-Fi Network (from a listing of networks).
- problems connecting esp32 to sd card