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

Temp time tangle

Please discuss beta versions of Cumulus 1 here. Note: There are currently no beta versions of Cumulus 1.
Locked
User avatar
Ned
Posts: 258
Joined: Mon 19 Jul 2010 11:15 am
Weather Station: WS2083 (aspirated)
Operating System: Win 10
Location: Auckland NZ

Temp time tangle

Post by Ned »

My system is showing yesterday's data with the times of maximum and minimum temperature swapped.
User avatar
krmidas
Posts: 215
Joined: Sat 03 Jul 2010 9:03 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 10
Location: Lake Zurich, IL; USA
Contact:

Re: Temp time tangle

Post by krmidas »

I don't have a solution, but I would have named your topic "Temp Time Transposed".
Tom Keramidas, Lake Zurich, IL, USA
Image
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: Temp time tangle

Post by beteljuice »

Do you mean Cumulus console or webpages or both ?

Looking @ your website, "today" looks reasonable, but "yesterday" times do look to be reversed.
Image
......................Imagine, what you will KNOW tomorrow !
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: Temp time tangle

Post by steve »

I have no idea how that's happened; I've just checked all of the relevant code in Cumulus and it looks OK, and it seems to be OK for me. The web tag code just copies the value from the main Cumulus screen, so I assume that's the same? If not, does your web page use the correct tags - but I assume you've checked that already?
Steve
User avatar
Ned
Posts: 258
Joined: Mon 19 Jul 2010 11:15 am
Weather Station: WS2083 (aspirated)
Operating System: Win 10
Location: Auckland NZ

Re: Temp time tangle

Post by Ned »

steve wrote:I have no idea how that's happened; I've just checked all of the relevant code in Cumulus and it looks OK, and it seems to be OK for me. The web tag code just copies the value from the main Cumulus screen, so I assume that's the same? If not, does your web page use the correct tags - but I assume you've checked that already?
Yes, my website and the cumulus screen show the same data. I've attached screenshots from the previous day, will check again tomorrow. Cheers.
You do not have the required permissions to view the files attached to this post.
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: Temp time tangle

Post by steve »

That narrows it down a bit. Do you run Cumulus 24/7 or stop it sometimes? I've just thought of a bit of code I didn't look at...
Steve
User avatar
Ned
Posts: 258
Joined: Mon 19 Jul 2010 11:15 am
Weather Station: WS2083 (aspirated)
Operating System: Win 10
Location: Auckland NZ

Re: Temp time tangle

Post by Ned »

Steve, I stop it overnight
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: Temp time tangle

Post by steve »

I've looked at all of the code now, and I can't see any way that the times would get transposed; if it were as simple as that it would be affecting everyone. So I don't think your times are actually transposed, I think it's something to do with what happens when you start and stop Cumulus, and the when the midnight rollover takes place.

After you've stopped Cumulus tonight, please take a copy of today.ini and yesterday.ini. Then, after you've started Cumulus tomorrow, assuming you see the problem again, zip up the diags folder, the current today.ini and yesterday.ini, and the copies that you take tonight, and attach it all here.
Steve
User avatar
Ned
Posts: 258
Joined: Mon 19 Jul 2010 11:15 am
Weather Station: WS2083 (aspirated)
Operating System: Win 10
Location: Auckland NZ

Re: Temp time tangle

Post by Ned »

Thanks, will do. Only an hour left until tomorrow ;)
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: Temp time tangle

Post by steve »

It's OK, I've found the bug. It's code that I've changed in 1.9.2. It's actually the writing of today.ini that has the bug, I've swapped the low and high times when I write them to the file. So, unless the high and/or low gets exceeded before midnight, that error gets copied over to yesterday.ini; and also, unfortunately, into dayfile.txt.
Steve
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: Temp time tangle

Post by steve »

Fixed in build 992.
Steve
User avatar
Ned
Posts: 258
Joined: Mon 19 Jul 2010 11:15 am
Weather Station: WS2083 (aspirated)
Operating System: Win 10
Location: Auckland NZ

Re: Temp time tangle

Post by Ned »

Ahh, thanks!
Locked