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 4019) - 03 April 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

CumulusUtils UserReports <webtags> for Ecowitt GW2000/GW1000

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

User avatar
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusUtils UserReports <webtags> for Ecowitt GW2000/GW1000

Post by mcrossley »

Yes, but was the sun out when you checked the web tag?
User avatar
HansR
Posts: 5969
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: CumulusUtils UserReports <webtags> for Ecowitt GW2000/GW1000

Post by HansR »

Make a custom log with isSunny and sunshinehours and see what it does.
There should be some sync between the two.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
PaulMy
Posts: 3852
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: CumulusUtils UserReports <webtags> for Ecowitt GW2000/GW1000

Post by PaulMy »

Code: Select all

Make a custom log with isSunny and sunshinehours and see what it does.
Make a custom log with IsSunny and sunshinehours and see what it does. ;)

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
HansR
Posts: 5969
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: CumulusUtils UserReports <webtags> for Ecowitt GW2000/GW1000

Post by HansR »

PaulMy wrote: Tue 27 Feb 2024 3:09 pm

Code: Select all

Make a custom log with isSunny and sunshinehours and see what it does.
Make a custom log with IsSunny and sunshinehours and see what it does. ;)
:lol: I knew I had read the idea somewhere
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusUtils UserReports <webtags> for Ecowitt GW2000/GW1000

Post by mcrossley »

Perhaps a better tag name would be #IsSunnyNow ?
User avatar
HansR
Posts: 5969
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: CumulusUtils UserReports <webtags> for Ecowitt GW2000/GW1000

Post by HansR »

mcrossley wrote: Tue 27 Feb 2024 3:18 pm Perhaps a better tag name would be #IsSunnyNow ?
That might remove some ambiguity I think, yes. But then users will probably start asking the value in extreme hugh frequency to measure the accuracy of the sunshine hours ;)
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusUtils UserReports <webtags> for Ecowitt GW2000/GW1000

Post by mcrossley »

It only updates at the same rate as the sunshine hours, every time a solar value is received from the station - so around a minute for most stations.
User avatar
PaulMy
Posts: 3852
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: CumulusUtils UserReports <webtags> for Ecowitt GW2000/GW1000

Post by PaulMy »

Code: Select all

It only updates at the same rate as the sunshine hours, every time a solar value is received from the station - so around a minute for most stations.
When we were testing the B-L Sunrecorder with Cumulus Steve indicated it was 1-minute update and the B-L then created a file with the B-L data every 1-minute for Cumulus to access.

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusUtils UserReports <webtags> for Ecowitt GW2000/GW1000

Post by mcrossley »

I think you're right Paul the hours updates once a minute when live running, but I think IsSunny updates with each reading received, which is also around 1 minute for most stations iirc. (On my phone atm)
User avatar
lse-cumulus
Posts: 47
Joined: Mon 11 Jul 2022 3:39 am
Weather Station: Fine Offset Ecowitt
Operating System: Windows 11
Location: Austria
Contact:

Re: CumulusUtils UserReports <webtags> for Ecowitt GW2000/GW1000

Post by lse-cumulus »

Thx Mark and David
you gave me two important hints:
  1. Captialization #IsSunny: this is the case; I checked my html code
  • CumulusMX Station Settings - Solar: I forgot about these settings and did not know about the influence on the #IsSunny tag; I will check in detail, but I am pretty sure that I am using default values (cala method = Ryan-STolzenbach, Sun-Treshhold=75%, solar Minimum 30 W/m2
In the last days since testing with the #IsSunny webtag we never reached 1 full hour of #SunshineHours, only a fraction.
Usually I run the webtag processing only hourly but I tested also manully when the sun was really shining outside and UV index was > 1.

Today my html code snapshot produced the following output and to me it does not look logical that #IsSunny was 0 compared to the other solar tags <> 0.

Code: Select all

 <tr bgcolor="#ffffff">
   	<td>Sun Is Up (Over Horizon From Sunrise to Sunset)</td>
    	<td><img src="./CUicons/light_on<#IsSunUp>.png" ></td></tr>
   <tr bgcolor="#F0FFFF">
    	<td>(Civic) Daylight (From Dawn Till Dust)</td>
    	<td><img src="./CUicons/light_on<#isdaylight>.png"></td></tr>
   <tr bgcolor="#ffffff">
	<td>Currently Sun Is Shining [n/a Ecowitt?]</td>
    	<td><img src="./CUicons/light_on<#IsSunny>.png"></td></tr>
   <tr bgcolor="#F0FFFF">
    	<td>Current / Max / (Theoretical) Maximum Solar Radiation Today </td>
    	<td><#SolarRad> / <#solarTH> / <#CurrentSolarMax> [w/m<sup>2</sup>]</td></tr>
   <tr bgcolor="#ffffff">    
 	<td>Sunshine Hours / Light Today  </td>
    	<td><#SunshineHours> [hours] / <#Light>  [Lux]</td></tr>
   <tr bgcolor="#F0FFFF">
       	<td>Current / Max UV Index Today </td>
    	<td><#UV> / <#UVTH></td></tr>
Image
You do not have the required permissions to view the files attached to this post.
Leo

Ecowitt GW2000/WS90/Wittboy/GW1000/WS2910/WH65/WH31/WH34S/WH41/WH45/WH51/WH57/HP10/WN35
AWEKAS/CWOP/PWS/Weathercloud/Windy/WOW/WU/WxSim/CMX/CU
http://leonas.ddns.net/Wetterstation.Su ... CumulusMX/

Image
User avatar
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusUtils UserReports <webtags> for Ecowitt GW2000/GW1000

Post by mcrossley »

Current solar is 39 and theoretical is 124, so is 31% of theoretical. Nowhere near your threshold of 75%, so #IsSunny is correctly false/0.
User avatar
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusUtils UserReports <webtags> for Ecowitt GW2000/GW1000

Post by mcrossley »

The tag works, you can see it on my web site home page as the field "Sun shining?" And the background of the recent graph at the bottom of the page which is yellow where the sun was shining. Only 0.03 hours sunshine today, so you have to look for it on the graph!

https://weather.wilmslowastro.com/index.php
User avatar
lse-cumulus
Posts: 47
Joined: Mon 11 Jul 2022 3:39 am
Weather Station: Fine Offset Ecowitt
Operating System: Windows 11
Location: Austria
Contact:

Re: CumulusMX webtag <#IsSunny> RESOLVED

Post by lse-cumulus »

Mark,
you convinced me. With your explanation I now understand how #IsSunny is calculated by CumulusMX based on the Station Settings - Solar, and why in my environment in the last days #IsSunny has been always 0.
I have to wait for sunnier days and think about adjusting my CumulusMX solar settings for my Ecowitt solar sensor condition/environment.
thx for your support
Leo

Ecowitt GW2000/WS90/Wittboy/GW1000/WS2910/WH65/WH31/WH34S/WH41/WH45/WH51/WH57/HP10/WN35
AWEKAS/CWOP/PWS/Weathercloud/Windy/WOW/WU/WxSim/CMX/CU
http://leonas.ddns.net/Wetterstation.Su ... CumulusMX/

Image
User avatar
PaulMy
Posts: 3852
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: CumulusUtils UserReports <webtags> for Ecowitt GW2000/GW1000

Post by PaulMy »

My observations - I am watching 2 monitors for 2 CU and we currently have partly sunny sky:
One is CU1 and can see the Sun button periodically change from grey to yellow and back, and Sunshine hours is recorded in monthly log at logging interval.
Looking out the window I'd say during the time that the CU1 Sun light is yellow there may be more blue sky. But looking out the window is only seeing one direction, and the solar sensor is seeing more sky. I haven't yet been able to determine if the CU1 Sun yellow light stays on or off for a minimum time period (i.e. 1-minute) even when the sky changes quicker.

A second is CMX and looking at the Dashboard [Now} Sunshine Today: I can see the hours increase in parallel to the CU1 Sun yellow button.
My CU1 and CMX solar settings are the default.

It appears that the sunshine hours is recorded at 6-minute interval (1/10th of an hour)
CMX Dashboard [Now] Sunshine Today: increases 0.1 every 6 minutes if CU1 Sun button is yellow.

My CMX logging is at 5-minute interval and <#IsSunny> 0 or 1 seems like logged at the status at the interval.

I miss my B-L Sunrecorder!

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
lse-cumulus
Posts: 47
Joined: Mon 11 Jul 2022 3:39 am
Weather Station: Fine Offset Ecowitt
Operating System: Windows 11
Location: Austria
Contact:

Re: CumulusMX webtag <#IsSunny> calculation explained

Post by lse-cumulus »

the explanation from mark also fits to my solar graph of today
  • in the morning radation was higher than theoretical max but below treshhold of 30 W/m2
  • then there was small window when #IsSunny would have shown 1, but my webpage update is only hourly
  • the rest of the day current solar never reached the 75% of theoretical maximum
You do not have the required permissions to view the files attached to this post.
Leo

Ecowitt GW2000/WS90/Wittboy/GW1000/WS2910/WH65/WH31/WH34S/WH41/WH45/WH51/WH57/HP10/WN35
AWEKAS/CWOP/PWS/Weathercloud/Windy/WOW/WU/WxSim/CMX/CU
http://leonas.ddns.net/Wetterstation.Su ... CumulusMX/

Image
Post Reply