Weewx interceptor not working with Ecowitt GW1000 in WU mode ?

80 views
Skip to first unread message

Tim Tuck

unread,
Dec 2, 2019, 12:46:00 AM12/2/19
to weewx-user
Hi all,

I've been having issues with trying to get my Ecowitt GW1000 and its
collection of sensors to work with Weewx.

First up, let me say that it works just fine posting data to both WU and
Ecowitt servers.

I've tried getting the script mentioned here...

https://www.wxforum.net/index.php?topic=37471.0

to work for Ecowitt mode, but that has not been successful.

Running that script in debug mode did not produce any data at all for
the Ecowitt mode.

If I change the GW1000 custom server setting to WU mode I do see some
data in debug mode thus...

# PYTHONPATH=. python user/interceptor.py --device=wu-client
--mode=listen --port=8000 --debug
identifiers: {}
raw data:
raw packet: {'usUnits': 1, 'dateTime': 1575261732}
mapped packet: {'usUnits': 1, 'dateTime': 1575261732}
identifiers: {}
raw data:
raw packet: {'usUnits': 1, 'dateTime': 1575261793}
mapped packet: {'usUnits': 1, 'dateTime': 1575261793}
identifiers: {}
raw data:
raw packet: {'usUnits': 1, 'dateTime': 1575261854}
mapped packet: {'usUnits': 1, 'dateTime': 1575261854}
identifiers: {}
raw data:

I get the same output REGARDLESS of which interceptor.py I use.

Both the modified script and Mathew's original produce identical output.

Thinking it might be my ratty old server I built a shiny new one and got
exactly the same result!

I know all the data is reaching the servers since I can run tcpdump in a
different terminal and see the data.

Versions of all as follows...

Weewx is 3.9.2 on both servers.

GW1000 is the latest firmware 1.5.4

Server 1 is Debian 9 Linux 4.9.0-11-686-pae on i686, python 2.7.13

Server 2 is Centos Linux 7.7.1908, Python 2.7.5

I have pcap files if someone wants to look at the actual raw packets.

Any help appreciated.

thanks

Tim



PJO

unread,
Dec 2, 2019, 5:14:09 AM12/2/19
to weewx-user
I have just ordered one of these and may face the same issue when it arrives so I'm keen to know how this gets resolved. I suggest posting in wxforum.net. There's a subforum for "Ambient weather stations and Fine Offset clones" (http://www.wxforum.net/index.php?board=111.0) some of whose users are using weewx software. You don't indicate what firmware you are using in the GW1000. The latest is v1.5.0 AFAIK (fyi only). Though it sounds as if it's an issue getting the data into weewx not anything to do with what the GW1000 is sending. 

Tim Tuck

unread,
Dec 2, 2019, 11:02:41 PM12/2/19
to weewx-user
Well after quite a bit of testing I could not get Interceptor or the
modified Interceptor to work for me :(

But... I found a different Ecowitt Weewx driver here...

https://github.com/iz0qwm/ecowitt_http_gateway

And that works :)

I now have all the basic data being ingested into my Weewx installation.

Now I just need to get the extended Ecowitt data imported and I'll be
happy :)

regards

Tim

PJO

unread,
Dec 4, 2019, 7:20:15 AM12/4/19
to weewx-user
Good to hear you got it working. Thanks in advance for saving me some time; bookmarked :-) I've also ordered some extra sensors so again interested to hear how you get on, though I am probably not going to be uploading any data from these to any public sites.
Reply all
Reply to author
Forward
0 new messages