Hello All! I've got weewx running on an rPi3, and I have the interceptor set up. All starts correctly, and the port is open, etc. The issue is that none of the packet collection methods seems to work. I am receiving error 400 from both tcpdump as well as ngrep commands that are piped to nc:
# tcpdump -i eth0 dst port 80 | nc 127.0.0.1 9999 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes <head> <title>Error response</title> </head> <body> <h1>Error response</h1> <p>Error code 400. <p>Message: Bad request syntax ('17:12:30.097480 IP ypestis2.46860 > 192.168.1.93.http: Flags [S], seq 2708070981, win 29200, options [mss 1460,sackOK,TS val 240293608 ecr 0,nop,wscale 7], length 0'). <p>Error code explanation: 400 = Bad request syntax or unsupported method. </body> 85 packets captured 85 packets received by filter 0 packets dropped by kernel Here's an example from ngrep: ~~~ ngrep -l -q -d eth0 '0004a369e0d6'|nc localhost 9999 <head> <title>Error response</title> </head> <body> <h1>Error response</h1> <p>Error code 400. <p>Message: Bad request version ('(192.168.1.0/255.255.255.0)'). <p>Error code explanation: 400 = Bad request syntax or unsupported method. </body> ~~~ One of the things I'm unsure of is the format of the data expected by Interceptor. There aren't notes besides how to install, and how to lightly configure the device. I was working with Matthew on some of those things, and got it running on a non-standard port, which was good, but now I don't seem to be able to get it the last mile (to collecting actual data). I've been playing with the individual commands used to collect the packets, because Matthew's examples are for 'www.acurite.com' and Oregon Scientific is using AWS nodes for their cloud hosting. The plaintext mac address ngrep command returns nice, clean data: ~~~ T 192.168.1.73:3555 -> 54.228.205.96:80 [AP] mac=0004a369e0d6&id=90&rid=d0&pwr=0&gw=0&av=0&wd=270&wg=0.9&ws=0.0&ch=1&p=1 T 192.168.1.73:3556 -> 54.228.205.188:80 [AP] mac=0004a369e0d6&id=c2&pv=0&lb=0&ac=0®=1009&lost=0000&baro=1011&ptr=0&wfor=2&p=1 T 192.168.1.73:3557 -> 54.228.205.96:80 [AP] mac=0004a369e0d6&id=8e&rid=63&pwr=0&or=0&uvh=1&uv=386&ch=1&p=1 ~~~ But something still seems to be wrong. Any help that can be offered would be greatly appreciated. Thanks! -Sam -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.