I too would love to use tcpflow but had problems with it as well. Ive been 
using tcpdump in the meantime...
sudo tcpdump -A -n -p -l -i eth0 -s0 -W tcp dst port 80 | stdbuf -oL 
strings -n8 | stdbuf -oL grep "&" | ./acurite-lwp2.pl

Gluck,
Brad

On Wednesday, November 2, 2016 at 3:53:13 PM UTC-7, Pat Hayes wrote:
>
>
> Hello everyone!
>>
>
> I've been following this thread thanks to Brad letting me know of it. It 
> seems I ran into a snag. It seems the interceptor driver doesn't like the 
> input. 
>
> syslog
>
> Nov  2 18:48:22 weewx weewx[20752]: interceptor: MainThread: parse failed 
> for dateutc=now&action=updateraw&realtime=1&id=24C86E08150D&mt=5N1x31&
> sensor=00002701&windspeedmph=0&winddir=68&rainin=0.00&dailyrainin=0.00&
> humidity=83&tempf=60.0&dewptf=55&baromin=30.34&battery=normal&rssi=3 HTTP/
> 1.1#015&windspeedmph=0&winddir=68&rainin=0.00&dailyrainin=0.00&humidity=83&tempf=60.0&dewptf=55&baromin=30.34&battery=normal&rssi=3
>  
> HTTP/1.1#015&humidity=83&tempf=60.0&dewptf=55&baromin=30.34&battery=normal&rssi=3
>  
> HTTP/1.1#015&baromin=30.34&battery=normal&rssi=3 HTTP/1.1#015: invalid 
> literal for float(): 3 HTTP/1.1
>
> Command I'm using.
>
> tcpflow -C -0 -s tcp dst port 80 | ./acurite-lwp.pl
>
> Debian 8 with the latest tcpflow 1.4.6
>
> Thanks for any pointers.
>
> Pat
>
>
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to