Chat freely about anything...
User avatar
By schufti
#75319 Hi,
some people seem to forget that most of the users in this forum are "Arduinoists", thus no professionals per se. I allways try to respect different and challenging coding styles up to the point where it interferes with correct function. Most of the time I try giving hints or examples for alternatives, sometimes there is no other way than to pinpoint a problem ...

there seems to be something wrong with the html or the server. I tried from 3 different PCs with 3 different browsers and never got a final webpage displayed: On one PC it just sits loading ..., the other asks me what I want to do with the content, the third shows the page for some seconds then reports that the connection has been closed by the host.

Unfortunately I'm not an html person so someone else is needed...
User avatar
By Sirquil
#75330 Project Hosted website is not accepting new data via POST method currently. Hosting service is looking into this issue; this just began while I was switch over to the new time routine. I can see the new data being sent on the Serial Monitor. Hosted website is: https://tinyurl.com/Indpls-weather

The original website running directly from the RobotDyn WiFi D1 R2 board is:

https://tinyurl.com/500-weather Created a new link; in case there was a problem with the old link.

William
Last edited by Sirquil on Wed Aug 08, 2018 10:43 pm, edited 2 times in total.
User avatar
By Sirquil
#75366 Problem of data not posting to hosted website was caused by my copying a earlier version of the project creating the latest version.that did not have the correct destination path,

My apologies for not finding this before turning to the forum; finding the cause, was my coding of the destination path!

Website is working correctly: https://tinyurl.com/Indpls-weather

Corrected the project file. Everything is working!

William
Attachments
(11.32 KiB) Downloaded 14 times
User avatar
By Sirquil
#75456 Faster performance using the two ESP8266 libraries schufti pointed out; sys/time.h and time.h and having removed some code related to libraries no longer used. Everything is working: ESP8266 server website and the Hosted website.

Current version of the "NTP_Web_Interface.ino" has been renamed to: "Fast_Time_Web_Interface_v5.ino."

More than a Data Logger; allows fast, remote downloading of files stored in the SPIFFS memory, files are selectablef for download. Both ESP8266, local server and Hosted web server are available from the same sketch. Two added features; a LCD display function and a Audio alert for a predetermined difference in a fifteen minute interval of barometric pressure (experimental).

Same 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 from the top of the hour. Awesome, for no real time clock. All time related requirements are provided by NTP time server. Even has a backup time server! Sensor, components, and connection soldered to a SB400 prototyping board.

Two websites;one sketch: ESP8266 website: https://tinyurl.com/500-weather and Hosted website: https://tinyurl.com/Indpls-weather

Restrictions on "Hostinger Free" Hosting service is why there is no file browser; unlike the ESP8266 Server website.. Graphing of four, weather parameters are available on both websites.

William
Last edited by Sirquil on Wed Aug 08, 2018 10:42 pm, edited 1 time in total.