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

looking for idea?

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

Moderator: daj

Post Reply
n9mfk
Posts: 845
Joined: Sun 10 May 2009 8:52 pm
Weather Station: davis vp2 Serial datalogger
Operating System: Windows 7 64-bit
Location: Springfield, IL

looking for idea?

Post by n9mfk »

Hi All,
Im looking for ideas
i known <#IsSunny> only woks if you have a solar sensor on your weather
is the some other tag that can be used to tell if the sun is up with out a solar sensor?
Beau
captzero
Posts: 363
Joined: Wed 03 Mar 2010 10:20 am
Weather Station: Vantage Pro2 w/ daytime FARS
Operating System: Windows 10
Location: Brisbane, Australia
Contact:

Re: looking for idea?

Post by captzero »

Will <#isdaylight> work for you? - A flag to indicate if the location for the station is in daylight or not, based on the dawn and dusk times. Possible values are 0 or 1, where 1 notes that it is currently within the hours of daylight.
Dan

http://www.brisbaneliveweather.com




A man with a thermometer always knows the temperature. A man with two thermometers, not so sure.
n9mfk
Posts: 845
Joined: Sun 10 May 2009 8:52 pm
Weather Station: davis vp2 Serial datalogger
Operating System: Windows 7 64-bit
Location: Springfield, IL

Re: looking for idea?

Post by n9mfk »

I was thinking that or <#CurrentSolarMax> if i can come up with a range
Beau
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: looking for idea?

Post by mcrossley »

n9mfk wrote:I was thinking ... <#CurrentSolarMax> if i can come up with a range
Beau
Talk about doing it the hard way! :lol:
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: looking for idea?

Post by steve »

<#IsSunny> isn't any use for telling you whether the sun is up anyway; it might be overcast. <#isdaylight> is the closest, but I guess a new tag is really needed - <#IsSunUp>. In the absence of that tag, you would need to compare the current time with <#sunrise> and <#sunset>. But testing for <#CurrentSolarMax> being non-zero would actually give you a reasonable approximation. It would be zero for a few minutes after sunrise and a few minutes before sunset, though.
Steve
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: looking for idea?

Post by mcrossley »

Ahh, so <#isdaylight> includes (civil presumably) twilight, I'd forgotten that. Of course as an astronomer I'd base it on astronomical twilight which means that it would always = 1 during mid-summer in the UK. :lol:
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: looking for idea?

Post by steve »

mcrossley wrote:Ahh, so <#isdaylight> includes (civil presumably) twilight
Yes, that's right.

I'm going to release a new build soon with a few fixes, I'll add the <#IsSunUp> tag as it's very easy to do.
Steve
n9mfk
Posts: 845
Joined: Sun 10 May 2009 8:52 pm
Weather Station: davis vp2 Serial datalogger
Operating System: Windows 7 64-bit
Location: Springfield, IL

Re: looking for idea?

Post by n9mfk »

Hi all,
sound good Steve all wait for next build
Beau
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: looking for idea?

Post by beteljuice »

I suppose the time difference between <#isdaylight> and <#IsSunUp> could be significant for anyone living in eg. Orkney and T'North 8-)
Image
......................Imagine, what you will KNOW tomorrow !
Post Reply