Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See the Wiki for download

Cumulus ‘Current Conditions’ Alternative v3.0

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderators: daj, TNETWeather

User avatar
PaulMy
Posts: 1713
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis Vantage Pro 2+ w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by PaulMy » Wed 24 Dec 2014 2:59 am

Oops, I see what you mean. Will have to forego the Christmas colour...

Paul

User avatar
pernaczy
Posts: 113
Joined: Thu 15 Nov 2012 5:42 pm
Weather Station: Fine Offset WH 2080, TFA Spring
Operating System: XP SP3
Location: Niesiolowice, Northern Poland
Contact:

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by pernaczy » Wed 24 Dec 2014 7:19 pm

Hi,
I have installed the "Weather by You" CORRECTED version and I think there is still something wrong with the code. When an apparent temperature goes below 0 deg C script says "Dangerously Hot" (see attachement). I do not have regular observation but it happened already couple of times. Any idea why?
I have no solar and 'showCloud' is set to FALSE.
Best Regards,
Piotr
You do not have the required permissions to view the files attached to this post.
The day when I have learned anything is not the lost one.

Image

User avatar
JennyLeez
Posts: 266
Joined: Wed 16 Dec 2009 2:32 am
Weather Station: La Crosse WS3083
Operating System: Windows XP, Win7 & Win 10
Location: Wairoa, Hawkes Bay. New Zealand.
Contact:

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by JennyLeez » Wed 24 Dec 2014 9:26 pm

Hi Piotr,

It appears ok at present as attached.
Since I sent you a couple of corrected files I am not sure which is installed.
Attached also is the correct one for weather eden and configured. Just need to add password.
Please could you upload this one and then I will know which one you have.
Hopefully it will fix your Dangerously hot as well :)

Cheers
You do not have the required permissions to view the files attached to this post.
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
Image

User avatar
duke
Posts: 840
Joined: Sun 03 Jul 2011 6:23 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 - 64 bit
Location: Eastleigh, Hampshire, UK
Contact:

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by duke » Thu 25 Dec 2014 4:34 pm

Thank you Jenny / beteljuice, I have to admit I always too lazy and not here enough to do this task manually. But now it appears that I am dedicated and always here to do this task ;)

One small modification for me, as I (like most) already upload the required tags:

Code: Select all

############################################################################
$temp                       = $WX['temp'];
$apptemp                    = $WX['apptemp'];
$temptrend                  = $WX['temptrend'];
$tempunitnodeg              = $WX['tempunitnodeg'];
$rhour                      = $WX['rhour'];
$MinutesSinceLastRainTip    = $WX['MinutesSinceLastRainTip'];
$rainunit                   = $WX['rainunit'];
$beaufortnumber             = $WX['beaufortnumber'];
$avgbearing                 = $WX['avgbearing'];
$presstrendval              = $WX['presstrendval'];
$pressunit                  = $WX['pressunit'];
$cloudbasevalue             = $WX['cloudbasevalue'];
$cloudbaseunit              = $WX['cloudbaseunit'];
$SolarRad                   = $WX['SolarRad'];
$CurrentSolarMax            = $WX['CurrentSolarMax'];
$isdaylight                 = $WX['isdaylight'];
$IsSunny                    = $WX['IsSunny'];
############################################################################
Duke

Nightingale Weather
Eastleigh, Hampshire, UK
------------------------------------------------------
Validate your pages - often!

User avatar
beteljuice
Posts: 2510
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: XP SP3 - honest
Location: Dudley, West Midlands, UK

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by beteljuice » Thu 25 Dec 2014 5:17 pm

'Most' people do not already upload all of the tags used ("One small modification for me"), and there are several variants of 'tag' files, again most of which do not have all the tags required (as Cumulus has evolved)

Thus it was decided to have it's own (small) dedicted tags file.

You have 'defined' vars from saratoga WX[] array, but don't forget it carries many variables already defined as shortcuts (usually for javascript ajax routines). If you have no problems (elsewhere on the page) with your saratoga values then I have done the job properly and uniquely named all values that are converted or worked with, but this cannot be guaranteed for this or any other code.
Image
......................Imagine, what you will KNOW tomorrow !

User avatar
duke
Posts: 840
Joined: Sun 03 Jul 2011 6:23 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 - 64 bit
Location: Eastleigh, Hampshire, UK
Contact:

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by duke » Thu 25 Dec 2014 7:36 pm

I feel like I've just been told off...... It appears that I may have not worded my post with much thought. My apologies. My intent was to show that for those that 'do' upload a 'tags' file that it would be possible to incorporate the required tags into that file, if not already. My posting was not intended as a cut 'n' paste.

I'll crawl back into my hole now.....
Duke

Nightingale Weather
Eastleigh, Hampshire, UK
------------------------------------------------------
Validate your pages - often!

User avatar
JennyLeez
Posts: 266
Joined: Wed 16 Dec 2009 2:32 am
Weather Station: La Crosse WS3083
Operating System: Windows XP, Win7 & Win 10
Location: Wairoa, Hawkes Bay. New Zealand.
Contact:

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by JennyLeez » Thu 25 Dec 2014 9:48 pm

duke wrote: I'll crawl back into my hole now.....
Come on out and read this Duke :)

Yes it should work fine using the CUtags or the cumuluswebtags.php.
When we started out those were the tag files we used as PaulMy can verify through the many changes he had to keep making as our beta tester :) This script evolved over a few months trying to make it as accurate as possible. Waiting for each weather condition to test it, dragged things out a bit as you would expect.

As betel states, the CUtags and cumuluswebtags did not have all the webtags we needed and I had written into the Readme.txt which ones to add. This added more confusion to the install process.
'Cumulus out of the Box' does not use a webtag file so those users were going to have to process and upload. More confusion.

Adding support for Weather By You and ML, added yet another set of webtags and even more confusion. We are also aware there are other weather templates available and we are considering adding support for those also.

So beteljuice came away from using the template's webtag structure and created our own set that would fit all and be processed the same as 'Cumulus out of the Box' does. This made the script as a 'whole', much tidier and the different script versions far less confusing for Users to install. Remember many of us have more than one weather template live online. Using our own dedicated tags means multi templates can read the same tags file ( CCdate.php), but not if using separate servers.

If you are still using the CUtags Ray made us then you should be all good to use it as I was. The script still supports the use of both CUtags.txt and the cumuluswebtags.txt, as that is how it was written originally, as long as all tags are included in both these files.

NOTE: The downside though Duke is if any changes/modifications are made, they will be made to the CC dedicated tags and not the main script. Hence my advice to all is to install the script as is, to avoid trashing it in the future.

Cheers
Jenny
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
Image

User avatar
beteljuice
Posts: 2510
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: XP SP3 - honest
Location: Dudley, West Midlands, UK

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by beteljuice » Fri 26 Dec 2014 2:51 am

One of the (many) other things re. saratoga:

$MinutesSinceLastRainTip = $WX['MinutesSinceLastRainTip'];

This is not defined in CUtags (unless you have added it yourself), so it would mean running a non-standard template installation.

Also saratoga and leuven templates do NOT use Cumulus apparent temp - They calculate it themselves using a different formula - there are few 'strange' things like that !

Edit: Reference to leuven templates added.
Last edited by beteljuice on Sat 27 Dec 2014 12:34 pm, edited 1 time in total.
Image
......................Imagine, what you will KNOW tomorrow !

User avatar
laulau
Posts: 521
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by laulau » Fri 26 Dec 2014 10:38 am

Hi,
I set up the script for testing.
I noticed some errors in the French translation.
I will wait different conditions before confirming the CC-en.php file.
EDIT : The CC-fr.php :bash: (french)file
Last edited by laulau on Fri 26 Dec 2014 2:46 pm, edited 1 time in total.
Laurent

Image

User avatar
duke
Posts: 840
Joined: Sun 03 Jul 2011 6:23 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 - 64 bit
Location: Eastleigh, Hampshire, UK
Contact:

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by duke » Fri 26 Dec 2014 1:26 pm

Come on out and read this Duke :)
I'm out, thank you for your explanation Jenny.
Duke

Nightingale Weather
Eastleigh, Hampshire, UK
------------------------------------------------------
Validate your pages - often!

User avatar
pernaczy
Posts: 113
Joined: Thu 15 Nov 2012 5:42 pm
Weather Station: Fine Offset WH 2080, TFA Spring
Operating System: XP SP3
Location: Niesiolowice, Northern Poland
Contact:

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by pernaczy » Sat 27 Dec 2014 3:47 pm

JennyLeez wrote:Hi Piotr,

Please could you upload this one and then I will know which one you have.
Hopefully it will fix your Dangerously hot as well :)

Cheers
Jenny,
I did it. Let's hope everything will be OK now. If not I will let you know.
Best Regards,
Piotr
The day when I have learned anything is not the lost one.

Image

User avatar
JennyLeez
Posts: 266
Joined: Wed 16 Dec 2009 2:32 am
Weather Station: La Crosse WS3083
Operating System: Windows XP, Win7 & Win 10
Location: Wairoa, Hawkes Bay. New Zealand.
Contact:

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by JennyLeez » Sun 28 Dec 2014 10:35 am

Support for Leuven Weather Template added.

Zipped files have been added to the first post including the Readme and Language Files.

My half configured Live Leuven demo can be found here. I have added the Current Condition's script top left, under Temperature.

http://wairoaweather.net/weather2/index ... 10&lang=en

Cheers
Jenny
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
Image

User avatar
beteljuice
Posts: 2510
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: XP SP3 - honest
Location: Dudley, West Midlands, UK

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by beteljuice » Wed 14 Jan 2015 1:05 pm

UK users - now is a good time to experiment with admin -> hybrid ;)
Hybrid - As for Prefix BUT rain reporting (If applicable) is removed for the specified amount of time, then returns to Auto
this is useful eg. snow / hail when your bucket reports nothing until a thaw then says you have a monsoon with clear skies
Image
......................Imagine, what you will KNOW tomorrow !

User avatar
PaulMy
Posts: 1713
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis Vantage Pro 2+ w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by PaulMy » Wed 14 Jan 2015 1:21 pm

Thanks for the reminder... Got down to -24.3C yesterday morning and then station reported rain in the afternoon :o Still some more white stuff in the rain bucket!

Paul

kapo
Posts: 247
Joined: Thu 03 Jan 2013 1:59 pm
Weather Station: Davis VP2
Operating System: Windows 10
Location: Vihtavuori, Laukaa, Finland

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by kapo » Tue 27 Jan 2015 1:06 pm

Hi
In Finland, we also have a small moment of daylight time on a daily basis and sometimes even sunny and bright. There is of course also twilight, but not a whole day and every day is twilight.... This is straight copy from today @ 14 afternoon from curcond :"Mostly cloudy Twilight and Very Cold, Light breeze from the South, Temperature Steady, Barometer Falling Slowly. "

regards kapo

Post Reply