I’m trying to set up a weewx system on a pi3 jessie platform but can’t 
quite get the last step.

Lacrosse C84612 weather station —> GW1000U lacrosse-bridge —> 
lacrosse-alerts website port 80 works well.


I would like to also provide this same stream to Wunderground (WUG) by any 
one of three methods:

1. Use Gateway Advanced Setup (GAS) proxy to weewx host to forward to WUG.

2. Copy and forward packets to weewx host with dd-wrt router iptables.

3. Use a hub with GW1000U and weewx host


When I configure method 1. it simply substitutes the weewx host for the 
lacrosse-alerts host in the header, confirmed by both weewx logs and 
tcpdump.  While Wunderground is happy Lacrosse-Alerts is not.


For method 2. at least it is a true proxy using the weewx host address as 
the next hop so that they show up at the weewx interface with the original 
source/destinations intact.  Unfortunately, I have not been able to 
configure the user.interceptor driver to recognize these packets in either 
sniff or listen mode.


Method 3 will most probably work but the hub I bought on EBay arrived today 
with no 7.5V power adapter and none of my collection will do that so I 
don’t know.  That’s what I get for a $5.00 purchase (listing stated no 
power supply).


Ideally I would like to figure out how to make method 2. work.  Either a 
change in the dd-wrt iptables edits or the weewx intercepter configuration 
entries.


*iptables *


Chain PREROUTING (policy ACCEPT 6307K packets, 3852M bytes)

 pkts bytes target     prot opt in     out     source               
destination         

 3706  285K ROUTE      0    --  *      *       192.168.1.72         0.0.0.0/0 
          ROUTE gw:192.168.1.62 tee


*user.interceptor*


driver = user.interceptor


    #mode = sniff

    #iface = eth0

    #pcap_filter = src 192.168.1.72 and dst port 80


    mode = listen

    port = 80

    address = 192.168.1.20

    

    device_type = lacrosse-bridge

    serial = 7FFF7AAA295B94B3



Suggestions for accomplishing this end would be greatly appreciated.


Thank you.

-- 
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