cloudy cloudy

Author Topic: ***closed*** weather34 for WeatherDisplay (clientraw and WDapi)  (Read 23427 times)

0 Members and 1 Guest are viewing this topic.

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,346
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 71.0.3578.98
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #225 on: January 23, 2019, 12:09:54 PM »
Screenshot at 0940 (just before moonset) shows today's day/date twice so text overflows box. After moonset it was perfectly OK!
Thanks for testing. Attached the latest versions of yesterday and today.
When you find a problem, check with http://wd34.weather-template.com/pwsWD/  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
« Last Edit: January 23, 2019, 12:16:28 PM by wvdkuil »
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/

Offline bitsostring

  • Posts: 976
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Mozilla compatible
    • Home Weather Station
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #226 on: January 23, 2019, 12:29:19 PM »
Thanks for testing. Attached the latest versions of yesterday and today.

Thanks, Wim.

Quote
When you find a problem, check with http://wd34.weather-template.com/pwsWD/  as I am testing also.

I usually run them side-by-side but didn't think to check first  #-o
It's meant to be fun. . .

Offline Torjan

  • Posts: 177
  • vantage pro2 plus
  • Randaberg. Norway
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Regnskvett verstasjon
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #227 on: January 23, 2019, 07:15:54 PM »
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

Now it looks good.

Offline mldenison

  • Posts: 308
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 71.0.3578.98
    • York, Pennsylvania USA Weather
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #228 on: January 25, 2019, 04:35:59 PM »
Wow!  This is really neat.  It took maybe 20 minutes to download, install and configure.  And works flawlessly.

Kudos to you all.

Offline bitsostring

  • Posts: 976
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Mozilla compatible
    • Home Weather Station
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #229 on: January 25, 2019, 07:47:45 PM »
Re moon popup beta: seems a little odd to show "Sun rose at 08:18" but not "Sun set at 16:30". Screenshot after sunset, at 1938.

http://swanston.maui.co.uk/pws/
It's meant to be fun. . .

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,346
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 71.0.3578.98
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #230 on: January 25, 2019, 08:07:05 PM »
Re moon popup beta: seems a little odd to show "Sun rose at 08:18" but not "Sun set at 16:30". Screenshot after sunset, at 1938.

http://swanston.maui.co.uk/pws/
Yes, one line missing.
Will check tomorrow.
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/

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,346
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 71.0.3578.98
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #231 on: January 26, 2019, 10:27:07 AM »
Yes, one line missing.
Will check tomorrow.
Wim
Attached new version moon-popup, ready for production  :wink:
Also another sun block with orange hours around the dial, also works correctly  in Edge and IE

« Last Edit: January 26, 2019, 10:29:50 AM by wvdkuil »
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/

Offline bitsostring

  • Posts: 976
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Mozilla compatible
    • Home Weather Station
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #232 on: January 26, 2019, 10:55:01 AM »
Attached new version moon-popup [and] sun block

Thanks, Wim. Looking good. . .  :)
It's meant to be fun. . .

Offline mldenison

  • Posts: 308
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 71.0.3578.98
    • York, Pennsylvania USA Weather
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #233 on: January 26, 2019, 04:04:35 PM »
Which file do I modify to add/change for the 'EXTRAS'?  I'd like to add links to my other web sites.

Thanks

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,346
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 71.0.3578.98
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #234 on: January 26, 2019, 04:09:49 PM »
Which file do I modify to add/change for the 'EXTRAS'?  I'd like to add links to my other web sites.
Thanks
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.

Wim
« Last Edit: January 26, 2019, 04:22:15 PM by wvdkuil »
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/

Offline mldenison

  • Posts: 308
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 71.0.3578.98
    • York, Pennsylvania USA Weather
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #235 on: January 26, 2019, 06:06:30 PM »
sr.png flag is now in the correct place.

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:

Code: [Select]
$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

http://www.m82a1.us/pwsWD/index.php

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,346
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 71.0.3578.98
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #236 on: January 26, 2019, 07:02:44 PM »
sr.png flag is now in the correct place.
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:
. . . shortened . . .
http://www.m82a1.us/pwsWD/index.php
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.

If you have one or two pages from your other websites, lets say, the start page of Leuven, you should try to fit them. In the Leuven-Template it is done with the option &ipad.  You should change the link to
$frm_src[$frame]        = 'http://www.m82a1.us/weather28/?lang=en&ipad';
or for the forecast
$frm_src[$frame]        = 'http://www.m82a1.us/weather28/?p=noaa_full_page&lang=en&ipad';

It should be eaasy and fun to adapt, but if it will not fit, no solution.
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/

Offline bitsostring

  • Posts: 976
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Mozilla compatible
    • Home Weather Station
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #237 on: January 26, 2019, 08:07:47 PM »
Just noticed that all my WU Jan graphs show values to Sunday 26 Jan. . . but it's Saturday 26 Jan today!

http://swanston.maui.co.uk/pws/
« Last Edit: January 26, 2019, 09:26:58 PM by bitsostring »
It's meant to be fun. . .

Offline mldenison

  • Posts: 308
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 71.0.3578.98
    • York, Pennsylvania USA Weather
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #238 on: January 26, 2019, 08:57:00 PM »
Hi Wim,

That ipad switch made all the difference.  Looks great now.  The icons above the NOAA graph are a bit weird though.

I had to remove the Saratoga page.  It just won't fit well.  Then again it wasn't meant to be squeezed up.

Thanks for your help.

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,346
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 71.0.3578.98
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #239 on: January 26, 2019, 09:45:33 PM »
Just noticed that all my WU Jan graphs show values to Sunday 26 Jan. . . but it's Saturday 26 Jan today!

http://swanston.maui.co.uk/pws/
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


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/

 

cumulus