Author Topic: Leuven-Template now End-Of-Live, but still supported  (Read 107995 times)

meteo-thenioux

  • Gentle Breeze
  • **
  • Posts: 24
    • ICENTRE6
  • Station Details: DAVIS VANTAGE PRO/&VUE
Re: Leuven-Template available for WeatherCat
« Reply #90 on: June 18, 2016, 04:36:50 PM »
 [sweat2]not the same post .....
on the other post I wonder if possible to install the script with weathercat davcon
take the post at the beginning
I am not dependent on answers

ha-rob

  • Gentle Breeze
  • **
  • Posts: 23
    • IBUSKERU54
    • UranusWeather
  • Station Details: Davis Vantage Vue on MAC OS X 10.11.6
Re: Leuven-Template available for WeatherCat
« Reply #91 on: August 20, 2016, 10:11:47 PM »
I have recently changed weather station from LaCrosse WS-2350 to Davis Vantage Vue. My weather site www.uranusweather.com with the Leuven-Template, is still running. But I have discovered a problem with the steel series gauges. On my weather site, if you click on livedata and then steelseries you will see that the arrows on all the gauges are pointing on zero. And a message is saying - Text file download corrupted! Retrying...

I need some help to fix that...   [tup]

wvdkuil

  • Strong Breeze
  • ***
  • Posts: 151
    • DW8113 (D8113)
    • IVLAAMSG47
    • Weatherstation Wilsele/Leuven/Belgium
  • Station Details: VantagePro2+ UV,Solar - Macbook/Mini
Re: Leuven-Template available for WeatherCat
« Reply #92 on: August 20, 2016, 10:23:49 PM »
@ha-rob   I am outside europe without proper internet until August 28.
So I can not check your site. Change of whether station should not change anything normally ad the weatherprogram is the same, so the upload files should be still correct.

I will look into this when I am home again.

Wim
Support of Leuven-Template&Scripts: https://support.leuven-template.eu/
Support and demo for the PWS_Dashboard (also for WeatherCat)  https://pwsdashboard.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

ha-rob

  • Gentle Breeze
  • **
  • Posts: 23
    • IBUSKERU54
    • UranusWeather
  • Station Details: Davis Vantage Vue on MAC OS X 10.11.6
Re: Leuven-Template available for WeatherCat
« Reply #93 on: August 20, 2016, 10:31:01 PM »
Thanx, I'll be waiting  :)  [cheers1]

xairbusdriver

  • Storm
  • *****
  • Posts: 3126
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.15.7/WC 3.0.5
Re: Leuven-Template available for WeatherCat
« Reply #94 on: August 20, 2016, 10:56:00 PM »
While you are waiting, you might want to post your question in the <Steel Gauges> threads where the dev for those might have a better chance of seeing it. That may be where the warning is coming from rather than the Leuven-Template. Apparently the original developer of those gauges is Mr. Gerrit Grunwald? ;)
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system


wvdkuil

  • Strong Breeze
  • ***
  • Posts: 151
    • DW8113 (D8113)
    • IVLAAMSG47
    • Weatherstation Wilsele/Leuven/Belgium
  • Station Details: VantagePro2+ UV,Solar - Macbook/Mini
Re: Leuven-Template available for WeatherCat
« Reply #95 on: August 21, 2016, 07:42:54 AM »
While you are waiting, you might want to post your question in the <Steel Gauges> threads where the dev for those might have a better chance of seeing it. That may be where the warning is coming from rather than the Leuven-Template. Apparently the original developer of those gauges is Mr. Gerrit Grunwald? ;)
The version used is a relative old one, this template version is an old adapted version of Mark Crosleys script 1.5.
As I have no access on my iPad to the html of the page I can not check what is wrong with the realtime file, and I do not know by head the name of the 2.4c realtime file either.

Mr Grunwald developed the Steelseries java scripts. Mark Crosley created the first html page for Cumulus and other weatherprograms.
Wim
Support of Leuven-Template&Scripts: https://support.leuven-template.eu/
Support and demo for the PWS_Dashboard (also for WeatherCat)  https://pwsdashboard.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

ha-rob

  • Gentle Breeze
  • **
  • Posts: 23
    • IBUSKERU54
    • UranusWeather
  • Station Details: Davis Vantage Vue on MAC OS X 10.11.6
Re: Leuven-Template available for WeatherCat
« Reply #96 on: August 23, 2016, 06:29:37 PM »
While you are waiting, you might want to post your question in the <Steel Gauges> threads where the dev for those might have a better chance of seeing it. That may be where the warning is coming from rather than the Leuven-Template. Apparently the original developer of those gauges is Mr. Gerrit Grunwald? ;)
The version used is a relative old one, this template version is an old adapted version of Mark Crosleys script 1.5.
As I have no access on my iPad to the html of the page I can not check what is wrong with the realtime file, and I do not know by head the name of the 2.4c realtime file either.

Mr Grunwald developed the Steelseries java scripts. Mark Crosley created the first html page for Cumulus and other weatherprograms.
Wim

What I consider to do, is to upgrade both the WC version and the template version, and hopefully that will fix the problem and some other minor problems I have. I have had the same versions for almost 3 years now, so maybe it's smart to do a "clean up".

wvdkuil

  • Strong Breeze
  • ***
  • Posts: 151
    • DW8113 (D8113)
    • IVLAAMSG47
    • Weatherstation Wilsele/Leuven/Belgium
  • Station Details: VantagePro2+ UV,Solar - Macbook/Mini
Re: Leuven-Template available for WeatherCat
« Reply #97 on: August 28, 2016, 02:53:26 PM »
While you are waiting, you might want to post your question in the <Steel Gauges> threads where the dev for those might have a better chance of seeing it. That may be where the warning is coming from rather than the Leuven-Template. Apparently the original developer of those gauges is Mr. Gerrit Grunwald? ;)
The version used is a relative old one, this template version is an old adapted version of Mark Crosleys script 1.5.
As I have no access on my iPad to the html of the page I can not check what is wrong with the realtime file, and I do not know by head the name of the 2.4c realtime file either.

Mr Grunwald developed the Steelseries java scripts. Mark Crosley created the first html page for Cumulus and other weatherprograms.
Wim

What I consider to do, is to upgrade both the WC version and the template version, and hopefully that will fix the problem and some other minor problems I have. I have had the same versions for almost 3 years now, so maybe it's smart to do a "clean up".

This version 2.4c uses a php script to load the data and convert the , to . to not conflict with the json format
http://www.uranusweather.com/weather2/gauges/realtimeWC.php
Code: [Select]
Warning: Cannot modify header information - headers already sent by (output started at /customers/a/6/7/uranusweather.com/httpd.www/weather2/wsSettingsWeather.php:2) in /customers/a/6/7/uranusweather.com/httpd.www/weather2/gauges/realtimeWC.php on line 235 {"date":"2016-08-28 15:38:00","temp":"13.7","tempTL":"8.3","tempTH":"14.6","intemp":"24.2","dew":"11.4","dewpointTL":"6.8","dewpointTH":"11.6","apptemp":"14.3","apptempTL":"8","apptempTH":"15.2","wchill":"13.7","wchillTL":"8.3","heatindex":"13.7","heatindexTH":"16.5","humidex":"13.7","wlatest":"0","wspeed":"0","wgust":"0","wgustTM":"3.6","bearing":"141","avgbearing":"Syntax Error","press":"1016.5","pressTL":"1016.5","pressTH":"1018.7","pressL":"956.4","pressH":"1043.5","rfall":"0","rrate":"0","rrateTM":"0","hum":"86","humTL":"76","humTH":"92","inhum":"50","SensorContactLost":"0","forecast":"  increasing clouds with little temperature change  precipitation possible within 24 to 48 hours","tempunit":"C","windunit":"km\/h","pressunit":"hPa","rainunit":"mm","temptrend":"-0.3","TtempTL":"05:08","TtempTH":"14:51","TdewpointTL":"04:47","TdewpointTH":"15:34","TapptempTL":"05:00","TapptempTH":"14:00","TwchillTL":"05:08","TheatindexTH":"14:51","TrrateTM":"-","ThourlyrainTH":"-","LastRained":"-","hourlyrainTH":"0","ThumTL":"00:00","ThumTH":"06:33","TpressTL":"15:22","TpressTH":"01:21","presstrendval":"-0.5","Tbeaufort":"-","TwgustTM":"15:20","windTM":"54","bearingTM":"-","timeUTC":"2016,8,28,13,38,18","BearingRangeFrom10":"0","BearingRangeTo10":"359","UV":"0,0","SolarRad":"0","CurrentSolarMax":"-","SolarTM":"0,0","version":"WeatherCat","build":"V2.31, Build 93","ver":"9"}There is an error message just before the json output.
So a modification has taking place in wsSettingsWeather.php at line 2 which outputs either a space or the "bom" characters.
This is how the first two lines should look:
Code: [Select]
<?php
if (!isset($SITE)){
There should be NOTHING before the < on the first line.

=== UPGRADE

If you want to upgrade to the most recent version, I can do that for you for the webserver part. Sent me a (temporary)  ftp userid and password.

You should instruct WeatherCat to also upload the two NEW files.  Check the WiKi http://leuven-template.eu/dokuwiki28/doku.php?id=en:uploadwc
Please upload them to the same location as you are uploading all 2.4c files: weather2/uploadWC/ in all WiKi examples you should read weather2/ for weather28/.

Wim
Support of Leuven-Template&Scripts: https://support.leuven-template.eu/
Support and demo for the PWS_Dashboard (also for WeatherCat)  https://pwsdashboard.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

ha-rob

  • Gentle Breeze
  • **
  • Posts: 23
    • IBUSKERU54
    • UranusWeather
  • Station Details: Davis Vantage Vue on MAC OS X 10.11.6
Re: Leuven-Template available for WeatherCat
« Reply #98 on: August 29, 2016, 07:48:53 PM »
While you are waiting, you might want to post your question in the <Steel Gauges> threads where the dev for those might have a better chance of seeing it. That may be where the warning is coming from rather than the Leuven-Template. Apparently the original developer of those gauges is Mr. Gerrit Grunwald? ;)
The version used is a relative old one, this template version is an old adapted version of Mark Crosleys script 1.5.
As I have no access on my iPad to the html of the page I can not check what is wrong with the realtime file, and I do not know by head the name of the 2.4c realtime file either.

Mr Grunwald developed the Steelseries java scripts. Mark Crosley created the first html page for Cumulus and other weatherprograms.
Wim

What I consider to do, is to upgrade both the WC version and the template version, and hopefully that will fix the problem and some other minor problems I have. I have had the same versions for almost 3 years now, so maybe it's smart to do a "clean up".

This version 2.4c uses a php script to load the data and convert the , to . to not conflict with the json format
http://www.uranusweather.com/weather2/gauges/realtimeWC.php
Code: [Select]
Warning: Cannot modify header information - headers already sent by (output started at /customers/a/6/7/uranusweather.com/httpd.www/weather2/wsSettingsWeather.php:2) in /customers/a/6/7/uranusweather.com/httpd.www/weather2/gauges/realtimeWC.php on line 235 {"date":"2016-08-28 15:38:00","temp":"13.7","tempTL":"8.3","tempTH":"14.6","intemp":"24.2","dew":"11.4","dewpointTL":"6.8","dewpointTH":"11.6","apptemp":"14.3","apptempTL":"8","apptempTH":"15.2","wchill":"13.7","wchillTL":"8.3","heatindex":"13.7","heatindexTH":"16.5","humidex":"13.7","wlatest":"0","wspeed":"0","wgust":"0","wgustTM":"3.6","bearing":"141","avgbearing":"Syntax Error","press":"1016.5","pressTL":"1016.5","pressTH":"1018.7","pressL":"956.4","pressH":"1043.5","rfall":"0","rrate":"0","rrateTM":"0","hum":"86","humTL":"76","humTH":"92","inhum":"50","SensorContactLost":"0","forecast":"  increasing clouds with little temperature change  precipitation possible within 24 to 48 hours","tempunit":"C","windunit":"km\/h","pressunit":"hPa","rainunit":"mm","temptrend":"-0.3","TtempTL":"05:08","TtempTH":"14:51","TdewpointTL":"04:47","TdewpointTH":"15:34","TapptempTL":"05:00","TapptempTH":"14:00","TwchillTL":"05:08","TheatindexTH":"14:51","TrrateTM":"-","ThourlyrainTH":"-","LastRained":"-","hourlyrainTH":"0","ThumTL":"00:00","ThumTH":"06:33","TpressTL":"15:22","TpressTH":"01:21","presstrendval":"-0.5","Tbeaufort":"-","TwgustTM":"15:20","windTM":"54","bearingTM":"-","timeUTC":"2016,8,28,13,38,18","BearingRangeFrom10":"0","BearingRangeTo10":"359","UV":"0,0","SolarRad":"0","CurrentSolarMax":"-","SolarTM":"0,0","version":"WeatherCat","build":"V2.31, Build 93","ver":"9"}There is an error message just before the json output.
So a modification has taking place in wsSettingsWeather.php at line 2 which outputs either a space or the "bom" characters.
This is how the first two lines should look:
Code: [Select]
<?php
if (!isset($SITE)){
There should be NOTHING before the < on the first line.

=== UPGRADE

If you want to upgrade to the most recent version, I can do that for you for the webserver part. Sent me a (temporary)  ftp userid and password.

You should instruct WeatherCat to also upload the two NEW files.  Check the WiKi http://leuven-template.eu/dokuwiki28/doku.php?id=en:uploadwc
Please upload them to the same location as you are uploading all 2.4c files: weather2/uploadWC/ in all WiKi examples you should read weather2/ for weather28/.

Wim

Thanks a lot! I removed an empty line before the <?php in the wsSettingsWeather.php and that solved the problem. Yesss!

Yes, I consider to upgrade to the latest version. And many thanks for wanting to help me. I am certainly not a computer expert. But, like a kid, I would like to try myself first. I have read through the WiKi last weekend and I am mentally prepared to give it a try. I have uploaded the template and have started to customize the template in the Configure section of the menu, everything in a test version in folder /weather28... while the current template version 2.4 still is working. Not finished yet but working on it. My way to learn and manage to do things myself, he-he. I really appreciate that you want to help me, so I rather contact you if I should meet some problems.  [bounce]

ha-rob

  • Gentle Breeze
  • **
  • Posts: 23
    • IBUSKERU54
    • UranusWeather
  • Station Details: Davis Vantage Vue on MAC OS X 10.11.6
Re: Leuven-Template available for WeatherCat
« Reply #99 on: September 08, 2016, 08:13:34 PM »
Today I finally have upgraded to the new version and everything is uploaded to the site www.uranusweather.com. The front or main page and all other pages are, as far as I can see, just perfect, the way I wanted. The realtime values are ok. Only a couple of minor problems:

1. The temperature high and lows are set to 0,0 degrees
2. The rain values are set to 0,0 mm. That is not correct for the Season total
3. The date on Last updated is set to 01-01-1970 01:00.

See the attached file which is a picture of my custom web additional files for uploading. The first four are the tag files from the old version. The last four are the tag files from the new version.

How can I make this work? Is there something I have forgot to do?

Rob

wvdkuil

  • Strong Breeze
  • ***
  • Posts: 151
    • DW8113 (D8113)
    • IVLAAMSG47
    • Weatherstation Wilsele/Leuven/Belgium
  • Station Details: VantagePro2+ UV,Solar - Macbook/Mini
Re: Leuven-Template available for WeatherCat
« Reply #100 on: September 09, 2016, 08:27:59 AM »
Today I finally have upgraded to the new version and everything is uploaded to the site www.uranusweather.com. The front or main page and all other pages are, as far as I can see, just perfect, the way I wanted. The realtime values are ok. Only a couple of minor problems:

1. The temperature high and lows are set to 0,0 degrees
2. The rain values are set to 0,0 mm. That is not correct for the Season total
3. The date on Last updated is set to 01-01-1970 01:00.

See the attached file which is a picture of my custom web additional files for uploading. The first four are the tag files from the old version. The last four are the tag files from the new version.

How can I make this work? Is there something I have forgot to do?

Rob
The weather-data displayed on the pages has two sources:
The realtime file => seems OK => http://www.uranusweather.com/weather2/uploadWC/realtime.wc.txt
The 5 minute data, including high-lows => not OK => http://www.uranusweather.com/weather2/index.php?tags&high&p=0000&pw=#data-area

That file seems to have "non-standard" line breaks so it is by some scripts considered to be one long line. 
The same file on the demo site http://weather-template.nl/weather28/?tags&high&p=0000&pw=&wp=WC#data-area  har "normal' line-breaks.

Can you make a zip of the uploaded file weather2/uploadWC/tags.wc.txt  and sent it  to me?  wvdkuil ( at ) gmail.com
I can test to see what character your WeatherCat is using for a line break.

ALSO: There seems to be some extra characters inserted at the beginning of the file
All template files are in UTF-8  and should only be read or altered with a decent program-editor.
So maybe you used a text-editor when copying to your weathercat folder.  Some non-program editors insert special characters in UTF-8 files.
Attached a fresh zip of the tags file for WeatherCat.  Unzip and move to your WeratherCat tagFiles folder.

Your remark:
Quote
The first four are the tag files from the old version. The last four are the tag files from the new version.
There are ONLY TWO files to be uploaded and the graphs.  http://leuven-template.eu/dokuwiki28/doku.php?id=en:uploadwc
Please do no uploaded the other two.

Wim
Support of Leuven-Template&Scripts: https://support.leuven-template.eu/
Support and demo for the PWS_Dashboard (also for WeatherCat)  https://pwsdashboard.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Blicj11

  • Storm
  • *****
  • Posts: 3941
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: Leuven-Template available for WeatherCat
« Reply #101 on: September 09, 2016, 05:38:55 PM »
ALSO: There seems to be some extra characters inserted at the beginning of the file
All template files are in UTF-8  and should only be read or altered with a decent program-editor.
So maybe you used a text-editor when copying to your weathercat folder.  Some non-program editors insert special characters in UTF-8 files.

TextWrangler is a great editor, free and preserves the UTF-8 format.
Blick


ha-rob

  • Gentle Breeze
  • **
  • Posts: 23
    • IBUSKERU54
    • UranusWeather
  • Station Details: Davis Vantage Vue on MAC OS X 10.11.6
Re: Leuven-Template available for WeatherCat
« Reply #102 on: September 09, 2016, 07:09:41 PM »
I have sent you the tag-file on email. Right after that, I downloaded your fresh tag-file and put it into the tag file folder.  [woohoo] And now everything works fine. I have, like you said, used a text-editor to copy the file to my weathecat folder. Thank you very much for good help - help that really works ! 

Rob


Today I finally have upgraded to the new version and everything is uploaded to the site www.uranusweather.com. The front or main page and all other pages are, as far as I can see, just perfect, the way I wanted. The realtime values are ok. Only a couple of minor problems:

1. The temperature high and lows are set to 0,0 degrees
2. The rain values are set to 0,0 mm. That is not correct for the Season total
3. The date on Last updated is set to 01-01-1970 01:00.

See the attached file which is a picture of my custom web additional files for uploading. The first four are the tag files from the old version. The last four are the tag files from the new version.

How can I make this work? Is there something I have forgot to do?

Rob
The weather-data displayed on the pages has two sources:
The realtime file => seems OK => http://www.uranusweather.com/weather2/uploadWC/realtime.wc.txt
The 5 minute data, including high-lows => not OK => http://www.uranusweather.com/weather2/index.php?tags&high&p=0000&pw=#data-area

That file seems to have "non-standard" line breaks so it is by some scripts considered to be one long line. 
The same file on the demo site http://weather-template.nl/weather28/?tags&high&p=0000&pw=&wp=WC#data-area  har "normal' line-breaks.

Can you make a zip of the uploaded file weather2/uploadWC/tags.wc.txt  and sent it  to me?  wvdkuil ( at ) gmail.com
I can test to see what character your WeatherCat is using for a line break.

ALSO: There seems to be some extra characters inserted at the beginning of the file
All template files are in UTF-8  and should only be read or altered with a decent program-editor.
So maybe you used a text-editor when copying to your weathercat folder.  Some non-program editors insert special characters in UTF-8 files.
Attached a fresh zip of the tags file for WeatherCat.  Unzip and move to your WeratherCat tagFiles folder.

Your remark:
Quote
The first four are the tag files from the old version. The last four are the tag files from the new version.
There are ONLY TWO files to be uploaded and the graphs.  http://leuven-template.eu/dokuwiki28/doku.php?id=en:uploadwc
Please do no uploaded the other two.

Wim

xairbusdriver

  • Storm
  • *****
  • Posts: 3126
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.15.7/WC 3.0.5
Re: Leuven-Template available for WeatherCat
« Reply #103 on: February 20, 2017, 03:27:52 PM »
Had a problem on my site this week end with the Forecast graphic/chart. This may have been mentioned here, and I missed it.

Being the lazy type, I fired off an email to the Templates dev asking for help. As usual, his explanation was accurate and swift! :) I changed a single letter in a single script and all is fine ... at present. However, he included a link that further describes the causes, our trusty 'weather.gov' web site, and more changes that coming in March 2017.

I quote from his email (without prior permission) for all to be aware of the changes:
Quote
This error is caused by a change from http  to https
Discussed a.o. at http://www.wxforum.net/index.php?topic=31449.msg314482#msg314482
As there are numerous changes ahead around March 7, the easiest way to do is find the line to change.

Only change this line as other lines with http://  should not be changed NOW, they do not work with https:// YET.[emphasis added]

Thanks, again, Mr. Wim van der Kuil. [cheer]
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system


wvdkuil

  • Strong Breeze
  • ***
  • Posts: 151
    • DW8113 (D8113)
    • IVLAAMSG47
    • Weatherstation Wilsele/Leuven/Belgium
  • Station Details: VantagePro2+ UV,Solar - Macbook/Mini
Re: Leuven-Template available for WeatherCat
« Reply #104 on: April 20, 2017, 10:43:32 AM »
Leuven Template support for NOAA/NWS/USA scripts

ATTENTION: Leuven-Template && WeatherCat users

Still waiting for the NOAA final changes of the new point-click forecast.  Cut-over date is now planned for April 24, 2017.

All adapted forecast scripts can be downloaded at the Leuven-Template support site: http://support.leuven-template.eu/

Stand-alone / Saratoga-template versions available at: http://www.weerstation-leuven.be/northam/noaafct/demo.php?plain&lang=en

FIRST  backup / copy or zip  your current noaafct/ folder before you start testing the new version.

===  ALSO

No "Current conditions" or an icon with a "question mark" on your start-page?
Caused by a previous NOAA/NWS change,  the METAR has to be loaded differently.
Read and print this pdf http://leuven-template.eu/noaa.pdf about what you have to change

Wim


Support of Leuven-Template&Scripts: https://support.leuven-template.eu/
Support and demo for the PWS_Dashboard (also for WeatherCat)  https://pwsdashboard.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/