I suppose “rain last hour” lags behind WD because we have to wait for all the fields (100-109) to be refreshed in clientraw?
And I get -2.9 mm rain last hour at midnight reset - see clientrawrain2. (That may be my fault - I just edited my existing w34_livedata.php file to swap CR[100] and CR[109], I didn’t upload the new file. . .)
P.S. There is no "rain last hour" in WDapi yet, needs a lot of extra fields to be added.
There’s something like it: see APIrain2. That comes from API[43] “raintotal60”.
Thank you, attached a new version of w34_livedata.php to solve this one.
The used clientraw.txt [143] is a logic field, it does not contain a value.
Wim
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.