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

Rain using easyweather.dat file

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
watsonm
Posts: 209
Joined: Sun 03 Jan 2016 3:39 pm
Weather Station: N96GY -but like Triggers Broom!!
Operating System: Raspberry Pi4 Vers:11 Bullseye
Location: Poundbury, Dorset

Rain using easyweather.dat file

Post by watsonm »

I seem to be having some issues with CumulusMX rain display when using an easyweather.dat file as input..

( Note: this is on a different Raspberry pi that is providing the data for the banner below!!)

From another post by Steve I know that....
"Today's rain is calculated from the difference between the rain counter at start of day (which Cumulus records as Start= value in today.ini) and the
current value (which you can find from the latest entry in nov09log.txt)"

The last line of my Feb22log,txt file is:
13/02/22,12:00,8.0,100,8.0,0.00,0.00,0,0.00,1.50,998,5.10,20.3,0,0.00,8.0,8.0,0.0,0,0.000,0.000,0.0,383,0.0,30,0.00,0.00,0.0,0.0

And the Start value in Today.ini is : 3.5999999...

This is giving a display of 1.50 mm for today which is correct (since I put 5.1 there!)

However this last line doesn't seem to be updated by the data in the easyweather.dat file which has the following line

0,0,0,2022-02-13 12:10:19,0,0,20.52,95,9.1,0,0,0,984.77,0.0,0,0.0,0,2,NE,,,,10.5,,,,,,,,,,

Also the startup log shows this:

2022-02-13 12:14:41.624 Midnight rain found, setting midnight rain count = 3.6
2022-02-13 12:14:41.625 Checking rain counter = 5.1
2022-02-13 12:14:41.625 Rain counter set to = 5.1

Where is this rain counter as I changed the last line of the Feb22Log.txt file before this restart to show rain today as 6.1?

I am using the table in viewtopic.php?f=4&t=4344 to populate the red entries in the easyweather.dat file and other readings are successfully getting through. Has it been update since then or am I missing something ?

Thanks for any help...
Regards Mike
Image
Raspberry Pi 4 Bullseye
Directly connected : BMP388 pressure sensor. DHT22 For internal Humidity/temp Sensor. PMS5003 Particle Sensor
Wireless connected: 3 (WS2083)Temp TXr's, WH57 Lightning Sensor, FO Solar sensor
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Rain using easyweather.dat file

Post by mcrossley »

Cumulus reads two fields for the rain.
Zero relative...
23 = Rain in the last hour, which is used as the current rainfall rate. This is what you are setting.
27 = Rain this year, which is used as the counter to calculate the rainfall totals
watsonm
Posts: 209
Joined: Sun 03 Jan 2016 3:39 pm
Weather Station: N96GY -but like Triggers Broom!!
Operating System: Raspberry Pi4 Vers:11 Bullseye
Location: Poundbury, Dorset

Re: Rain using easyweather.dat file

Post by watsonm »

Thanks Mark,

Nice to have the confirmation.

Further investigation after that revealed I was a bit short in the length of of the line. MXDiags file had a complaint about bounds error that seemd to
be OK after first read. However the first read seemed to set up the rain info.... :groan:

Thanks again.... Mike
Regards Mike
Image
Raspberry Pi 4 Bullseye
Directly connected : BMP388 pressure sensor. DHT22 For internal Humidity/temp Sensor. PMS5003 Particle Sensor
Wireless connected: 3 (WS2083)Temp TXr's, WH57 Lightning Sensor, FO Solar sensor
Post Reply