“BME680 BSEC Studies” offers graphing of Indoor Air Quality, Gas Resistance, CO2, and VOC; as well as, Async web server, FTP, OLed display, and data logging.
Project can be found on Github: BME680-BSEC-Studies
Have observered a slowness to web requests for servered pages; any ideas for improvement of response times for servered web pages?
William
Hi.
Your project does a lot of stuff “at the same time”. You’re publishing to thingspeak and handling a web server, etc.
The slowness may be related to that. Maybe the ESP32 is not powerful enough to do all that faster.
But when you say it is slow, how slow is it?
Regards,
Sara
Good Morning Sara,
Response speed is not constant; fast like normal, then slow –maybe a count of 10 sec. After 10 sec coun;t there is a normal, fast response to web server URL’s. I can close web server page, then re-open web server page fast –right after closing.
Project does have “allot of moving parts.” Another project with “aomp,” functions very well; fast responses to all GET requests. I am hitting the OLED every 30 second; I will try slowing it down. My first use of the Graphics library and OLed in a project.
Fortunately, project is built around functions; will try commenting out, one function at a time to try and isolate the time lag.
William
Hi.
Yes, that might be a good strategy to see which of those functions may be slowing down your project. Other than that, I don’t have other suggestions 😐
I’m sorry that I can’t help much.
Regards,
Sara
Sara,
Found a function call inside of loop; that was always running, moved function call. Function only runs once every time there is a datapoint now (about every two minutes). Improved “GET”request response time. Will see how that does over time…
Best REgards,
William