Author Topic: Support for the "Leuven-Template" in 2019  (Read 12388 times)

0 Members and 1 Guest are viewing this topic.

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Support for the "Leuven-Template" in 2019
« on: March 31, 2019, 08:49:11 AM »
End-Of_Live product
Due to upcoming changes such as PHP8 and discontinued forecasts I reluctantly decided to close the downloads.
New users, after investing their time in the install,  should be certain that the template continued to work in the foreseeable future.

WiKi :
EN https://leuven-template.eu/dokuwiki28/doku.php?id=en:start 
NL https://leuven-template.eu/dokuwiki28/doku.php?id=nl:start
Known issues:
EN https://support.leuven-template.eu/problems28.php?lang=en
NL https://support.leuven-template.eu/problems28.php?lang=nl

Support:
  • Available for you if you already use the template in your production environment.
  • Post questions in this topic, everyone can help you that way
  • Always include the URL (=correct link)  to the template on your website.
  • Check if other users also has the same problem, use the sponsors-page for that

Wim
« Last Edit: March 02, 2021, 04:34:59 PM by wvdkuil »

Offline txweather.org

  • Forecaster
  • *****
  • Posts: 1597
    • Texas Weather
Re: Support for the "Leuven-Template" in 2019
« Reply #1 on: March 31, 2019, 09:17:39 AM »
Super awesome Wim! Thanks!

----
Davis Vantage Pro2 Plus +FARS|Meteobridge Nano SD|Meteohub|Meteobridge MR-3020|WU KTXSPRIN75/PWS JRARGWX75/CWOP EW2972/WBB TXWDVUE75/Blitzortung ID: 1142|AWEKAS: 12095
Donations are welcome: https://paypal.me/ffuentesb

Offline KapitainOne

  • Senior Contributor
  • ****
  • Posts: 255
    • Sanford Weather
Re: Support for the "Leuven-Template" in 2019
« Reply #2 on: April 06, 2019, 05:56:41 PM »
Thanks for making it available again Wim, I downloaded, installed and got most of it working.
Solar isn't reporting as I expected but strongly suspect the problem is on my end using weewx and the weewx-wd skin to create that testtags.php file!
My Saratoga test template has an issue with this also.
No worries, I can live with it as it stands
Bill

« Last Edit: May 17, 2019, 09:32:07 AM by KapitainOne »

Offline captainjackfan58

  • Senior Member
  • **
  • Posts: 80
  • Acurite Atlas/w/ Acurite Access
    • BloomSky SKY and Storm PWS Live Info With Cam
Re: Support for the "Leuven-Template" in 2019
« Reply #3 on: May 15, 2019, 04:15:16 PM »
Super awesome Wim! Thanks!

This is awesome and what I want. But I have an Acurite Atlas and only can send info to WU so I am ready as soon as I get the zip file with the goods in it to upload to ftp on hosting site. :-)
Eye On The Sky Live Hyper-Local Weather Station

Join My Facebook Weather Group
https://www.facebook.com/groups/600853683742496/

Here Is My (WU) Live Weather Station Information!
https://www.wunderground.com/dashboard/pws/KOHNAPOL51

Here Is My Bloomsky Sky And Storm
https://www.wunderground.com/dashboard/pws/KOHNAPOL56

Here Is My Bloomsky Live Cam And Timelapse Please Feel Free To Follow Me.

https://map.bloomsky.com/weather-stations/faBiuZWsq6eqn5ij

This is my Acurite Atlas Live Station!
https://www.myacurite.com/#/dashboard

Offline krekel

  • Member
  • *
  • Posts: 14
    • Weerstation Assen
Re: Support for the "Leuven-Template" in 2019
« Reply #4 on: May 19, 2019, 04:27:59 AM »
There is a problem with the WU history page.
https://www.weerstation-assen.nl/weather28a/index.php?p=wsWUstart&lang=nl&ipad
Has it to do with the WU changes?

Brgds,
Oebel

Offline djroby19

  • Senior Member
  • **
  • Posts: 88
    • Pomeziameteo
Re: Support for the "Leuven-Template" in 2019
« Reply #5 on: May 19, 2019, 02:03:48 PM »
There is a problem with the WU history page.
https://www.weerstation-assen.nl/weather28a/index.php?p=wsWUstart&lang=nl&ipad
Has it to do with the WU changes?

Brgds,
Oebel

And a problem with Wunderground servers

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: Support for the "Leuven-Template" in 2019
« Reply #6 on: May 19, 2019, 03:55:25 PM »
ALL requests to the CSV data return
Quote
An error occurred while processing your request.
Reference #30.26bc3b17.1558295413.4ee19d6
Probably a temporary glitch since early this morning.
Lets see if it works on Monday
Wim

Offline Mtn_man

  • Member
  • *
  • Posts: 40
    • Sunset Mountain Weather
Re: Support for the "Leuven-Template" in 2019
« Reply #7 on: May 20, 2019, 11:04:11 AM »
Data extracted from WU with the "weather report" tab, is now blank for 2019.  No error messages, just a blank table.
Data for 2010 through 2018 does still display, and nothing prior to 2010.

Looking on WU site, my data goes back to January 2008, and 2019 data is there.  Prior to this my data on WU went back to March 2005, which it appears they have deleted. 

WU History Text and WU History Graphs do not display data, but without script errors.
« Last Edit: May 20, 2019, 11:13:01 AM by Mtn_man »

Offline krekel

  • Member
  • *
  • Posts: 14
    • Weerstation Assen
Re: Support for the "Leuven-Template" in 2019
« Reply #8 on: May 20, 2019, 11:09:29 AM »
Just read this post from Ken True:

I received word from Victoria Gardner and they have turned off (permanently) the old CSV query capability on the website.

Unfortunately, the PWS WU/API does not provide the full equivalent capability (missing month and year queries), and only specific date queries.

So.. for now, all scripts that used the CSV query are dead  (WU-History, etc).


So, nothing to do about it I think.

Brgds,
Oebel

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: Support for the "Leuven-Template" in 2019
« Reply #9 on: May 20, 2019, 11:34:58 AM »
Just read this post from Ken True:

I received word from Victoria Gardner and they have turned off (permanently) the old CSV query capability on the website.

Unfortunately, the PWS WU/API does not provide the full equivalent capability (missing month and year queries), and only specific date queries.

So.. for now, all scripts that used the CSV query are dead  (WU-History, etc).


So, nothing to do about it I think.

Brgds,
Oebel
As all history scripts are affected, I need multiple days/weeks of recoding the scripts.
I am on vacation until June 3, with only an iPad. So nothing I can do or help with for now.

All users should make a copy of the WU-data which can be found in the cache/ folder.
We can not reload them so store those datasets on your PC also.

Wim

Offline mldenison

  • Contributor
  • ***
  • Posts: 111
    • York, PA Weather
Re: Support for the "Leuven-Template" in 2019
« Reply #10 on: May 20, 2019, 01:25:10 PM »
Hi Wim,

Enjoy your vacation!

You'd helped me a few months ago on my question as to how to modify the main menu.  I've just started tackling that and have a few pages that don't work which I'd like to fix before reorganizing.

Right now, I'm trying to get the SPC Severe Weather and the SPC Sounding pages to load.  They're under the 'More Advisories' menu tab right now.

Both of them display nothing.  I looked in the php code for both and found that the http links don't work but do when they are https.  Changing them to https in the php code again returned nothing so I'm missing something it seems.  Any ideas - when you get back?

Also, the 'Nearby Buoys' (under Mesonet right now) did not work for the verbose buoy data.  I changed the URL$ to 'https://www.ndbc.noaa.gov/data/latest_obs/latest_obs.txt' from 'http://140.90.238.27/data/latest_obs/latest_obs.txt' in the ws_buoy_generate.php file which fixed the issue.

Here's the website link: http://www.m82a1.us/weather28/index.php?p=wsStartPage&lang=en

Thanks,
Mort
Windows 7 x64
Weather PC: Intel NUC
Davis Vantage Pro 2
Weather Underground: KPAYORK30
York, PA Weather (Saratoga)
York, PA Weather (Leuven)
York, PA PWS Station

Offline wsNoordbergum

  • Contributor
  • ***
  • Posts: 134
    • wsNoordbergum
Re: Support for the "Leuven-Template" in 2019
« Reply #11 on: May 28, 2019, 08:00:16 AM »
Just read this post from Ken True:

I received word from Victoria Gardner and they have turned off (permanently) the old CSV query capability on the website.

Unfortunately, the PWS WU/API does not provide the full equivalent capability (missing month and year queries), and only specific date quer

So.. for now, all scripts that used the CSV query are dead  (WU-History, etc).


So, nothing to do about it I think.

Brgds,
Oebel
As all history scripts are affected, I need multiple days/weeks of recoding the scripts.
I am on vacation until June 3, with only an iPad. So nothing I can do or help with for now.

All users should make a copy of the WU-data which can be found in the cache/ folder.
We can not reload them so store those datasets on your PC also.

Wim

Thanks in advance Wim!

With kind regards wsNoordbergum
Davis Vantage Pro 2 UV/Solar
Meteobridge nano SD
Ecowitt WS90 WH40 WH31 WH57 GW2000 HP2550_c
CumulusMX/raspberry Pi 4b

Offline plex

  • Contributor
  • ***
  • Posts: 102
Re: Support for the "Leuven-Template" in 2019
« Reply #12 on: February 16, 2020, 05:17:17 AM »
Hi

How can I correct the link button, to show correct forecasts?

As it is now - all cities link to my own city forecast.

https://www.vejrstationen.dk/weather28/index.php?p=wsStartPage&wp=MB&lang=en

Thanks

 [ You are not allowed to view attachments ]


Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: Support for the "Leuven-Template" in 2019
« Reply #13 on: February 16, 2020, 05:30:02 AM »
Hi
How can I correct the link button, to show correct forecasts?
As it is now - all cities link to my own city forecast.
https://www.vejrstationen.dk/weather28/index.php?p=wsStartPage&wp=MB&lang=en
Thanks
That dashboard component can only link if you allow multiple forecasts in your settings.
Code: [Select]
# Multiple selections on forecast pages
$SITE["multi_forecast"] = true;                 # true = Enable this facility  |  false = Do not display
$SITE["multi_fct_keys"] = "./_my_texts/eu_multi_fct.txt";
Wim

Offline plex

  • Contributor
  • ***
  • Posts: 102
Re: Support for the "Leuven-Template" in 2019
« Reply #14 on: February 16, 2020, 06:17:46 AM »
Hi
How can I correct the link button, to show correct forecasts?
As it is now - all cities link to my own city forecast.
https://www.vejrstationen.dk/weather28/index.php?p=wsStartPage&wp=MB&lang=en
Thanks
That dashboard component can only link if you allow multiple forecasts in your settings.
Code: [Select]
# Multiple selections on forecast pages
$SITE["multi_forecast"] = true;                 # true = Enable this facility  |  false = Do not display
$SITE["multi_fct_keys"] = "./_my_texts/eu_multi_fct.txt";
Wim

 :oops:

Thanks Wim

Offline plex

  • Contributor
  • ***
  • Posts: 102
Re: Support for the "Leuven-Template" in 2019
« Reply #15 on: February 16, 2020, 08:08:52 AM »
One more question regarding the Weather Report / wsReports.

https://www.vejrstationen.dk/weather28/index.php?p=wsReports&lang=en#data-area


Data from the 1st of February to 4th of February is missing. Also most data from past years is missing, and I know from earlier, that some users has lost data from WU. But it doesn't seem to be the problem, as historical data is visible on WU webpage.

https://www.wunderground.com/dashboard/pws/IMIDTJYL15/graph/2020-02-2/2020-02-2/daily

My installation of the template is fresh, so I assume past fixes regarding WU is included.

What could be the problem?

Thanks in advance

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: Support for the "Leuven-Template" in 2019
« Reply #16 on: February 16, 2020, 08:49:13 AM »
. . . shortened . . .
My installation of the template is fresh, so I assume past fixes regarding WU is included.
What could be the problem?
. . .
he problem, no new users since at least a year.
Almost all existing users implemented the update as attached.

As you can see yourself, you are the only post with an install in this topic.
Solution:
  • You can install the KenTrue solution https://github.com/ktrue/WU-History and adapt the links
  • Or use my version as attached, a readme is in the download. This is the same solution as used in the PWS_Dashboard
  • Therefor you could also use the script PWS_DailyHistory.php 

Wim


Offline plex

  • Contributor
  • ***
  • Posts: 102
Re: Support for the "Leuven-Template" in 2019
« Reply #17 on: February 16, 2020, 01:40:58 PM »
. . . shortened . . .
My installation of the template is fresh, so I assume past fixes regarding WU is included.
What could be the problem?
. . .
he problem, no new users since at least a year.
Almost all existing users implemented the update as attached.

As you can see yourself, you are the only post with an install in this topic.
Solution:
  • You can install the KenTrue solution https://github.com/ktrue/WU-History and adapt the links
  • Or use my version as attached, a readme is in the download. This is the same solution as used in the PWS_Dashboard
  • Therefor you could also use the script PWS_DailyHistory.php 

Wim

Thanks Wim - I've implemented the attached fix - then time will tell [tup]


Offline Torjan

  • Member
  • *
  • Posts: 30
    • regnskvett
Re: Support for the "Leuven-Template" in 2019
« Reply #18 on: February 25, 2020, 02:33:35 PM »
Hi!
After my host moved me to a new server, some problem has appeared. It's one I don't figure out. The wind rose on my website is gone. error message is 404 not found. But it is there.
Appreciated if anyone could help.

http://foreneset.no/weather2/index.php

Torjan

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: Support for the "Leuven-Template" in 2019
« Reply #19 on: February 25, 2020, 03:28:36 PM »
Hi!
After my host moved me to a new server, some problem has appeared. It's one I don't figure out. The wind rose on my website is gone. error message is 404 not found. But it is there.
Appreciated if anyone could help.
http://foreneset.no/weather2/index.php
Torjan

The Meteobridge template-value for wind-direction is invalid.
Change line  211 in scriptsMB/tags.mb.txt from
Code: [Select]
|windActDsc|[wind0dir-act=endir.0:--]|!to
Code: [Select]
|windActDsc|[wind0dir-act=endir:--]|!   ##  2018-11-26
Press reload template in the services tab of your Meteobridge for this upload and the wind-direction will be abvailable and added to the name of the wind-rose a.s.o.

Wim

Offline Torjan

  • Member
  • *
  • Posts: 30
    • regnskvett
Re: Support for the "Leuven-Template" in 2019
« Reply #20 on: February 25, 2020, 03:43:54 PM »
Hi!
Tanks! That was it.

Offline kirikiri

  • Member
  • *
  • Posts: 3
    • Station de Dion Valmont
Re: Support for the "Leuven-Template" in 2019
« Reply #21 on: April 20, 2020, 06:46:41 AM »
Hello Wim,


Now in the correct forum... :-) I have 3 questions: everything went OK for my website installation and the template until now but :

- is it possible to include a Google Analytics key somewhere ?
- is it possible to cancel the display of the console forecast ? I never believe in the erratic forecasts issued from there
- I have seen somewhere in the files a place where to place a "WU key", is that the password or an API key ?

Thanks in advance,

Daniel

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: Support for the "Leuven-Template" in 2019
« Reply #22 on: April 20, 2020, 07:20:00 AM »
Hello Wim,
- is it possible to include a Google Analytics key somewhere ?
Probably yes, but have never done so. Maybe another user knows where to find the "how to" guide
Quote
- is it possible to cancel the display of the console forecast ? I never believe in the erratic forecasts issued from there
You refer to the forecast in the header?
In ./scriptsMB/tags.mb.txt line 268 the Davis forecast is loaded by Meteobridge
Code: [Select]
fcstTxt|[forecast-text:Data will be reloaded in]|!You can change that in a fixed text explaining the counter at the right
Code: [Select]
fcstTxt|Data will be reloaded in|!Others insert a saying about the weather in the used field itself $ws['fcstTxt] , some even dynamically in the script where that line is displayed.

Or you can change the settings inside the script which displays the gauges in the header. Script ./gauges/gaugeFrame.php lines 7-16
Code: [Select]
$disp_lcd_line  = true;         # true or false if no display of the line with led / forecast /counter
#                               # following lcd settings are ignored if disp_lcd_line is set to false
$disp_lcd_place = 'bottom';     # 'bottom' = below gauges or 'top' = above gauges.
$disp_lcd_led   = true;         # true or false if no display of the LED
$disp_lcd_fct   = true;         # true or false if no display of the forecast line
$disp_lcd_count = true;         # true or false if no display of the counter.
#
$lcd_fct_width  = 500;          # width of the LCD with forcast text, if displayed
$lcd_height     = 15;           #
$lcd_line_loc   = 'center';     # 'center'  'left'  'right'

Quote
- I have seen somewhere in the files a place where to place a "WU key", is that the password or an API key ?
Thanks in advance, Daniel
The "WU key" is not supported inside the template scripts anymore. So you only have to add a line in ./_my_texts/wsUserSettings.php
Code: [Select]
$SITE["wuKey"] = false; This will remove the error about a missing wuKey.

Wim

Offline kirikiri

  • Member
  • *
  • Posts: 3
    • Station de Dion Valmont
Re: Support for the "Leuven-Template" in 2019
« Reply #23 on: April 22, 2020, 12:36:15 PM »
Thanks Wim for the help. It is now OK for these points.

I still have 2 remaining things to solve:

- The wind page with Windy which is only showing a map without any wind directions of speeds, there is a flag where I am supposed to be with "NaNkm/h" written in a box. If I am clicking on others parameters nothing changes
- What to do delete the "Zambretti" forecast box ?
- Is there a possibility to have graphs generated on the page ? The "Station Graphics" is empty, my MB Nano is generating graphs and they are stored in the SD card.

I will take a look to the WU questions with the template because I have no history or graphs showing on the WU pages even after put the ID of my WU station.

Thank you in advance,


Daniel

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: Support for the "Leuven-Template" in 2019
« Reply #24 on: April 23, 2020, 03:12:41 AM »
. . .
- The wind page with Windy which is only showing a map without any wind directions of speeds, there is a flag where I am supposed to be with "NaNkm/h" written in a box. If I am clicking on others parameters nothing changes
Can not replicate, all seems to work wel when i test that page, see attached screenshot
Quote
- What to do delete the "Zambretti" forecast box ?
https://support.leuven-template.eu/  => link to WiKi => https://leuven-template.eu/dokuwiki28/doku.php?id=en:start
Tho bottom half of the WiKi first page has all kinds of interesting topics, the first one in the list is the one you need
==> https://leuven-template.eu/dokuwiki28/doku.php?id=en:startpage
That page describes how to add remove rearrange all possible components.
Quote
- Is there a possibility to have graphs generated on the page ? The "Station Graphics" is empty, my MB Nano is generating graphs and they are stored in the SD card.
AFAIK not possible
But if your Meteobridge can upload them, yes you can use them on your site 
Quote
I will take a look to the WU questions with the template because I have no history or graphs showing on the WU pages even after put the ID of my WU station.
If you want to install/test the Saratoga template and/or Meteotemplate also use the Saratoga = Ken True solution
If you want to use the Leuven-Template use my version to solve the "WU-CSV" problem
Check this answer:  https://www.wxforum.net/index.php?topic=36504.msg398885#msg398885
Quote
Thank you in advance,
Daniel
Succes, Wim
« Last Edit: April 23, 2020, 03:16:34 AM by wvdkuil »