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 4017) - 17 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

today's rain: how to correct?

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
vr34
Posts: 32
Joined: Wed 13 Jan 2010 12:43 pm
Weather Station: Bresser WLAN 7-in-1 (7003300)
Operating System: Raspberry OS Bullseye, CumulusMX
Location: South of France

today's rain: how to correct?

Post by vr34 »

Hi,
The USB of my fine offset WS3083 often locks up, around once a week.
I made a Python utility (periodicaly runs by CumulusMX) that detects any constant outside temperature value during one hour and reboot the Raspberry that runs CumulusMX if necessary. Fortunately, the reboot also switches off/on the WS console, which unlocks the USB transfer.
But after the reboot, the today's rain is often out of sens. Thus, my utility sends to my email the last today's rain before reboot and I correct the figure in the today's rain editor of the 127.0.0.1:8998 web interface.

I would like it to be automaticaly corrected by python.
Is it possible to change the data from outside the web interface ?

Regards,
vr34, http://les.matelles.free.fr/meteo/
vr34
Posts: 32
Joined: Wed 13 Jan 2010 12:43 pm
Weather Station: Bresser WLAN 7-in-1 (7003300)
Operating System: Raspberry OS Bullseye, CumulusMX
Location: South of France

Re: today's rain: how to correct?

Post by vr34 »

no possibility ?
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: today's rain: how to correct?

Post by steve »

You can't change it externally while Cumulus is running. And I don't know how you would work out what to change it to before Cumulus has run. The information is held in today.ini, so that's easy to change - the description of the file and how the rainfall counters work is in the wiki. Knowing what to change it to before Cumulus runs is the hard part.
Steve
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: today's rain: how to correct?

Post by steve »

Actually, perhaps you could change it while Cumulus is running - if you could get your script to do the calls on the MX user interface which are invoked by the rain editor facility. If you want to try, you could look at the data exchange between the browser and MX using the developer console in the browser.
Steve
vr34
Posts: 32
Joined: Wed 13 Jan 2010 12:43 pm
Weather Station: Bresser WLAN 7-in-1 (7003300)
Operating System: Raspberry OS Bullseye, CumulusMX
Location: South of France

Re: today's rain: how to correct?

Post by vr34 »

Thank you steve.
I will make a script that changes today.ini at boot before starting CumulusMX.
Locked