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

Ecowitt rain data to CMX

GW1000 WiFi gateway
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

Ecowitt rain data to CMX

Post by watsonm »

(Not sure if this should be here or in the homebuilt section...)

I am using the HTTP api call using the Ecowitt data format to input data to CMX having switched from the Easyweather Data format.

For easyweather the rain input was just the rain counter from the sensor which just incremented ad infinitum and the rain last hour which is used as the rain rate indicator.

Having changed everything over to issue the ecowitt data array I can't seem to get my CMX rainfall panel to update correctly. Does anyone have an idea what the minimum set of rain items from this list that will get the display updating correctly. Also if it is rainratein (rain rate in inches) and I am updating every minute should the rate be resolved to inches per minute.

Code: Select all

"rainratein":"0.000",
"eventrainin":"0.000",
"hourlyrainin":"0.000",
"dailyrainin":"0.000",
"weeklyrainin":"0.059",
"monthlyrainin":"0.650",
"yearlyrainin":"0.650",
"totalrainin":"0.650",
I am currently supplying 'yearlyrainin' and 'rainratein' however I think I need to rework my calculation for 'rainratein'

Thanks for any help... 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
User avatar
philpugh
Posts: 428
Joined: Tue 24 May 2011 8:34 am
Weather Station: See Signature
Operating System: Debian 12 (RPi5)
Location: Antrobus, Cheshire, UK
Contact:

Re: Ecowitt rain data to CMX

Post by philpugh »

AKAIK

rainratein will only have a 'real' value when rain is actually falling and being detected by your sensor.

eventrainin is the amount of rain falling in a single even - i.e. start of rain until end of rain - not sure how long rain has to stop to be delared an event though!

All the others should be self-explanatory as total rainfall in the last hour/day/week/month/year.
Phil Pugh
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
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: Ecowitt rain data to CMX

Post by watsonm »

Thanks Phil,
Perhaps I should explain a bit more detail.
I have a fine offset rain bucket that just sends "tips" . I collect all my sensor readings using a radio receiver and then post them to CMX. The easy weather setup just took the tips and knowing what the count was at the beginning of the day could work out rain for the day and a rate.

The Ecowitt unit obviously has more sophistication and keeps all the hour/day/month/year readings and passes them on. I just want add the minimum neccesary to get rain for the day.

I'll keep experimenting.. :geek:
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: 14382
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Ecowitt rain data to CMX

Post by mcrossley »

CMX will use the yearlyrainin value, but if that is missing it will use the totalrainin value.

(or the piezo values - but not relevant here)

The rainratein value is also used and is the current rainfall rate in inches per hour
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: Ecowitt rain data to CMX

Post by watsonm »

Thanks Mark.
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
Carbonara
Posts: 53
Joined: Mon 16 Nov 2020 10:27 pm
Weather Station: Davis and Ecowitt
Operating System: DietPi 7.5.2 ( debian bullseye)

Re: Ecowitt rain data to CMX

Post by Carbonara »

good morning, just a little question about the rain. When I change the daily rainfall the monthly and yearly totals remain the same. They should also change according to the value I've insert (if lower or higher)
rain cumulus.png
You do not have the required permissions to view the files attached to this post.
User avatar
mcrossley
Posts: 14382
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Ecowitt rain data to CMX

Post by mcrossley »

They should.

The values you see are the total (year/month) from the day file as of the last rollover, plus the rain today.

So, if you change the rain today value, they should also change the next time you receive some rain data from your station.
It looks like that could be improved by the editor forcing them to update immediately.

You may not see that on your web site straight way, it depends on your update intervals etc.
Post Reply