cloudy cloudy

Author Topic: 'Idesign Simplicity' Template by Brian Underdown  (Read 118693 times)

0 Members and 1 Guest are viewing this topic.

Offline Weather Display

  • Posts: 87,192
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 51.0.2704.103
    • Weather Display
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #30 on: July 24, 2016, 10:45:32 AM »
I have updated the files (same URL)
its the livedata.php that needs to be updated to your web site in the .zip files to fix the moon set time  :wink:

Offline SandhurstWX

  • Ian
  • Posts: 393
  • Another satisfied WD user!
  • Royal County of Berkshire, UK
  • OS/Browser:
  • Win NT 10.0
  • Firefox 47.0
    • Sandhurst Weather
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #31 on: July 24, 2016, 12:32:37 PM »
I have it running here, www.sandhurstweather.org.uk/pws. Very easy to set up, the instructions were useful though.

It's great to have these talented people to help those who are less able in this area.

Many thanks!

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 28,170
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 51.0.2704.106
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #32 on: July 24, 2016, 01:15:23 PM »
and settings.php !!

have fun

That has fixed the moon  :D

Offline giantocr

  • Posts: 84
  • OS/Browser:
  • Win NT 10.0
  • Firefox 47.0
    • Weatherstation - MeteoSauwerd
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #33 on: July 24, 2016, 07:59:48 PM »
@All

See the message with the download link.

Link to the site: http://www.meteosauwerd.nl/pws/

Succes,

Piet
« Last Edit: July 27, 2016, 10:24:17 AM by giantocr »

Offline rickyac

  • Posts: 111
  • Lixwm, North Wales
  • OS/Browser:
  • Win NT 10.0
  • Firefox 47.0
    • Lixwm Village Website
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #34 on: July 25, 2016, 06:20:30 AM »
With regards to the below could some please tell me I am trying to run the file with xampp but unsure what my directory would be for the xxxxx

run these  in  using  php -q /home/xxxxxx/public_html/pws/cronfiles/stationcron.php
xxxx is your home directory on your server

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,341
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.10.5
  • Chrome 51.0.2704.103
    • My PWS at Leuven Belgium Europe
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #35 on: July 25, 2016, 07:07:10 AM »
With regards to the below could some please tell me I am trying to run the file with xampp but unsure what my directory would be for the xxxxx

run these  in  using  php -q /home/xxxxxx/public_html/pws/cronfiles/stationcron.php
xxxx is your home directory on your server

This small script displays the exact path to a folder.
1. Remove the .txt so that it is a .php script again
2. Put it in the  cronfiles/ folder
3. Type in your browser "yourwebsite/pws/cronfiles/hardpath.php"
4. Only one line is displayed with the exact path

I use MAMP on my Mac
=> I type          http://release230/pws/cronfiles/hardpath.php 
=> result is:      /Users/willem/Documents/weather230/pws/cronfiles/

Succes, Wim
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Bashy

  • Guest
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #36 on: July 26, 2016, 05:52:05 AM »
I do like this, thanks,

1 issue i have noticed, i think my forecast is bull..... lol ranges from about 27ºC to 32ºC  for the next 10 days, this is the UK  :lol:

http://www.suffolkweather.info/pws/

Station ID for forecast is

https://www.wunderground.com/personal-weather-station/dashboard?ID=IWEETING2

Offline broadstairs

  • Stuart
  • Posts: 7,041
  • Broadstairs, Kent, UK
  • OS/Browser:
  • (Linux Mint)
  • Firefox 47.0
    • Broadstairs
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #37 on: July 26, 2016, 07:40:08 AM »
The problem I have with these scripts is using the WU data. Currently I have the vast majority of the information I need for my website provided by WD (including solar) and WXSim (for the forecasts). WXSim provides usually a much more reliable local forecast that WU or indeed sometimes the UKMO and my sky conditions changes every minute with WD+solar. Also living at the coast sea conditions and tides are a must IMHO.

So to sum up this template I like the way it looks and in many ways the way it works, however for me right now it is not flexible enough and right now I dont have the time to work on any changes or add-ons. Perhaps others will as currently things like WXSim and associated scripts do not provide JSON data. I do understand that the developer has problems like not having access to some the needed hardware/software and he has done an excellent job so far. This template may well be an excellent fit for many but there will always be problem people like me who have different requirements  :wink:

Stuart

Offline broadstairs

  • Stuart
  • Posts: 7,041
  • Broadstairs, Kent, UK
  • OS/Browser:
  • (Linux Mint)
  • Firefox 47.0
    • Broadstairs
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #38 on: July 26, 2016, 08:26:27 AM »
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

Bashy

  • Guest
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #39 on: July 26, 2016, 08:28:27 AM »
Ahhh, forgot the cron for the first  #-o thanks

Online Bjørn

  • Posts: 334
  • Ulsteinvik, Norway
  • OS/Browser:
  • Win NT 10.0
  • Chrome 51.0.2704.106
    • Ulsteinvikweather
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #40 on: July 26, 2016, 10:09:58 AM »
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.

Online Bjørn

  • Posts: 334
  • Ulsteinvik, Norway
  • OS/Browser:
  • Win NT 10.0
  • Chrome 51.0.2704.106
    • Ulsteinvikweather
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #41 on: July 27, 2016, 07:11:04 AM »
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?
https://www.ulsteinvikweather.com/pws/index.php

Greate template :-)
« Last Edit: July 27, 2016, 07:16:51 AM by Bjørn »

Offline Weather Display

  • Posts: 87,192
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 52.0.2743.82
    • Weather Display
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #42 on: July 27, 2016, 08:26:52 AM »
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)

Online Bjørn

  • Posts: 334
  • Ulsteinvik, Norway
  • OS/Browser:
  • Win NT 10.0
  • Chrome 51.0.2704.106
    • Ulsteinvikweather
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #43 on: July 27, 2016, 08:42:18 AM »
hi 

its quite an easy fix to display units in true m/s i never actually released any version for clientraw data to use M/S i did for other versions of software / hardware it became a bit time consuming however ,

so can you tell me first is clientraw.txt displaying/outputting data in M/S ? 

we can also convert the forecast data to m/s just by adding simple conversion to the 10dayweather.js .

you can edit the js file or send me an email sometime i can send you a modified 10dayweather.js

original

n.maxwind.dir + " <span style='color:#ccc;font-size:11px;font-weight:400;'>" +  n.maxwind.kph + "</span> kmh " )

modified to m/s

n.maxwind.dir + " <span style='color:#f26c4f;font-size:11px;font-weight:400;'>" +  Math.round (n.maxwind.kph * 0.277778*1) + "</span> m/s "

so just clarify clientraw.txt is in m/s if not we can add the conversion in the livedata.php with a simple formula

1 kmh = 0.277778 m/s

1mph = 0.447040357632 m/s

1 knot = 0.514444855556 m/s

there are currently no conversions in the metric version it simply reads the clientraw.txt value

Thanks for helping weatherist34 :-)
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 ;-)

Online Bjørn

  • Posts: 334
  • Ulsteinvik, Norway
  • OS/Browser:
  • Win NT 10.0
  • Chrome 51.0.2704.106
    • Ulsteinvikweather
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #44 on: July 27, 2016, 09:45:37 AM »
zip file sent via email through your info page email

brian..

Thanks alot Brian u.
Files uploaded.

But seems not to work, blowing at shows zero and the  10dayweather.js still shows kmh.
See here:
https://www.ulsteinvikweather.com/pws/index.php
See my live stream wind her:
https://www.youtube.com/watch?v=_jdf5G0OSyM

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
« Last Edit: July 27, 2016, 10:15:24 AM by Bjørn »

 

cumulus