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

Web tag error, tag starting: <#daylightlengt

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
sutne
Posts: 577
Joined: Sun 14 Oct 2012 4:23 pm
Weather Station: HP2560 (WS80) and HP2550 (WS90)
Operating System: Raspbian Bullseye and Bookworm
Location: Rjoanddalen and Kronstad, Norway
Contact:

Web tag error, tag starting: <#daylightlengt

Post by sutne »

Today I have not Daylight presented but ***Web tag error, tag starting: <#daylightlengt***.

I cannot find that I made any changes today that should cause this. I have only changed string.ini (I think) and had some restarts. I have put back string.ini from yesterday (when I had Daylight presented) and ran CumulusMX with -debug option.

Anyone having any idea? Have the days been too long up here in the north? (No problem last year, but different version)

Enclosed is the diag-file.
You do not have the required permissions to view the files attached to this post.
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: Web tag error, tag starting: <#daylightlengt

Post by mcrossley »

OK, found the problem. It only occurs on the day when you (way up north folk!) transition to permanent daylight, so there is a dawn, but no dusk (and vice versa in autumn). It should be OK again tomorrow :roll:

I'll look at fixing it...
sutne
Posts: 577
Joined: Sun 14 Oct 2012 4:23 pm
Weather Station: HP2560 (WS80) and HP2550 (WS90)
Operating System: Raspbian Bullseye and Bookworm
Location: Rjoanddalen and Kronstad, Norway
Contact:

Re: Web tag error, tag starting: <#daylightlengt

Post by sutne »

Thank you!
So it happens twice a year? I have just not observed it before?
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: Web tag error, tag starting: <#daylightlengt

Post by mcrossley »

Looking at the existing code, yes it will happen twice a year. The code coped with days where there was never a dawn and dusk, and days where there was a dawn and dusk, not not days like today where there was one but not the other.

I have a fix, and tested it, it will be in the next release.

EDIT: Sun rise/set have the same issue too, again fixed in the next release.
sutne
Posts: 577
Joined: Sun 14 Oct 2012 4:23 pm
Weather Station: HP2560 (WS80) and HP2550 (WS90)
Operating System: Raspbian Bullseye and Bookworm
Location: Rjoanddalen and Kronstad, Norway
Contact:

Re: Web tag error, tag starting: <#daylightlengt

Post by sutne »

Today was back to normal.
Skjermbilde 2020-05-27 kl. 07.44.28.png
You do not have the required permissions to view the files attached to this post.
sutne
Posts: 577
Joined: Sun 14 Oct 2012 4:23 pm
Weather Station: HP2560 (WS80) and HP2550 (WS90)
Operating System: Raspbian Bullseye and Bookworm
Location: Rjoanddalen and Kronstad, Norway
Contact:

Re: Web tag error, tag starting: <#daylightlengt

Post by sutne »

I think there is another one.
Now we only have twilight up here in the north, but Cumulus tells me Dagslys / #daylightlength is 00:00.
I am not sure what it should say. Maybe ----- as the others. In fact it is 24:00.

Skjermbilde 2020-06-16 kl. 15.35.14.png
You do not have the required permissions to view the files attached to this post.
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: Web tag error, tag starting: <#daylightlengt

Post by mcrossley »

Ha! Yes it is 24:00, CMX uses the time formatting "HH:mm" which for 24:00 will display 00:00. I'll have to put a test in for "all day" and specify a manual string... (next release).
sutne
Posts: 577
Joined: Sun 14 Oct 2012 4:23 pm
Weather Station: HP2560 (WS80) and HP2550 (WS90)
Operating System: Raspbian Bullseye and Bookworm
Location: Rjoanddalen and Kronstad, Norway
Contact:

Re: Web tag error, tag starting: <#daylightlengt

Post by sutne »

B3084 solved it:
2887FA9A-31D0-4801-B0EB-3C6A0AEE64D2.jpeg
Thank you!
You do not have the required permissions to view the files attached to this post.
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: Web tag error, tag starting: <#daylightlengt

Post by mcrossley »

:thumbsup:
Post Reply