Thanks for testing. Attached the latest versions of yesterday and today.
When you find a problem, check with Leuven Home Weather Station (wf version) as I am testing also.
That demo-site runs most of the time for Edinburgh to make it “easier” for us to test both.
Wim
w34_frames.php
There are already two examples which do show in your menu.
Could you also check if the sr.png flag did arrive at the correct place.
That flag is missing from the menu. It should have been in the update zip you installed.
The websites may be too big to show in the frame. I’m playing with the length but it’ll need more width. And the Leuven template shows the Saratoga website for some reason:
$frame = 'website2';
$frm_ttls[$frame] = 'M82A1 Leuven site'; // name in menu
$frm_src[$frame] = 'http://www.m82a1.us/weather28/index.php?p=wsStartPage&lang=en';
$frm_hgth[$frame] = 2800; //height
It was not designed to put a large big site inside a one page only site. The original idea 4 or 5 years ago was to have a site which fits on an iPad nicely. With all weather-station information on one page.
The menu entries for extra pages are included as sometimes another page is needed for extra information which is not supported in the HWS-template. Example: a soil-sensors page. Or a specialised forecast.
You have to check your WU data, another glitch of WU/IBM
Last two lines in the file chartswudata/IEDINBUR98Y.txt are
2019-1-25,9.9,7.7,5.5,9.1,7.8,4.7,97,93,83,1007,1003,21,7,37,0.00 2019-1-26,9.5,8.9,8.4,8.5,7.6,6.2,95,90,84,1003,986,14,5,32,0.08
That data is loaded from WU. Not made by any script.
Maybe your settings at WU are misaligned for the timezone OR for the lat/lon???
No idea, Wim
Maybe I have a misunderstanding of your reply, but is WU really the issue? The file shows that the last WU data is for 2019-1-26 which is Saturday, but on http://swanston.maui.co.uk/pws/ the January Temperature chart shows “Sat 25th” on the legend, and the last data point is “Sun 26th”, in other words on the chart the day of the week doesn’t match the date.
Update: clientraw version did OK with “rain last hour” today, although definitely delayed compared with WD client (driven by clientraw). Still getting the total negated at midnight reset, see clientrawrain3.
API version shows readings that correspond to “rain last hour” but at the wrong time, see APIrain3. I don’t know what API[43] is meant to quantify.
P.S. Can we have units for “Yesterday” rain, please?
I have noticed the wind forecast from Darksky has always been really low, it rarely gets above 10km/h, however I think I have just worked out why.
It seems the Darksky wind forecast gives a range and I think the forecast on my site is just giving the lower range of that forecast.
As an example, for today the wind forecast from Darksky is 13-48km/h and tomorrow it is to be 6-31km/h. However the forecast for those days on my site is 13km/h and 6km/h.
If this is the case, I was just wondering how hard would it be to incorporate the full range into the forecast.