Obtained faster performance using sys/time.h and time.h libraries suggested by schufti of the ESP8266 Forum. Removed code related to earlier libraries and three functions related to NTP, Time keeping and UDP. Everything is working: time related functions, web pages, file listing, file downloading, and graphing! ESP8266 based website is averaging less than one second response times from client connect, serving the webpage, and client close! Response time is monitored with date/time stamping and viewing in the Serial Monitor.
More than a Data Logger; fast, downloading of files. Files are stored onboard in the SPIFFS memory. Files are listed and selectable for downloading. Both ESP8266, server and Domain, hosted website receive uploaded data every 15-minutes from the same sketch. Commented out are two features; a LCD display function and an experimental, audio beep function to alert for a predetermined difference in a 15-minute interval of barometric pressure. Have read references of serve weather associated with a sudden drop in barometric pressure; set point determined from observation and frequency of occurrences.
RobotDyn WiFi D1 ESP8266 based board that is online has been used for development of project coding; therefore, there may be gaps in the data logs! The 15-minute interval has been "spot on" every 15 minutes; awesome, since project has no RTC module!
ESP8266 based hosted website: https://bit.ly/2DDV5zV and ESP8266, Domain hosted website: https://bit.ly/2M5NBs0 no file browser added features
Restrictions of free, domain hosting service is reason there is no file browser or file downloading on the Domain hosted website.. Graphing of four, observations are available on both websites.
Thank you, for the forum and for all the help received with this Open-Source project!
(17.56 KiB) Downloaded 14 times
(6.18 KiB) Downloaded 198 times