weewx interceptor no data

529 views
Skip to first unread message

Season Ticket

unread,
Apr 4, 2019, 6:52:09 PM4/4/19
to weewx-user
I'm not able to see any data coming from my PWS.  I have a N23DQ  weather station,  console.  I can change the IP address from "www.wunderground.com" to my PI 3.  however weewx interceptor does nor receive any data.

I have tried tcpdump (see capture.png) 

I have tried the python script interceptor.py (see capture2.png)

but there is no log output.

When I change the console back to "www.wunderground.com" the data is received by wunderground ok.

I have tried interceptor config for listen mode and sniffing mode,  below is the config for sniffing

Are you able to offer any advice? 

[Interceptor]
    # This section is for the network traffic interceptor driver.

    # The driver to use:
    driver = user.interceptor

    # Specify the hardware device to capture.  Options include:
    #   acurite-bridge - acurite internet bridge, smarthub, or access
    #   observer - fine offset WH2600/HP1000/HP1003, ambient WS2902
    #   lw30x - oregon scientific LW301/LW302
    #   lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
    #   wu-client - any hardware that uses the weather underground protocol
    device_type = observer
    # port = 08080
    #address = 192.168.1.135
    mode = sniff
    iface = wlan0
    pcap_filter = src 192.168.1.135 and dst port 80

Capture.PNG
Capture2.PNG

mwall

unread,
Apr 5, 2019, 12:40:38 PM4/5/19
to weewx-user
what happens when you run the interceptor in listen mode, with the N23DQ configured to send to the pi3?

you can run it directly like this:

sudo PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/interceptor.py --device=observer --mode=listen --port 80 --debug


Season Ticket

unread,
Apr 5, 2019, 1:31:51 PM4/5/19
to weewx-user
I ran the command below,  but nothing is displayed
I have configured the console to point to the pi3 (192.168.1.148,  port 80,  server type PHP,  upload type DEFAULT)

"pi@raspberrypi:~ $ sudo PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/interceptor.py --device=observer --mode=listen --port 80 --debug

Season Ticket

unread,
Apr 7, 2019, 5:42:33 PM4/7/19
to weewx-user
I'm now getting data from my PWS.

I made a change to the console config
Previous console config : server 192.168.1.148,  port 80,  server type PHP,  upload type DEFAULT
New console config : server raspberrypi.home, port 80,  server type PHP,  upload type DEFAULT

my router (BT homehub5) for some reason,  was not able to lookup the pi3 using its IP address,  wireshark was showing a "no such name" error on the DNS lookup.
Reply all
Reply to author
Forward
0 new messages