Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

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

Legacy Cumulus 1 release 1.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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

#<isSunny>

Discussion specific to Fine Offset and similar rebadged weather stations
Post Reply
JR1234
Posts: 5
Joined: Sat 14 Jul 2012 9:45 am
Weather Station: WH3080
Operating System: Windows7
Location: Amberg

#<isSunny>

Post by JR1234 »

I wonder, why this

<script>type="text/javascript">
sun = '<#isSunny>';
if (sun == '0') {sun = '<img src="images/sonne0.gif" width="80" align="center" border="0" height="85" hspace="10">';}
else {sun = '<img src="images/sonne1.gif" width="80" align="center" border="0" height="85" hspace="10">'};
document.write(sun);
</script>

doesn't work on my homepage. I'm using a wh3080 weather station. It's only sonne1.gif displayed, if the sun is shining or not. :( .

I would appreciate any help.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: #<isSunny>

Post by steve »

Does your station have a solar sensor? Is this just a web site issue, or does Cumulus also show that it's sunny (the yellow LED)? Have you adjusted the solar settings (threshold etc) in Cumulus so that the calculation for whether it's sunny or not gives reasonable results? Can you give a link to your web site, please?
Steve
JR1234
Posts: 5
Joined: Sat 14 Jul 2012 9:45 am
Weather Station: WH3080
Operating System: Windows7
Location: Amberg

Re: #<isSunny>

Post by JR1234 »

steve wrote:Does your station have a solar sensor? Is this just a web site issue, or does Cumulus also show that it's sunny (the yellow LED)? Have you adjusted the solar settings (threshold etc) in Cumulus so that the calculation for whether it's sunny or not gives reasonable results? Can you give a link to your web site, please?
It's only a website issue, Cumulus works fine with the sun LED. Well my webpage is at http://www.myway.de/roemer
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: #<isSunny>

Post by steve »

Looks like a problem with your web tag:

On your page:
sun = '';

sun = '<#isSunny>';

The correct tag is <#IsSunny>
Steve
JR1234
Posts: 5
Joined: Sat 14 Jul 2012 9:45 am
Weather Station: WH3080
Operating System: Windows7
Location: Amberg

Re: #<isSunny>

Post by JR1234 »

steve wrote:Looks like a problem with your web tag:

On your page:
sun = '';

sun = '';

The correct tag is
Thanks steve,
I changed <#isSunny> to <#IsSunny>, but the sun is still shining (evenin the deepest night :) )
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: #<isSunny>

Post by steve »

Looks OK to me:

sun = '0';
2012-10-01 22_11_15-JR Amberg Wetter.png
You do not have the required permissions to view the files attached to this post.
Steve
Spider-Vice
Posts: 207
Joined: Sat 24 Sep 2011 2:46 pm
Weather Station: Davis Vantage Vue
Operating System: Raspbian

Re: #<isSunny>

Post by Spider-Vice »

Also working here. Try Ctrl+F5 for a hard refresh.
JR1234
Posts: 5
Joined: Sat 14 Jul 2012 9:45 am
Weather Station: WH3080
Operating System: Windows7
Location: Amberg

Re: #<isSunny>

Post by JR1234 »

Spider-Vice wrote:Also working here. Try Ctrl+F5 for a hard refresh.
Yes, thank you. It's working fine here too. Must have loaded a cached page.
Post Reply