WeeWX interceptor: Froggit WH6000 and wu-client

627 views
Skip to first unread message

oriol....@gmail.com

unread,
Apr 25, 2019, 6:50:12 PM4/25/19
to weewx-user

Hello,

I'm a newbie with WeeWX. I'm trying to capture the data from my new WH6000 from Froggit (I can assume is a Fine Offset but I'm not sure). Its console sends data directly to WU using rtupdate.wunderground.com, so I think that the interceptor with device=wu-client should read its data but I'm having problems configuring this.


I have some questions: The unique example for wu-client is in mode sniff and interface eth0. I'm setting up weewx on a RaspberryPi 3 B+, so the interface I'm trying to use is wlan0. I try to test it with this command:


PYTHONPATH=bin python bin/user/interceptor.py --device=wu-client --mode=sniff --iface=wlan0 --filter="src 192.168.1.105 and dst port 80"

But I'm getting this error:


Exception: wlan0: You don't have permission to capture on that device (socket: Operation not permitted)

Does this mean that I should use eth0 always?


Should I always try sniff? In listen mode won't it work? What port should I use? I've tried it with listen but I'm getting another error:


PYTHONPATH=bin python bin/user/interceptor.py --device=wu-client --mode=listen --port=80
File "/usr/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(*args) socket.error: [Errno 13] Permission denied


I'm stuck with this. What should i try?
Thanks

mwall

unread,
Apr 25, 2019, 7:07:55 PM4/25/19
to weewx-user


On Thursday, April 25, 2019 at 6:50:12 PM UTC-4, oriol.garrote wrote:


But I'm getting this error:


Exception: wlan0: You don't have permission to capture on that device (socket: Operation not permitted)

Does this mean that I should use eth0 always?


most pcap operations require administrative privileges, so preface the command with 'sudo'

 

Should I always try sniff? In listen mode won't it work? What port should I use?


in listen mode you should use port 80 - that is the port that the weather station will send to

but to listen on any port less than 1000 (including port 80), you must have admin rights.  so use sudo.

m

SteinWolf

unread,
Aug 4, 2020, 3:42:49 PM8/4/20
to weewx-user
Hey. I have also the WH6000 and try to install weewx on the raspberry for this weather station. 
Did you make it? Is weewx for the WH6000 running?
I have massive issues with all this. 

BR, Steinwolf

galfert

unread,
Aug 4, 2020, 5:38:12 PM8/4/20
to weewx-user
The WH6000 from Froggit is a Bresser manufactured unit. It is not a Fine Offset / Ecowitt station. Therefore the Interceptor with ecwoitt-client setting will not work.

I remember seeing that someone created a Bresser driver for WeeWX.

As another word of caution, Ecowitt does have a station model named WH6006 which is totally different and that is a cellular station. This WH6006 from Ecowitt would be compatible with the Interceptor driver.

SteinWolf

unread,
Aug 15, 2020, 10:49:37 AM8/15/20
to weewx-user
Hey. Yes I noticed this. But it also sends data to WU and the interceptor (as described) can be set to this. But I am new to this raspberry thing and I cannot manage this to happen. So I thougt, that there is a guidance from one with the same problem (?).
Thanks for the driver I found it now. But I'm not sure what do do with it. I mean, there is an installation instruction, but thats all. Whats with the interceptor thing and the rest of the pi installation? Wow - I didn't expect that this is so complicated.

galfert

unread,
Aug 15, 2020, 11:16:46 AM8/15/20
to weewx-user
But for the Interceptor to work the station has to either be able to do the redirection to the IP address of the Pi instead of to WU servers....or the Pi has to be set up to be man-in-the-middle on the network... or you need to use a managed switch and put port mirroring on (promiscuous mode on). And then still you'll only be successful of the Bresser sends data to WU in exactly the same way as the other supported stations as far as the Interceptor driver is concerned...it may or may not work is what I'm saying. 

SteinWolf

unread,
Aug 15, 2020, 12:29:53 PM8/15/20
to weewx-user
Oh. OK. I think I get it.
I also installed the driver now, which I can choose in the config of weewx instaid of the interceptor. I maybe think this will work - but I now get a "No module named crcmod" error. I have now done many things I found in the internet, but nothing helped. I think I have to install everything again. Also its a little bit weird that I have to choose the driver in the config, when I usually think I need the interceptor for sniffing. But OK. Maybe the driver should do the work alone. Anyway that is to much for me. I think I have to live with the WU side instead of my own server thing.
But again - Thanks for your help!
Reply all
Reply to author
Forward
0 new messages