Good evening,
I am writing about a problem that has occurred a couple of times, the last of which just yesterday.
I use an Oregon WMR88 with an Arduino RF receiver. CumulusMX installed on raspberry and the weather station is configured as "EasyWeather" so the data is provided through a ".dat" file. The problem I encounter is that at the stroke of midnight the dayfile.txt file is not updated and therefore remains behind by a day. Consequently, the today.ini file also remains with the date from the previous day. I solved it manually by stopping CumulusMX and using the "CreateMissing" tool to insert the missing line on the dayfile.txt and deleting the today.ini which is then created correctly when CumulusMX is restarted.
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 4018) - 28 March 2024
Legacy Cumulus 1 release v1.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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024
Legacy Cumulus 1 release v1.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
Dayfile.txt not update at midnight
Moderator: mcrossley
-
- Posts: 9
- Joined: Sat 22 Dec 2012 11:20 am
- Weather Station: Oregon Wmr88
- Operating System: Win7
- Location: Roma
- mcrossley
- Posts: 12695
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Dayfile.txt not update at midnight
Please zip up and post your MXdiags folder.
-
- Posts: 9
- Joined: Sat 22 Dec 2012 11:20 am
- Weather Station: Oregon Wmr88
- Operating System: Win7
- Location: Roma
Re: Dayfile.txt not update at midnight
Thanks in advance Mark for your quick reply.
Attached is the compressed MXdiags folder. As a further indication, I can tell you that in the log I noticed there is no "Day reset" when the reported problem occurs despite the date being correctly detected in the rest of the log.
Greetings
Attached is the compressed MXdiags folder. As a further indication, I can tell you that in the log I noticed there is no "Day reset" when the reported problem occurs despite the date being correctly detected in the rest of the log.
Greetings
You do not have the required permissions to view the files attached to this post.
- mcrossley
- Posts: 12695
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Dayfile.txt not update at midnight
You are getting lots of "data stopped" errors, if MX is not receiving data from the station it does not perform the rollover.
As an side, you have lots of errors in your tag files that MX is not processing because they are badly formed...
monthlyrecordT.php
alertshow.js
As an side, you have lots of errors in your tag files that MX is not processing because they are badly formed...
monthlyrecordT.php
alertshow.js
-
- Posts: 9
- Joined: Sat 22 Dec 2012 11:20 am
- Weather Station: Oregon Wmr88
- Operating System: Win7
- Location: Roma
Re: Dayfile.txt not update at midnight
Mark,
I think the "data stopped" are actually due to Cumulus expecting data every minute while in my case they are transmitted through the easyweather.dat file every two minutes.
However, looking carefully at the log, I noticed that sometimes the generated easyweather.dat file contained incorrect data ("NaN"). When this erroneous data arrived near midnight, the Cumulus log rightly detected an error in the data string and discarded the reading. In this error situation, as you indicated, the rollover was not performed.
So I proceeded to manage any incorrect data in my arduino-raspberry software that picks up the signals from the weather station so that an incorrect string no longer arrives at CumulusMX. I'll let you know if this was really the problem.
I am also correcting the html files affected by errors as reported by you.
Thanks for your valuable contribution.
I think the "data stopped" are actually due to Cumulus expecting data every minute while in my case they are transmitted through the easyweather.dat file every two minutes.
However, looking carefully at the log, I noticed that sometimes the generated easyweather.dat file contained incorrect data ("NaN"). When this erroneous data arrived near midnight, the Cumulus log rightly detected an error in the data string and discarded the reading. In this error situation, as you indicated, the rollover was not performed.
So I proceeded to manage any incorrect data in my arduino-raspberry software that picks up the signals from the weather station so that an incorrect string no longer arrives at CumulusMX. I'll let you know if this was really the problem.
I am also correcting the html files affected by errors as reported by you.
Thanks for your valuable contribution.
- mcrossley
- Posts: 12695
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Dayfile.txt not update at midnight
OK, CMX does expect he data to be refreshed at least once a minute. If you are using the EasyWeather file method, then could you update the file say every 30 seconds just changing the date/time even if the data does not change?
-
- Posts: 9
- Joined: Sat 22 Dec 2012 11:20 am
- Weather Station: Oregon Wmr88
- Operating System: Win7
- Location: Roma
Re: Dayfile.txt not update at midnight
Mark
that's just what I thought I'd do.
However, before proceeding, I tried to set the "File Read Interval" to 1 minute in the cumulus configuration (EasyWeather File Setting section) even if the data from the station is updated every 2 minutes. I must tell you that it worked because, while updating the data file every 2 minutes, I see that no anomaly is detected even if the data remains the same between two consecutive readings at 1 minute intervals (including identical date and time). I enclose the last log of the MXDiags folder as a demonstration.
that's just what I thought I'd do.
However, before proceeding, I tried to set the "File Read Interval" to 1 minute in the cumulus configuration (EasyWeather File Setting section) even if the data from the station is updated every 2 minutes. I must tell you that it worked because, while updating the data file every 2 minutes, I see that no anomaly is detected even if the data remains the same between two consecutive readings at 1 minute intervals (including identical date and time). I enclose the last log of the MXDiags folder as a demonstration.
You do not have the required permissions to view the files attached to this post.