'Idesign Simplicity' Template by Brian Underdown

Brian I certainly will keep an eye on things, as I said I like the layout etc, if I do find tiime later I will see what I can come up with.

Stuart

Ahhh, forgot the cron for the first #-o thanks

Hi all.

Anybody have no earthquake show in newest 4.36 template right now? see photo.
Can not manualy access the internet site http://www.seismicportal.eu maybe site its down.


Hi.
Yesterday i updated to complet package latest metric darkversionclientraw version 4.37D.
I now noticed that when my wind settings is set to use m/s, the wind shows on template compare to davis consol is aprox twice/dubble up. Example: on consol show 2 m/s, the template shows aprox 4 m/s.

Is there a script error somewhere to adjust?

Greate template :slight_smile:


the data in clientraw.txt is always in the same units
not matter what is selected in WD
for conistancy
(i.e knots for windspeed)

Thanks for helping weatherist34 :slight_smile:
The clientraw.txt from weather display has wind in knots.

Im attaching the files her if you can edit and post, also for other to use when m/s is wanted :wink:


livedata.php.txt (13.3 KB)

10dayweather.js.txt (1.7 KB)

Thanks alot Brian u.
Files uploaded.

But seems not to work, blowing at shows zero and the 10dayweather.js still shows kmh.
See here:

See my live stream wind her:

Error log on host:
[27-Jul-2016 09:42:04 UTC] PHP Warning: file_get_contents(https://www.ulsteinvikweather.com/uw/clientraw.txt): failed to open stream: HTTP request failed! in /home/ulsterok/public_html/pws/livedata.php on line 2
[27-Jul-2016 09:42:04 UTC] PHP Notice: Undefined offset: 1 in /home/ulsterok/public_html/pws/livedata.php on line 4
[27-Jul-2016 09:42:04 UTC] PHP Notice: Undefined offset: 2 in /home/ulsterok/public_html/pws/livedata.php on line 5
[27-Jul-2016 09:42:16 UTC] PHP Warning: file_get_contents(https://www.ulsteinvikweather.com/uw/clientraw.txt): failed to open stream: HTTP request failed! in /home/ulsterok/public_html/pws/livedata.php on line 2
[27-Jul-2016 09:42:16 UTC] PHP Notice: Undefined offset: 1 in /home/ulsterok/public_html/pws/livedata.php on line 4
[27-Jul-2016 09:42:16 UTC] PHP Notice: Undefined offset: 2 in /home/ulsterok/public_html/pws/livedata.php on line 5

@All,

The files I’ve changed where kmh state instead of km/h can be downloaded via this link.

For the map “graphs”
10dayweather.js
3dayweather.js
weather.js
hour.php

And for the map “js”
combi.js

Download link: http://gofile.me/6nGNP/S8pY0PXVG

Succes,

Piet

Can someone tell me where the update interval can be change This would be the update interval for the windspeed temp etc

Windgust

Thank you exactly what I wanted, I can adjust each value the way I want. Windspeed can be set to update quicker and temperature can update at a different interval. Now to fix why the Sunrise /sunset and moon times do not match Wdisplay and my graphs appear not to work.

http://www.windgust.com/newpage/nonmetric/index.php

Wind direction works a little funny but I can live with that.

Windgust

@windgust: What value do you have in settings php for:

$moonadj = ‘2’; //adjust this number to correct the moonset time output to your location should be either 1 or 2 will have to monitor this when clocks change back or forward. nz 1 uk 1 usa 1 istanbul 2//

? Try swapping 1 for 2 or 2 for 1.

Thanks, I will need to look into that one.
Also do I use the API key listed in the settings file or do I have to sign into my account and get my own.
I also see my UV is not working and my graphs are not working.
Back to re-checking everything, I think this is a great template I hope I can get it working.

Windgust

Dam I missed the solar2 change, I thought I had changed it. Guess not
What is the API key used for. I have my own station,
Do I need one ? Still working on the time for sunrise moonrise being off from Wdisplay
I now see the earthquake is blank.
is the API used for the graphing, Do you know what version of the API I need and do I have to add the API if needed on my server.

Windgust

Florian enabled php 5.5 on the WD server and I also setup external cron job activation via cron-job.org
and now my graph data, forecast data and earthquake data is working :slight_smile:
http://www.weather-display.com/downloadfiles/idesign/demo/

I have also added the m/s version (I named it euro version). see links to download in first post in thread

I do notice a minor formatting problem when viewing the web
Page on my mobile phone (Android).in the wind area


Also this works fine on iphone 6 plus, ipad on the side/top ways around.

Hey,

Where can I change the section in the yellow circle from the Attachment.
From “Thu Jul 28th” to “Thu 28th Jul”

Piet


time.png

Trying to use cron-job.org I get a bad gateway.
I wonder if there a program I can run on the WD server to run a cron job and then upload it to my domain server.
The update would for cron for only be every 30 minutes or so.
I know WD has a croncloud I wonder if the Cron scripts could be modified to be like WD uses for the croncloud

Windgust
K1DED Amateur operator

Thanks Brain,

I have change it.

Was forgotten another question
The time display below will display 0:00:00 to 9:00:00 instead of 00:00:00 - 09:00:00
Where can I change that?

Piet

SO I checked my domain hosting company Yes its yahoo been with them over 15 years.
In my scripts log file I see this
Of course I have changed my API reg

[28-Jul-2016 11:35:26] PHP Warning: file_get_contents() [function.file-get-contents]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /newpage/nonmetric/cronfiles/stationcron.php on line 11
[28-Jul-2016 11:35:26] PHP Warning: file_get_contents(http://api.wunderground.com/api/3a72xxxxxxxxxx/conditions_v11/q/pws:KNHHOOKS3.json) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /newpage/nonmetric/cronfiles/stationcron.php on line 11
[28-Jul-2016 11:35:26] PHP Warning: file_get_contents() [function.file-get-contents]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /newpage/nonmetric/cronfiles/stationcron.php on line 23
[28-Jul-2016 11:35:26] PHP Warning: file_get_contents(http://www.seismicportal.eu/fdsnws/event/1/query?limit=1&lat=43.0987&lon=-71.4569&maxradius=10&format=json&nodata=204&minmag=2) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /newpage/nonmetric/cronfiles/stationcron.php on line 23
[28-Jul-2016 11:35:26] PHP Warning: file_get_contents() [function.file-get-contents]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /newpage/nonmetric/cronfiles/stationcron.php on line 34
[28-Jul-2016 11:35:26] PHP Warning: file_get_contents(http://www.seismicportal.eu/fdsnws/event/1/query?limit=1&lat=43.0987&lon=-71.4569&maxradius=100000&format=json&nodata=204&minmag=5) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /newpage/nonmetric/cronfiles/stationcron.php on line 34

Anyone have some ideas, I believe this has to be my problem
PHP version 5.3.6

Windgust