EcoWitt GW2000 - anyone working on a driver?

853 views
Skip to first unread message

Stephen Hocking

unread,
Apr 16, 2022, 2:10:06 AM4/16/22
to weewx...@googlegroups.com
From the web page the device serves up, it appears you can tell it to upload data  in ecowitt or wunderground format to your own server/port.


image.png
--
  "I and the public know
  what all schoolchildren learn
  Those to whom evil is done
  Do evil in return"		W.H. Auden, "September 1, 1939"

vince

unread,
Apr 16, 2022, 12:08:31 PM4/16/22
to weewx-user
A little searching here seems to indicate the gw1000 driver should possibly work for you.  Give it a try

gjr80

unread,
Apr 16, 2022, 9:05:23 PM4/16/22
to weewx-user
The current GW1000 driver will speak to a GW2000 and should return all obs except for WS90 rain and WS90 signal/battery states. I am working on the v0.5.0 driver but the behaviour of the GW2000 API with various combinations of the 'traditional' and 'piezo' rain gauges (Ecowitt's terms) is not very clearly defined. I will likely need some assistance from GW2000 users with various rain gauge combinations to tie this down. WS90 signal and battery states are already working in the v0.5.0 driver.

Not sure how long the piece of string is.

Gary

Stephen Hocking

unread,
Apr 16, 2022, 11:52:36 PM4/16/22
to weewx...@googlegroups.com
Hi Gary,

I've just set up weewx with the gw1000 driver, and it appears to have picked up the gw2000 just fine - I'm getting observations coming in. I'm reassured, as a recent git pull of the rtl_433 code doesn't decode anything from the sensors at all, and while going down that rabbit hole of banging on the code would be entertaining, I'm pretty sure that more talented minds than mine are already on it.

I currently have the WittBoy (with the aforementioned piezo rain detector) only at the moment, although I'm planning on ordering the indoor & outdoor air quality sensors, as well as the lightning one. This thing seems to be head & shoulders over the AcuRite Atlas I was using with the SDR driver (plus scraping pressure off the webpage on the Atlas hub). 

Please let me know if I can test any code for you.

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/02ed201f-1f74-4543-94b1-6c144cc9c51bn%40googlegroups.com.

Stephen Hocking

unread,
Apr 17, 2022, 12:46:23 AM4/17/22
to weewx...@googlegroups.com
Hi Gary,

I have abused my credit card and ordered a WH40 rainfall sensor (along with the AQ & lightning sensior), so that readings from both it & the piezo sensor can be compared. Will let you know when it turns up and is installed.

Werner Krenn

unread,
Apr 17, 2022, 12:41:05 PM4/17/22
to weewx-user
My modified driver from Gary (now named gw2000.py) supports the GW2000 and GW1100 with Firmware V2.1.3 (piezo_rain)
https://www.pc-wetterstation.de/weewx/gw2000.zip
The piezo_gain_values are at the moment not supported. 
The hour piezo rain and hour rain aren't right, the pdf-docu isn't here correct, seems this values are gain factors
I use the hail database value for  piezo rain (WS90)
    [[field_map_extensions]]
        rain_piezo = rain_piezo
        erain_piezo = erain_piezo
        rrain_piezo = rrain_piezo
        hrain_piezo = hrain_piezo
        drain_piezo = drain_piezo
        wrain_piezo = wrain_piezo
        mrain_piezo = mrain_piezo
        yrain_piezo = yrain_piezo

        hail = rain_piezo
        hailrate = rrain_piezo
Message has been deleted

Rainer Lang

unread,
Apr 19, 2022, 2:17:33 AM4/19/22
to weewx...@googlegroups.com
That's only a possibility if the GW2000 is the only console you have. If your FOSHKplugin is already fed by another console ...
Want to install a second instance of FOSHKplugin ? Not trivial.
Also, the custom server doesn't provide you the same loop data which you can get from the GW1000 driver.
But it's an alternative, if the GW2000 is the only console you have/use with FOSHKplugin.

Not sure why you were struggling, I use the GW1000 driver for a few weewx instances and the interceptor for one - no issues which couldn't be solved in a short time (and were usually due to a bad system setup or not knowing your system (server) well enough).

On 18.04.2022 21:54, Zsolt Máté wrote:
Install FOSHKplugin and all your headaches are gone. I was struggling with the drivers, interceptors, observers, whatnot, but ever since I've installed it everything is back to normal.

Stephen Hocking

unread,
Apr 19, 2022, 8:43:46 AM4/19/22
to weewx...@googlegroups.com
When I compare the rainfall to other close by weather station on wunderground, they've got 21mm to my 32mm.


On Tue, 19 Apr 2022 at 20:09, Stephen Hocking <stephen...@gmail.com> wrote:
The phone app & web page is picking up the piezo rain just fine, but weewx doesn't seem to have any rain logged at all. I'm using the gw1000 driver - would using Werner's gw2000 pick this up? I'm assuming that I won't have to make another mod to weewx.conf beyond what installing the gw1000 has already done.

image.png



--
  "I and the public know
  what all schoolchildren learn
  Those to whom evil is done
  Do evil in return"		W.H. Auden, "September 1, 1939"

Stephen Hocking

unread,
Apr 19, 2022, 8:43:46 AM4/19/22
to weewx...@googlegroups.com
The phone app & web page is picking up the piezo rain just fine, but weewx doesn't seem to have any rain logged at all. I'm using the gw1000 driver - would using Werner's gw2000 pick this up? I'm assuming that I won't have to make another mod to weewx.conf beyond what installing the gw1000 has already done.

image.png

On Tue, 19 Apr 2022 at 16:17, Rainer Lang <lang....@gmail.com> wrote:

Rainer Lang

unread,
Apr 25, 2022, 4:59:53 AM4/25/22
to 'Werner Krenn' via weewx-user
Hallo Werner
Die API Doku enthält z.Zt. noch Fehler. In Kürze sollte eine korrigierte Version erscheinen.
nachstehend die gültige und korrekte Fassung des CMD_READ_RAIN Befehls und der "WiFi" (besser API) Rückmeldung

CMD_READ_RAIN 0x57 und die dazugehörige WiFi response (es gibt darin keinen hourly rain - dies[er] wurde in Rain Gain umbenannt für den WH40/WS69 Anteil [0F] bei Anmeldung von traditional und piezo am GW2000 [oder auch mitterweile GW1000 und GW1100 und WH2650 mit Firmware 1.6.9/1.7.0) - piezo hourly gibt es ebenfalls (noch) nicht


#define ITEM_RAINRATE

0x0E//Rain Rate (mm/h)

2

#define ITEM_RAINDAY

0x10//Rain Day (mm)

2

#define ITEM_RAINWEEK

0x11//Rain Week (mm)

2

#define ITEM_RAINMONTH

0x12//Rain Month (mm)

4

#define ITEM_RAINYEAR

0x13//Rain Year (mm)

4

#define ITEM_RAINEVENT       0x0D//Rain Event (mm) 2
#define ITEM_RAIN_Gain       0x0F//Rain Gain 2

#define ITEM_Piezo_Rain_Rate                 0x80//                                      2
#define ITEM_Piezo_Event_Rain                0x81//                                      2

#define ITEM_Piezo_Hourly_Rain               0x82//                                      2     reserved, not used

#define ITEM_Piezo_Daily_Rain                 0x83//                                      4

#define ITEM_Piezo_Weekly_Rain             0x84//                                      4

#define ITEM_Piezo_Monthly_Rain            0x85//                                      4
#define ITEM_Piezo_yearly_Rain               0x86//                                      4

#define ITEM_Piezo_Gain10                     0x87//                                      2*10

#define ITEM_RST_RainTime                   0x88//                                      3

Gruß
Rainer

Werner Krenn

unread,
Apr 25, 2022, 8:42:37 AM4/25/22
to weewx-user
@Rainer,
ich habe die Doku V1.6.5 (2022.04.19) auch von Ecowitt bekommen. 
Wobei diese Aussage wiederum nicht ganz stimmt:

"#define ITEM_Piezo_Hourly_Rain               0x82//                                      2     reserved, not used"
Mein GW2000 liefert hier sporadisch Werte, die auch plausibel sind. 
Meine Änderung wertet diesen Wert bei den Live-Daten aus und hier kommen eben manchmal Daten dafür.

Ich habe auch gefragt nach "runtime, ws90cap_volt, ws90_ver"

Antwort: "This command is not supported."

Werner
Reply all
Reply to author
Forward
0 new messages