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/
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
today's rain: how to correct?
Moderator: mcrossley
-
- 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?
no possibility ?
- steve
- Cumulus Author
- Posts: 26701
- 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?
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
- steve
- Cumulus Author
- Posts: 26701
- 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?
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
-
- 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?
Thank you steve.
I will make a script that changes today.ini at boot before starting CumulusMX.
I will make a script that changes today.ini at boot before starting CumulusMX.