Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
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
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
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
Sunshine today
Moderator: mcrossley
-
- Posts: 7
- Joined: Sat 06 Aug 2022 7:46 am
- Weather Station: fine offset
- Operating System: Linux mint
Sunshine today
Hello everybody,
For a few days now the display of “ sunshine today ” has only been counting up! Yesterday morning there were already 29.2 hours of sunshine (?)
Since I haven't changed anything, I can't explain it...
Does somebody has any idea? (as yesterday was a sunny day it is now to 35.9 h...)
For a few days now the display of “ sunshine today ” has only been counting up! Yesterday morning there were already 29.2 hours of sunshine (?)
Since I haven't changed anything, I can't explain it...
Does somebody has any idea? (as yesterday was a sunny day it is now to 35.9 h...)
You do not have the required permissions to view the files attached to this post.
-
- Posts: 392
- Joined: Sun 27 Feb 2011 5:13 pm
- Weather Station: Ecowitt HP2551 & GW1100
- Operating System: Raspberry Pi OS
- Location: Kangasala, Finland
Re: Sunshine today
What build/version are you running? I have 3.28.6 build 3283 and today’s sunshine is calculated correctly.
-
- Posts: 2498
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Sunshine today
Could you please zip up your MXdiags log file and attach it to a reply to this topic. The file should cover the end-of-day rollover time.
-
- Posts: 7
- Joined: Sat 06 Aug 2022 7:46 am
- Weather Station: fine offset
- Operating System: Linux mint
Re: Sunshine today
Hello Freddie,
I have a lot of Files in that folder... Wich one(s) are the correct ones?
I have a lot of Files in that folder... Wich one(s) are the correct ones?
You do not have the required permissions to view the files attached to this post.
-
- Posts: 2498
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Sunshine today
Zip up the whole folder and attach it to a reply. It looks as if you are restarting MX hourly. MX is designed to run continuously.
-
- Posts: 7
- Joined: Sat 06 Aug 2022 7:46 am
- Weather Station: fine offset
- Operating System: Linux mint
Re: Sunshine today
Hello Freddie,
too big to attach (71.8MB)...
You can download here: https://www.solat.ro/MXdiags.zip
Where is the hourly restart defined, - so I can check (?) *
thx, Olli
*Found it: was an error in the crontab:
I added: instead of to reboot at midnight...
...just thought about it: the rollover is at midnight... could this be the problem?
To be sure I changed the cron now to, to restart 30 mins later...
too big to attach (71.8MB)...
You can download here: https://www.solat.ro/MXdiags.zip
Where is the hourly restart defined, - so I can check (?) *
thx, Olli
*Found it: was an error in the crontab:
I added:
Code: Select all
0 * * * * /sbin/shutdown -r now
Code: Select all
0 0 * * * /sbin/shutdown -r now
...just thought about it: the rollover is at midnight... could this be the problem?
To be sure I changed the cron now to
Code: Select all
30 0 * * * /sbin/shutdown -r now
- mcrossley
- Posts: 12889
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Sunshine today
midnight is the worst possible time to reboot if you are using a midnight rollover, which is when Cumulus is doing its end of day processing which will mess up all sorts of things, including daily sunshine.
- mcrossley
- Posts: 12889
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Sunshine today
Do you really need a daily reboot anyway? I often leave my Linux running for months between reboots.
- mcrossley
- Posts: 12889
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Sunshine today
Also, make the reboot at a time when a log entry isn't being created, so 00:32 say.
-
- Posts: 7
- Joined: Sat 06 Aug 2022 7:46 am
- Weather Station: fine offset
- Operating System: Linux mint
Re: Sunshine today
I just deleted the entry in crontab... I did this because the PI "froze " once in a while and the reboot resolved it, until the powersupply died... Finally this was the issue...
Maybe this is also the issue for the wrong sunhours (?)
- mcrossley
- Posts: 12889
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Sunshine today
As I said above all sorts of data will be incorrect because the overnight rollover processing has been interrupted. Your rainfall will be wrong for example. The sunshine hours is the least of the problems.
Example:
Example:
Code: Select all
2024-05-03 08:01:22.184 DoRain: A reading arrived at the start of a new day, but before we have done the roll-over. Ignoring it
-
- Posts: 7
- Joined: Sat 06 Aug 2022 7:46 am
- Weather Station: fine offset
- Operating System: Linux mint
Re: Sunshine today
This did the thing!
After deleting the cron, it works fine now!
Thank you all
After deleting the cron, it works fine now!
Thank you all