-->
Page 11 of 13

Re: Wemos D1 R2 Project: Weather Observations with four gra

PostPosted: Fri Apr 20, 2018 4:11 pm
by Sirquil
Removed all occurrences of "\r\n" from lines with "client.println." Implemented your suggestion to use formatted strftime, added %Z for timezone. Works perfectly, thank you schufti! Eliminated most of the timeStamp function except the formatting of "strftime."

File name was changed from "NTP_Web_Interface.zip" to reflect; faster, client connections under one second consistently .

ESP8266 Server web site: https://tinyurl.com/Treyburnweather New link!

Hosted web site: https://tinyurl.com/Indpls-weather

William

Re: Wemos D1 R2 Project: Weather Observations with four gra

PostPosted: Fri Apr 20, 2018 4:55 pm
by jankop
By me your HTML head is incorrect:
Code: Select all<!DOCTYPE HTML>
<html>
<head><h3><title>Weather Observations</title><h3>
<h2>Treyburn Lakes<br>
Indianapolis, IN 46239</h2></head><br>
<body>


It should be better:
Code: Select all<!DOCTYPE HTML>
<html>
<head><title>Weather Observations</title></head>
<body>
<h2>Treyburn Lakes<br>
Indianapolis, IN 46239</h2><br>


I would recommend using the real Content-Length parameter
in HTTP header.

Re: Wemos D1 R2 Project: Weather Observations with four gra

PostPosted: Fri Apr 20, 2018 6:45 pm
by Sirquil
Thank you jankop. Will correct.

I do appreciate the help!

Wiliam

Re: Wemos D1 R2 Project: Weather Observations with four gra

PostPosted: Sun Jul 29, 2018 12:01 am
by Sirquil
Update 7/29/2018

Defective sensor replaced. New SB400 sensor board built with a 6 pin, female header for mounting BME280 sensor (future use to test other BME280 sensors with male header pins.)

Robotdyn WiFi D1 Projec-smallert.jpg
Image of server and sensor board


Some minor changes to code for better client request response.

http://weather-1.ddns.net/Weather ESP8266 Server web site --new

https://observations-weather.000webhostapp.com/index.php Domain hosted web site

William