Page 3 of 7

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Posted: Wed 24 Dec 2014 2:59 am
by PaulMy
Oops, I see what you mean. Will have to forego the Christmas colour...

Paul

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Posted: Wed 24 Dec 2014 7:19 pm
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

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Posted: Wed 24 Dec 2014 9:26 pm
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

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Posted: Thu 25 Dec 2014 4:34 pm
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'];
############################################################################

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Posted: Thu 25 Dec 2014 5:17 pm
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.

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Posted: Thu 25 Dec 2014 7:36 pm
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.....

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Posted: Thu 25 Dec 2014 9:48 pm
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

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Posted: Fri 26 Dec 2014 2:51 am
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.

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Posted: Fri 26 Dec 2014 10:38 am
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

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Posted: Fri 26 Dec 2014 1:26 pm
by duke
Come on out and read this Duke :)
I'm out, thank you for your explanation Jenny.

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Posted: Sat 27 Dec 2014 3:47 pm
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

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Posted: Sun 28 Dec 2014 10:35 am
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

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Posted: Wed 14 Jan 2015 1:05 pm
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

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Posted: Wed 14 Jan 2015 1:21 pm
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

Re: Cumulus ‘Current Conditions’ Alternative v3.0

Posted: Tue 27 Jan 2015 1:06 pm
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