Page 1 of 1

Secondary rain gauge - how to access the data

Posted: Sat 13 Apr 2024 12:39 pm
by freddie
I have installed a secondary rain gauge - an Ecowitt WH40 - in addition to my main Davis gauge. This is so I can run some comparisons.

How do I access the data from the WH40? I can see it appearing in the incoming data from my GW1100.

Is it the case that MX doesn't handle a second rain gauge, and I will have to "intercept" the incoming rain data and rewrite it to one of the spare "extra data" fields?

Re: Secondary rain gauge - how to access the data

Posted: Sat 13 Apr 2024 1:09 pm
by philpugh
Are you collecting data from the GW1100 with another instance of CMX? If so you should be able to 'export' the data either using the Extra Webfiles facility or if you are logging data to a database then extract the data from there for further processing.

Re: Secondary rain gauge - how to access the data

Posted: Sat 13 Apr 2024 1:24 pm
by freddie
No it's just the single instance collecting from the Davis, and receiving from the GW1100. I do have a database but need to get the data in it first :)

Re: Secondary rain gauge - how to access the data

Posted: Sat 13 Apr 2024 3:27 pm
by grwkak
I have a similar set-up with MX using an Ecowitt and http for extra sensors. As far as I can tell the data is not available - unless I am missing something.

Guy

Re: Secondary rain gauge - how to access the data

Posted: Sat 13 Apr 2024 4:27 pm
by rogerthn
freddie wrote: Sat 13 Apr 2024 1:24 pm No it's just the single instance collecting from the Davis, and receiving from the GW1100. I do have a database but need to get the data in it first :)
I've a GW1000 and trying https://github.com/bmrzycki/gw1000-http

Code: Select all

curl -s http://localhost:9000
information
  api : 1
  timestamp : 2024-04-13 18:23:00
  poll_interval : 180 seconds

channel_1
  humidity : 78%
  temperature : 11.5 C

indoor
  humidity : 40%
  pressure_absolute : 1003.9 hPa
  pressure_relative : 1009.8 hPa
  temperature : 23.7 C

outdoor
  humidity : 82%
  temperature : 11.4 C
BUT :groan:
README wrote:The GW1000 supports a large number of external devices but this server currently only supports the outdoor sensor (WH32) and the multi-channel sensor (WH31)
Shouldn't be impossible to get rain data?

Re: Secondary rain gauge - how to access the data

Posted: Sat 13 Apr 2024 4:35 pm
by freddie
It's not impossible.

That solution would work if CMX was pulling data from the GW1100, but mine pushes the data to CMX.

I have put together my own server this afternoon. The GW1100 pushes its data to this, and I just reassign the rainfall to some other variables that CMX stores, then it pushes the data to CMX.

Re: Secondary rain gauge - how to access the data

Posted: Sat 13 Apr 2024 4:38 pm
by rogerthn
OK
My GW1000 pushes data to Home Assistant but I could still pull data from it.

Good luck
Roger