Author Topic: HOMEWEATHERSTATION Dashboard template  (Read 26792 times)

0 Members and 1 Guest are viewing this topic.

Offline prestwickwx

  • Member
  • *
  • Posts: 49
Re: HOMEWEATHERSTATION Dashboard template
« Reply #375 on: September 23, 2017, 04:38:16 PM »
Brian,

Interesting issue - in case someone else has the problem. I noticed that my template stopped posting data after the PHP version was updated to 5.6.31, by my hosting provider. So, i downloaded your latest meteobridge version September 23, 2017, and installed. I could not get the template to post data from my MBrealtimeupload.txt file. Everything in the easysetup looked fine, but the template had no data. In addition, the Demo data worked fine. In the past, I had always used the path http://Domain/pws/MBrealtimeupload.txt and that worked fine. I changed the path to MBrealtimeupload.txt (root pws directory) and it found the data and that solved the issue. It's now posting fine, with the exception, of the forecast and current conditions script - which may be a Weather Underground problem.

http://myrtlebeachweather.org/pws/index.php

Chuck

looks like the problem is also blocking the k-index data, earthquake data also .  so check folder/file permissions , is fwrite supported , is fopen supported
since upgrade worth checking if anything has got changed in the upgrade. the template is developed on php 7 to 7.1.8 and php 7.2(beta) .

http://myrtlebeachweather.org/pws/jsondata/wuweatherupdate.txt
http://myrtlebeachweather.org/pws/jsondata/eqnotification.txt
http://myrtlebeachweather.org/pws/jsondata/kindex.txt

are all blank.

thats all i can think of without seeing server configuration.   run or create a phpinfo page

<?php
phpinfo();
?>

brian

Yes, you are right. I reset all of the permissions, in case they were changed during the update. Did not seem to make any difference. I am wondering if it has something to do with SSL. It appears that they may have enabled OpenSSL on the server, but I am not sure it is fully implemented. I can get to the site via Https. I will take a look at the PHPinfo and see if I spot anything.

Thanks,

Chuck

Offline Toxic

  • Contributor
  • ***
  • Posts: 108
  • #conligwx
    • conligwx.org
Re: HOMEWEATHERSTATION Dashboard template
« Reply #376 on: September 23, 2017, 06:24:30 PM »
looks like Wu-update isn't working as none of your graphs are working. Can you confirm you are using the correct wu key and ID number?
Regards Simon


Offline prestwickwx

  • Member
  • *
  • Posts: 49
Re: HOMEWEATHERSTATION Dashboard template
« Reply #377 on: September 23, 2017, 09:56:20 PM »
looks like Wu-update isn't working as none of your graphs are working. Can you confirm you are using the correct wu key and ID number?

Thanks for the suggestion. I did check those out and both are correct. The template was working fine until the Hosting company upgraded the PHP version to 5.6.31. It seems that has killed PHP in the template.

Thanks,

Chuck

Offline prestwickwx

  • Member
  • *
  • Posts: 49
Re: HOMEWEATHERSTATION Dashboard template
« Reply #378 on: September 23, 2017, 10:08:14 PM »
Brian,

Interesting issue - in case someone else has the problem. I noticed that my template stopped posting data after the PHP version was updated to 5.6.31, by my hosting provider. So, i downloaded your latest meteobridge version September 23, 2017, and installed. I could not get the template to post data from my MBrealtimeupload.txt file. Everything in the easysetup looked fine, but the template had no data. In addition, the Demo data worked fine. In the past, I had always used the path http://Domain/pws/MBrealtimeupload.txt and that worked fine. I changed the path to MBrealtimeupload.txt (root pws directory) and it found the data and that solved the issue. It's now posting fine, with the exception, of the forecast and current conditions script - which may be a Weather Underground problem.

http://myrtlebeachweather.org/pws/index.php

Chuck

looks like the problem is also blocking the k-index data, earthquake data also .  so check folder/file permissions , is fwrite supported , is fopen supported
since upgrade worth checking if anything has got changed in the upgrade. the template is developed on php 7 to 7.1.8 and php 7.2(beta) .

http://myrtlebeachweather.org/pws/jsondata/wuweatherupdate.txt
http://myrtlebeachweather.org/pws/jsondata/eqnotification.txt
http://myrtlebeachweather.org/pws/jsondata/kindex.txt

are all blank.

thats all i can think of without seeing server configuration.   run or create a phpinfo page

<?php
phpinfo();
?>

brian

Yes, you are right. I reset all of the permissions, in case they were changed during the update. Did not seem to make any difference. I am wondering if it has something to do with SSL. It appears that they may have enabled OpenSSL on the server, but I am not sure it is fully implemented. I can get to the site via Https. I will take a look at the PHPinfo and see if I spot anything.

Thanks,

Chuck

After looking at the PHP info I see that fopen shows this:

Directive            Local Value          Master Value
allow_url_fopen        Off                          Off

Offline sacreyweather

  • Echo Valley Weather
  • Forecaster
  • *****
  • Posts: 1543
    • Echo Valley Weather
Re: HOMEWEATHERSTATION Dashboard template
« Reply #379 on: September 23, 2017, 10:18:59 PM »
Hi Chuck,

allow_url_fopen will need to be set to "on" for the PHP part of your website to function correctly.
CWOP: D2073, GR2AE, GR3, Cumulus, PWSweather,  CoCoRaHS: AR-SL-23  

Saline Weather on Twitter
Blitzortung Station 1387

Offline prestwickwx

  • Member
  • *
  • Posts: 49
Re: HOMEWEATHERSTATION Dashboard template
« Reply #380 on: September 23, 2017, 11:13:29 PM »
Hi Chuck,

allow_url_fopen will need to be set to "on" for the PHP part of your website to function correctly.

Yes, that must be the problem. My server cannot grab the data from WU. When they upgraded PHP the newer version had this disabled by default - for security.

Thanks for the info.

Offline weatherist34

  • its just my hobby
  • Forecaster
  • *****
  • Posts: 461
    • Sinanoba Istanbul Home Weather Station
Re: HOMEWEATHERSTATION Dashboard template
« Reply #381 on: September 25, 2017, 01:01:45 AM »
Hi Chuck,

allow_url_fopen will need to be set to "on" for the PHP part of your website to function correctly.

Yes, that must be the problem. My server cannot grab the data from WU. When they upgraded PHP the newer version had this disabled by default - for security.

Thanks for the info.
Good morning I just checked everything seems ok now so I guess you got to the bottom of it..brian

Offline prestwickwx

  • Member
  • *
  • Posts: 49
Re: HOMEWEATHERSTATION Dashboard template
« Reply #382 on: September 25, 2017, 09:00:10 AM »
Hi Chuck,

allow_url_fopen will need to be set to "on" for the PHP part of your website to function correctly.

Yes, that must be the problem. My server cannot grab the data from WU. When they upgraded PHP the newer version had this disabled by default - for security.

Thanks for the info.
Good morning I just checked everything seems ok now so I guess you got to the bottom of it..brian
Brian,
Yes. All is well. The updated PHP had fopen turned off by default. The hosting provider had not passed on that info. Enabled it and everything went back to normal.

Thanks!

Chuck

Offline weatherist34

  • its just my hobby
  • Forecaster
  • *****
  • Posts: 461
    • Sinanoba Istanbul Home Weather Station
Re: HOMEWEATHERSTATION Dashboard template
« Reply #383 on: September 25, 2017, 09:11:29 AM »
Hi Chuck,

allow_url_fopen will need to be set to "on" for the PHP part of your website to function correctly.

Yes, that must be the problem. My server cannot grab the data from WU. When they upgraded PHP the newer version had this disabled by default - for security.

Thanks for the info.
Good morning I just checked everything seems ok now so I guess you got to the bottom of it..brian
Brian,
Yes. All is well. The updated PHP had fopen turned off by default. The hosting provider had not passed on that info. Enabled it and everything went back to normal.

Thanks!

Chuck

im glad, however keep a lookout during october , i will release a version solely for meteobridge-api to use mysql(i) ,just need some time to get up on the roof and install some new hardware and test them out . so wu will only provide forecast data . hopefully it should be a relatively easy setup for the template as Im using mysql with the ws1001 template version .. ps OS wmr300 looks awfully the same as a Davis VP2 especially the rain bucket section ive yet to peep inside the temp/humidity section but think i will tomorrow.unfortunately i dont have space to run them side by side for a comparison but shockingly similar on first inspection..brian

Offline prestwickwx

  • Member
  • *
  • Posts: 49
Re: HOMEWEATHERSTATION Dashboard template
« Reply #384 on: September 25, 2017, 09:19:49 AM »
Hi Chuck,

allow_url_fopen will need to be set to "on" for the PHP part of your website to function correctly.

Yes, that must be the problem. My server cannot grab the data from WU. When they upgraded PHP the newer version had this disabled by default - for security.

Thanks for the info.
Good morning I just checked everything seems ok now so I guess you got to the bottom of it..brian
Brian,
Yes. All is well. The updated PHP had fopen turned off by default. The hosting provider had not passed on that info. Enabled it and everything went back to normal.

Thanks!

Chuck

im glad, however keep a lookout during october , i will release a version solely for meteobridge-api to use mysql(i) ,just need some time to get up on the roof and install some new hardware and test them out . so wu will only provide forecast data . hopefully it should be a relatively easy setup for the template as Im using mysql with the ws1001 template version .. ps OS wmr300 looks awfully the same as a Davis VP2 especially the rain bucket section ive yet to peep inside the temp/humidity section but think i will tomorrow.unfortunately i dont have space to run them side by side for a comparison but shockingly similar on first inspection..brian

I saw your earlier post about a mysql version. That sounds great. I have used the ws1001 with the meteostick in the past. I switched over to the Davis VP2 several months ago. I think you will like the Davis VP2/Meteostick combination - it is "rock solid".

Chuck

Offline weatherist34

  • its just my hobby
  • Forecaster
  • *****
  • Posts: 461
    • Sinanoba Istanbul Home Weather Station
Re: HOMEWEATHERSTATION Dashboard template
« Reply #385 on: September 25, 2017, 09:30:00 AM »
ha good, as for the ws1001 well its served me well for the last 2.5 years and ive always treated it as a relative indicator not a scientific tool and I did a few modifications to reduce the direct sunlight spikes that worked really well and did a few modifications to eliminate the adverse spikes during heavy rain and dense fog etc as the water/condensation would build up or find its way into the sensor circuitry. i think ill always keep it as a fallback unit if something goes wrong with the newer hardware. however I have a dilemma  of which one to keep wmr300 or vp2 as I am donating one to a local school here in istanbul so i wont draw any conclusions and certainly not assume one is better than the other until i had few weeks using them..probably end up tossing a coin :-) ..

have fun take care...brian

Offline weatherist34

  • its just my hobby
  • Forecaster
  • *****
  • Posts: 461
    • Sinanoba Istanbul Home Weather Station
Re: HOMEWEATHERSTATION Dashboard template
« Reply #386 on: September 28, 2017, 03:43:23 AM »
good morning

the moon information pop up module has now been reworked , the moonphase output I sat down and re-wrote,compiled from the ground up has the original had a lot of code that was not needed so this a very slimmed down version and the actual script for the moonphase output visually is basically less than 1kb !! . see screenshot.

please note all information pop up modules like moon,earthquake,aqi,aurora,meteor all reside in a folder called info . so to use these you could simply just replace the index.php and the info folder from the download but *note if you using the mysql version by tony (HRVISTA) you will need to modify the index.php to point to the files int the info folder example for moon info it would be info/moondata.php , earthquake info/eqlist.php and so on..

*note i will either publish the scripts or provide info to encourage others to create there own for there own projects , i see alot of people now creating there websites so hopefully it will be of use to many, if not its always there for reference..

as always https://weather34.com/homeweatherstation/

..Brian

« Last Edit: September 28, 2017, 03:48:32 AM by weatherist34 »

Offline prestwickwx

  • Member
  • *
  • Posts: 49
Re: HOMEWEATHERSTATION Dashboard template
« Reply #387 on: September 28, 2017, 10:07:24 AM »
good morning

the moon information pop up module has now been reworked , the moonphase output I sat down and re-wrote,compiled from the ground up has the original had a lot of code that was not needed so this a very slimmed down version and the actual script for the moonphase output visually is basically less than 1kb !! . see screenshot.

please note all information pop up modules like moon,earthquake,aqi,aurora,meteor all reside in a folder called info . so to use these you could simply just replace the index.php and the info folder from the download but *note if you using the mysql version by tony (HRVISTA) you will need to modify the index.php to point to the files int the info folder example for moon info it would be info/moondata.php , earthquake info/eqlist.php and so on..

*note i will either publish the scripts or provide info to encourage others to create there own for there own projects , i see alot of people now creating there websites so hopefully it will be of use to many, if not its always there for reference..

as always https://weather34.com/homeweatherstation/

..Brian



Brian,

Just updated to the latest template. Looks great!  One question:

I have noticed that all of my template elements rarely load, since my hosting company updated PHP on the server. Sometimes I have to refresh the browser several times. This did not happen before the PHP update to 5.6.31. Do you have any suggestions about PHP parameters that I may need to adjust?

Thanks,

Chuck

Offline weatherist34

  • its just my hobby
  • Forecaster
  • *****
  • Posts: 461
    • Sinanoba Istanbul Home Weather Station
Re: HOMEWEATHERSTATION Dashboard template
« Reply #388 on: September 29, 2017, 12:48:14 AM »
good morning

i have spent 20 minutes or so monitoring things .. how often is the http://myrtlebeachweather.org/pws/MBrealtimeupload.txt  updated because that doesnt seen to get updated to often on your server

looking at below i first accessed it at 07:38(00:38 your time) my time

here was the output you can see the time is 00.33:56
29/09/2017 00:33:56 25.1 95.0 24.2 0.0 0.0 127.0 0.0 0.0 1012.7 127.0 0 m/s C hPa mm -- 1012.9 112.8 958.5 0.0 23.5 30.0 25.1 25.4 25.3 20170929000011 25.1 20170929002232 0.0 20170929000000 0.5 20170929000420 1012.9 20170929000655 1012.7 20170929000055 3.4 11444 0.0 -- -- 0.0 -- 0.0 127.0 0.0 -- N -- 127.0 -- m -- 11:54 -- -- 0.0 95.0 20170929000011 95.0 20170929000011 24.4 20170929000011 24.2 20170929002232

its now 0740(0040) and still it outputs

29/09/2017 00:33:56 25.1 95.0 24.2 0.0 0.0 127.0 0.0 0.0 1012.7 127.0 0 m/s C hPa mm -- 1012.9 112.8 958.5 0.0 23.5 30.0 25.1 25.4 25.3 20170929000011 25.1 20170929002232 0.0 20170929000000 0.5 20170929000420 1012.9 20170929000655 1012.7 20170929000055 3.4 11444 0.0 -- -- 0.0 -- 0.0 127.0 0.0 -- N -- 127.0 -- m -- 11:54 -- -- 0.0 95.0 20170929000011 95.0 20170929000011 24.4 20170929000011 24.2 20170929002232

at 0743(0043) it updated so is there a 10 minutes cache setting set somewhere ??

29/09/2017 00:43:56 24.9 95.0 24.0 0.0 0.0 127.0 0.0 0.0 1012.8 127.0 0 m/s C hPa mm -- 1012.9 112.8 958.5 0.0 23.5 30.0 24.9 25.3 25.3 20170929000011 24.9 20170929003917 0.0 20170929000000 0.5 20170929000420 1012.9 20170929000655 1012.7 20170929000055 3.4 11444 0.0 -- -- 0.0 -- 0.0 127.0 0.0 -- N -- 127.0 -- m -- 11:54 -- -- 0.0 95.0 20170929000011 94.0 20170929003511 24.4 20170929000011 23.9 20170929004252


so have the hosts included an timed cache in .htaccess file ?

is there some cache enabled at server level ?

these would cause the txt file to be static for whatever the cacheing period is .

if you can send me a copy of your .htaccess file via a PM .

hope it helps ..brian

Offline Mogens

  • Member
  • *
  • Posts: 33
Re: HOMEWEATHERSTATION Dashboard template
« Reply #389 on: September 29, 2017, 04:42:05 AM »
I have a problem similar to one mentioned in this thread

My Internet Service Provider was sold to another company, and the other day, all files were moved to another server.
Since then, I have not been able to display my weather page correctly.
No current data is displayed.
The historical data - day, month, year - is still displayed correctly.

See the top link below.

The station uploads to WU
See the bottom link below.

As a test, I've got a new API key at WU, and I have cleared browser data, but without results.

updateweatherstation.php apparently only runs when I do it manually and apparently does not generate any data. Everything in ws1001.txt. shows "null"

I have run "phpinfo ()" on the new server.
allow_url_fopen is ON.

Can anyone have an idea of what I can do?
WS-1001 clone.
Home weather station: http://www.kvisselsvenner.dk/pws/index.php


Offline weatherist34

  • its just my hobby
  • Forecaster
  • *****
  • Posts: 461
    • Sinanoba Istanbul Home Weather Station
Re: HOMEWEATHERSTATION Dashboard template
« Reply #390 on: September 29, 2017, 04:58:03 AM »
I have a problem similar to one mentioned in this thread

My Internet Service Provider was sold to another company, and the other day, all files were moved to another server.
Since then, I have not been able to display my weather page correctly.
No current data is displayed.
The historical data - day, month, year - is still displayed correctly.

See the top link below.

The station uploads to WU
See the bottom link below.

As a test, I've got a new API key at WU, and I have cleared browser data, but without results.

updateweatherstation.php apparently only runs when I do it manually and apparently does not generate any data. Everything in ws1001.txt. shows "null"

I have run "phpinfo ()" on the new server.
allow_url_fopen is ON.

Can anyone have an idea of what I can do?

hello

you need to check if the ws1001 console is connecting to the updateweatherstation.php 

you may have to edit the server.ini file on the firmware

[Menu]
default=www.wunderground.com
web=1
web1=www.wunderground.com
web2=www.kvisselsvenner.dk

[www.wunderground.com]
Server=kvisselsvenner.dk/pws/
ServerType=php
ServerPort=80
UploadType=Customize
ReadOnly=true

[www.kvisselsvenner.dk]
Server=www.kvisselsvenner.dk/pws/
ServerType=php
ServerPort=80
UploadType=Customize
ReadOnly=true

try above and reboot the console

likelihood the ws1001 is not seeing that file hence the nulls when you ping it manually .

brian




Offline Mogens

  • Member
  • *
  • Posts: 33
Re: HOMEWEATHERSTATION Dashboard template
« Reply #391 on: September 29, 2017, 07:23:39 AM »
I have a problem similar to one mentioned in this thread

My Internet Service Provider was sold to another company, and the other day, all files were moved to another server.
Since then, I have not been able to display my weather page correctly.
No current data is displayed.
The historical data - day, month, year - is still displayed correctly.

See the top link below.

The station uploads to WU
See the bottom link below.

As a test, I've got a new API key at WU, and I have cleared browser data, but without results.

updateweatherstation.php apparently only runs when I do it manually and apparently does not generate any data. Everything in ws1001.txt. shows "null"

I have run "phpinfo ()" on the new server.
allow_url_fopen is ON.

Can anyone have an idea of what I can do?

hello

you need to check if the ws1001 console is connecting to the updateweatherstation.php 

you may have to edit the server.ini file on the firmware

[Menu]
default=www.wunderground.com
web=1
web1=www.wunderground.com
web2=www.kvisselsvenner.dk

[www.wunderground.com]
Server=kvisselsvenner.dk/pws/
ServerType=php
ServerPort=80
UploadType=Customize
ReadOnly=true

[www.kvisselsvenner.dk]
Server=www.kvisselsvenner.dk/pws/
ServerType=php
ServerPort=80
UploadType=Customize
ReadOnly=true

try above and reboot the console

likelihood the ws1001 is not seeing that file hence the nulls when you ping it manually .

brian

Thanks for reply

Oh, I see that there is also a folder "weatherstation" inside the "pws" folder.

I have always used to have "updateweatherstation.php" in a folder "weatherstation" which is in the root of the "public_html" folder and has been untouched for a very long time.

In "easyweathersetup.php" path to data file is
http://kvisselsvenner.dk/weatherstation/ws1001.txt

Is there an idea to change Server.ini on the console, when "weatherstation" is in the root?

I'm starting to think that the new server is very restrictive as to who can write in the files. I have looked at some log files that show that writing in ws1001.txt has been prevented. The supporter of the ISP can obviously not help.

Wondering if a completely new installation of the template is a good idea?
WS-1001 clone.
Home weather station: http://www.kvisselsvenner.dk/pws/index.php


Offline weatherist34

  • its just my hobby
  • Forecaster
  • *****
  • Posts: 461
    • Sinanoba Istanbul Home Weather Station
Re: HOMEWEATHERSTATION Dashboard template
« Reply #392 on: September 29, 2017, 07:37:20 AM »
hello

you have to determine where your console is looking for the file updateweatherstation.php

if its in the root the just your domain in the server.ini would be kvisselsvenner.dk/

if its in the pws folder pws/weatherstation ?? then the server.ini would be looking kvisselsvenner.dk/pws/

i can kick your updateweatherstation.php manually and it writes nulls so nothing to do with host or isp otherwise it would prevent me .


in the easyweathersetup its either going to be www.kvisselsvenner.dk/pws/weatherstation.ws1001.txt or if its in your root then
its going to be www.kvisselsvenner.dk/weatherstation/ws1001.txt

so you need to work out exactly what the console is looking for .

remember the template only reads a file in this case its looking for ws1001.txt it doesn't control how the your console sends the data.

im still using the ws1001 for another couple of weeks i could possibly configure mine to send data to your server to test and see if it accepts the data but i cant do that till next week unfortunately busy weekend with football and relatives..brian








Offline weatherist34

  • its just my hobby
  • Forecaster
  • *****
  • Posts: 461
    • Sinanoba Istanbul Home Weather Station
Re: HOMEWEATHERSTATION Dashboard template
« Reply #393 on: September 29, 2017, 08:33:02 AM »
if you goto your website now thats my console connecting to your updateweatherstation.php :-)

{"timestamp":"1506688215","updated":"14:30:15","outsideTemp":"63.0","outsideHumidity":"71","dewpoint":"53.4","windchill":"63.0","heatindex":null,"realfeel":62.3,"windDir":"353","windSpeed":"18.6","windGust":"24.8","windspeedavg":"18.6","winddiravg":"353","rainrate":"0.00","raintoday":"0.00","rainweek":"0.27","rainmonth":"0.45","rainyear":"11.85","radiation":"106.54","UV":"1","indoorTemp":"70.0","indoorfeel":69.2,"indoorHumidity":"54","barometer":"30.11","absbarometer":"29.94","trendbarometer":"30.11","softwaretype":"weather34.com V2.3.3","month":"September","year":"2017","day":"Friday","realtime":"1","rtfreq":"5","status":"updateraw","timeutc":"2017-9-29 12:30:12","power":true}

http://www.kvisselsvenner.dk/weatherstation/ws1001.txt

http://www.kvisselsvenner.dk/pws/index.php

so you need to look at the console ..brian

Offline Mogens

  • Member
  • *
  • Posts: 33
Re: HOMEWEATHERSTATION Dashboard template
« Reply #394 on: September 29, 2017, 09:12:41 AM »
Hi Brian
Yes, yes  :grin:
I see that you have put data in my "ws1001.txt" at 14:41:57
Here the template can find them well.
You do not have much warmer than it is in Denmark  :grin:

I also have something to do with family etc in this weeend, but I will look at Server.ini when I get time.

If I make it work, I'll tell you of course.

Mogens
WS-1001 clone.
Home weather station: http://www.kvisselsvenner.dk/pws/index.php


Offline prestwickwx

  • Member
  • *
  • Posts: 49
Re: HOMEWEATHERSTATION Dashboard template
« Reply #395 on: September 29, 2017, 09:19:04 AM »
good morning

i have spent 20 minutes or so monitoring things .. how often is the http://myrtlebeachweather.org/pws/MBrealtimeupload.txt  updated because that doesnt seen to get updated to often on your server

looking at below i first accessed it at 07:38(00:38 your time) my time

here was the output you can see the time is 00.33:56
29/09/2017 00:33:56 25.1 95.0 24.2 0.0 0.0 127.0 0.0 0.0 1012.7 127.0 0 m/s C hPa mm -- 1012.9 112.8 958.5 0.0 23.5 30.0 25.1 25.4 25.3 20170929000011 25.1 20170929002232 0.0 20170929000000 0.5 20170929000420 1012.9 20170929000655 1012.7 20170929000055 3.4 11444 0.0 -- -- 0.0 -- 0.0 127.0 0.0 -- N -- 127.0 -- m -- 11:54 -- -- 0.0 95.0 20170929000011 95.0 20170929000011 24.4 20170929000011 24.2 20170929002232

its now 0740(0040) and still it outputs

29/09/2017 00:33:56 25.1 95.0 24.2 0.0 0.0 127.0 0.0 0.0 1012.7 127.0 0 m/s C hPa mm -- 1012.9 112.8 958.5 0.0 23.5 30.0 25.1 25.4 25.3 20170929000011 25.1 20170929002232 0.0 20170929000000 0.5 20170929000420 1012.9 20170929000655 1012.7 20170929000055 3.4 11444 0.0 -- -- 0.0 -- 0.0 127.0 0.0 -- N -- 127.0 -- m -- 11:54 -- -- 0.0 95.0 20170929000011 95.0 20170929000011 24.4 20170929000011 24.2 20170929002232

at 0743(0043) it updated so is there a 10 minutes cache setting set somewhere ??

29/09/2017 00:43:56 24.9 95.0 24.0 0.0 0.0 127.0 0.0 0.0 1012.8 127.0 0 m/s C hPa mm -- 1012.9 112.8 958.5 0.0 23.5 30.0 24.9 25.3 25.3 20170929000011 24.9 20170929003917 0.0 20170929000000 0.5 20170929000420 1012.9 20170929000655 1012.7 20170929000055 3.4 11444 0.0 -- -- 0.0 -- 0.0 127.0 0.0 -- N -- 127.0 -- m -- 11:54 -- -- 0.0 95.0 20170929000011 94.0 20170929003511 24.4 20170929000011 23.9 20170929004252


so have the hosts included an timed cache in .htaccess file ?

is there some cache enabled at server level ?

these would cause the txt file to be static for whatever the cacheing period is .

if you can send me a copy of your .htaccess file via a PM .

hope it helps ..brian

Brian,

My upload interval is set at 10 minutes. Generally on first load one or two of the template panels will be blank. If I refresh using "shift" to force a new data pull it will generally load everything. This seems to be consistent across Browsers (Chrome, Firefox, IE, Edge). I never noticed this prior to the PHP update. The interesting thing is it seems to load 99% of the time on my Ipad (using any browser). I will PM the file.

Thanks,

Chuck

Offline weatherist34

  • its just my hobby
  • Forecaster
  • *****
  • Posts: 461
    • Sinanoba Istanbul Home Weather Station
Re: HOMEWEATHERSTATION Dashboard template
« Reply #396 on: September 29, 2017, 09:25:00 AM »
check php memory limit

example ini_set('memory_limit', '2048M');

ini_set('memory_limit', '1024M');

i use an ipad air 2 /pro all the time multiple tabs open etc

your going to have to root it out as you had no issues prior to server changes..

process of elimination can be teething but good learning curve ..

Offline prestwickwx

  • Member
  • *
  • Posts: 49
Re: HOMEWEATHERSTATION Dashboard template
« Reply #397 on: September 29, 2017, 02:04:08 PM »
check php memory limit

example ini_set('memory_limit', '2048M');

ini_set('memory_limit', '1024M');

i use an ipad air 2 /pro all the time multiple tabs open etc

your going to have to root it out as you had no issues prior to server changes..

process of elimination can be teething but good learning curve ..

Yes. I will experiment. Strange that it works fine (everything loads first time) on The Ipad Air 2 using any Browser (Chrome, Firefox, Safari). But, on the Windows 10 desktop all three Browsers drop a couple of the information panels. Refreshing a few times makes them appear.

Thanks,

Chuck

Offline Mogens

  • Member
  • *
  • Posts: 33
Re: HOMEWEATHERSTATION Dashboard template
« Reply #398 on: October 01, 2017, 12:49:48 PM »
so you need to look at the console ..brian

Hmm, my console is crazy, or I'm crazy - I'd like to accept the "honor"  :oops:

updateweatherstation has not been moved on the server.
Server.ini is unchanged since it worked.

I've tried everything I can find:
- replaced the special Server.ini with the original, - of course, connection to the WU
- again replaced the original Server.ini with that, Brian shows - again connect to wu but still no data for updateweatherstation.php
- Hard reset of the console with new password entry to router, etc.

Still no new data in ws1001.txt.

When I want to examine "Data uploading" in settings on the console, it shows a continuous hourglass.

I do not have enough technical insight to track where my console sends data.

Mogens
WS-1001 clone.
Home weather station: http://www.kvisselsvenner.dk/pws/index.php


Offline weatherist34

  • its just my hobby
  • Forecaster
  • *****
  • Posts: 461
    • Sinanoba Istanbul Home Weather Station
Re: HOMEWEATHERSTATION Dashboard template
« Reply #399 on: October 01, 2017, 03:22:28 PM »
so you need to look at the console ..brian

Hmm, my console is crazy, or I'm crazy - I'd like to accept the "honor"  :oops:

updateweatherstation has not been moved on the server.
Server.ini is unchanged since it worked.

I've tried everything I can find:
- replaced the special Server.ini with the original, - of course, connection to the WU
- again replaced the original Server.ini with that, Brian shows - again connect to wu but still no data for updateweatherstation.php
- Hard reset of the console with new password entry to router, etc.

Still no new data in ws1001.txt.

When I want to examine "Data uploading" in settings on the console, it shows a continuous hourglass.

I do not have enough technical insight to track where my console sends data.

Mogens

hello

i think at some point you must have generated or connected as the ws1001.txt is showing updated with todays date

{"timestamp":"1506871768","updated":"18:29:28","outsideTemp":"58.3","outsideHumidity":"95","dewpoint":"56.8","windchill":"58.3","heatindex":null,"realfeel":58.3,"windDir":"22","windSpeed":"2.5","windGust":"4.9","windspeedavg":"2.5","winddiravg":"22","rainrate":"0.00","raintoday":"0.24","rainweek":"0.24","rainmonth":"0.24","rainyear":"12.39","radiation":"13.38","UV":"0","indoorTemp":"68.5","indoorfeel":68.3,"indoorHumidity":"69","barometer":"30.15","absbarometer":"29.98","trendbarometer":"30.15","softwaretype":"weather34.com V2.3.3","month":"October","year":"2017","day":"Sunday","realtime":"1","rtfreq":"5","status":"updateraw","timeutc":"2017-10-1 15:29:28","power":true}

http://www.kvisselsvenner.dk/weatherstation/ws1001.txt

send me a copy of your server.ini file from the console i will take a look at it this week..also send me your email ..brian

 

anything