'Idesign Simplicity' Template by Brian Underdown

Aha! Your sun data is good, but moon data bad, like mine :frowning:

for some reason the graph data does not populate for me
I see that does work OK for M.P.C.
(as does his moon set time?)
I assume that comes from my wunderground data?
I have set my WU ID correctly in the settings.php
what am I missing?

What do you see for M.P.C.'s moon data?

I see Moonrise: 21-07-2016 21:53 Moonset: 22-07-2016 20:00

The moonrise is correct, but moonset should be 08:53 today (the next moon rise is at 22:29 today).

well at least it was not 12:00 for the moon set…

re my graph problem, I wonder if that is a problem with the php version of the WD server…

In clientrawextra.txt (559) have the correct value of 8:58 p.m. to 8:00 p.m. face value displayed.

http://www.celin-web.com/wdisplay/wxclientrawextra.php

Thanks,
Marian

My moonset is also 20:00. My graphs don’t populate but my forecast does.

http://nfmweather.com/pws/

Update: I notice that the forecast is not for my area. Not sure where the forecast is coming from. I do notice that the earthquake data is showing for Turkey even though there are other earthquakes that are closer. Maybe the forecast is from Turkey too?

This template does its own calculation :dontknow:

Update: I notice that the forecast is not for my area
yes similar here... ? the script could be changed to use the moon rise/set from the clientrawextra?

Hi gys :slight_smile:

Looks like mine works fine with dark clientraw version, using php 7 version on host.

Set up cron job for current and forcast.

https://www.ulsteinvikweather.com/pws/index.php

How can update the file eq3.json earthquake
Than
Marian

Looks like mine works fine with dark clientraw version
I actually like the 'dark' version better I will setup a demo of that version and see how that goes ;)

The 2x cron job you set up on your host will run the script stationcron.php and forecastcron.php in cronfiles folder, then thees files in jsondata folder will be updated.

From the setup file:
Cron jobs (important without cron jobs running the template will always use sample data provided in zip file and produce uptodate forecast data)

1.there is 2 cron files in this version and all data is now moved to its own folder called jsodata and cron files are now located in cronfiles folder so please update your cron structure pws/cronfiles/stationcron.php

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

stationcron.php for current sky data run every 6-10 minutes or preferred
forecastcron.php for daily and forecast run every 60 minutes or preferred period

once it is on your server and running the cron jobs you can view the weather station template
your url /pws/index.php

Mine doesn’t work with the dark theme.

Dark version working OK for me
http://www.weather-display.com/downloadfiles/idesign/demodark/darkversionclientraw/clientrawmetric/
(make sure you change the location to the clientraw.txt file if its a different directory for the dark version
i.e
to go up a directory you add …/ in front of the location for the clientraw.txt

@weatherist34
here is my settings file

http://www.weather-display.com/downloadfiles/idesign/demo/settings.txt

if you could test that on your demo server…
I think one problem I have is the php version running on the WD server

I’ve just been having a play with this and I do like it. However for me unless we can add WXSim weather forecasts it is not something I can use. Also I do have other data on my site like the sea conditions from buoy data which I’d also need to add somehow. Not sure either how useful eathquake data is as I already have a page for that and for a coastal location like here tidal data would probably be more useful. I’ll keep an eye on how this progresses and I will also (when I have time) look to see how I might add my requirements in.

Stuart

@weatherist34
I do notice in the demo you have put up using my location settings…that the moon set is 12:00 (which is wrong)

Re WXSim I’ll try to find time to sort out what is needed, there are already scripts coded to extract the relevant data so it should be quite easy, might be a couple of days though. Re earth quakes I was really thinking that it might be a case of using the space for say buoy sea conditions as the current layout is good and something like this perhaps could be an option to save real estate. I’ll try to find time to come up with something but as I said it might take a few days (or longer :wink: ).

Stuart

you have fixed the moon set time :slight_smile:

:smiley:

Are the downloads updated?