Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Cumulus ‘Current Conditions’ Alternative v3.0

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

Moderator: daj

User avatar
PaulMy
Posts: 3777
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by PaulMy »

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

Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

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

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by pernaczy »

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 something is not the lost one.
Ignorance can be corrected with the help of a book. Stupidity requires a shotgun and a shovel.

Image
User avatar
JennyLeez
Posts: 314
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 »

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
duke

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by duke »

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'];
############################################################################
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by beteljuice »

'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 !
duke

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by duke »

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.....
User avatar
JennyLeez
Posts: 314
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 »

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: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by beteljuice »

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: 678
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 »

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
duke

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by duke »

Come on out and read this Duke :)
I'm out, thank you for your explanation Jenny.
User avatar
pernaczy
Posts: 133
Joined: Thu 15 Nov 2012 5:42 pm
Weather Station: Fine Offset WH 2080, TFA Spring
Operating System: Windows 7
Location: Niesiolowice, Northern Poland
Contact:

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by pernaczy »

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 something is not the lost one.
Ignorance can be corrected with the help of a book. Stupidity requires a shotgun and a shovel.

Image
User avatar
JennyLeez
Posts: 314
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 »

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: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by beteljuice »

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: 3777
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Post by PaulMy »

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
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
kapo
Posts: 246
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 »

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