Page 1 of 1

Sun- and cloud gauge

Posted: Sat 15 Feb 2020 11:05 am
by nowind
What is that red area? Here it is between 200 and 380.
sundial.jpg
My sundial lack the orange area (between 170-180) which you can see here on Marks' dial. What is that?
sundial1.jpg


And finally, I've tried several styles, but I can't find this style:

cloud.jpg
Appreciate any answer! :)

Re: Sun- and cloud gauge

Posted: Sun 16 Feb 2020 5:46 pm
by mcrossley
nowind wrote: Sat 15 Feb 2020 11:05 am What is that red area? Here it is between 200 and 380.
That is values over the current theoretical value
nowind wrote: Sat 15 Feb 2020 11:05 am My sundial lack the orange area (between 170-180) which you can see here on Marks' dial. What is that?
No idea! I only use the two areas, they must have overlapped for some reason (incorrect code/values somewhere)
nowind wrote: Sat 15 Feb 2020 11:05 am And finally, I've tried several styles, but I can't find this style:
It isn't included in the cut-down version I gauges.js I included in the weather gauges. We will need to use the full version of the steelseries gauges.js from github to get that gauge.

Re: Sun- and cloud gauge

Posted: Tue 18 Feb 2020 8:34 pm
by nowind
Thank you, Mark!
That is values over the current theoretical value
I'm curious what they represent? My red area goes from 0 to 180, and yours from 0-200. Why is that?

Re: Sun- and cloud gauge

Posted: Tue 18 Feb 2020 11:31 pm
by mcrossley
It just shades an area above the current calculated maximum value for irradiation, it indicates when you sensor is "over-reading" which it may well do if there are clouds around.

Re: Sun- and cloud gauge

Posted: Wed 19 Feb 2020 12:46 pm
by mcrossley
I had another look at the sun gauge code...

The Orange section starts at current calculated max value, and ends 10% above that.

Re: Sun- and cloud gauge

Posted: Wed 19 Feb 2020 5:13 pm
by nowind
Ok, thank you! :D

Re: Sun- and cloud gauge

Posted: Wed 19 Feb 2020 7:45 pm
by Phil23
mcrossley wrote: Sun 16 Feb 2020 5:46 pm It isn't included in the cut-down version I gauges.js I included in the weather gauges. We will need to use the full version of the steelseries gauges.js from github to get that gauge.
Just to clarify versions?

I notice your page has a version 2.5.9++, not the current?? 2.7.3 which is the most recent mentioned on the board.

Does 2.7.3 contain all that's changed in your version or is it a one off.

Cheers.

Re: Sun- and cloud gauge

Posted: Wed 19 Feb 2020 8:15 pm
by mcrossley
My copy is a hacked about one off!