i have successfully implemented weewx interceptor with a watson =W-8681-PRO
V2.2.9 which a FineOffset HP1000 based device
i am running weewx on a pi2 and have the same pi2 doing DNS (bind 9) and
DHCP (isc server)
i am using bind as i have a samba active directory setup running too
the addition of simpe a bind DNS zone for rtupdate.wunderground.com entry
worked to trick the W-8681-PRO to send it wunderground post to the
interceptor
however wunderground currently have CNAME
for weatherstation.wunderground.com and rtupdate.wunderground.com to the
same endpoint
which occasionally resulted in Weewx posting back to itself
enter bind views
by using bind views i was able to get bind to only send the local ip for
rtupdate to the weather station only and return the external IP for all
other clients, including the Pi
when using bind views ALL zones must be in a view, so you have to add a
"any" view for the default zones
i also set a DHCP reservation to ensure the weather station was always on
the same address
my only remaining minor issue, which is not important is "interceptor:
MainThread: unrecognized parameter absbaromin=30.12"
which i suspect i can resolve with a simple tweak to interceptor.py, once i
get my head around the weewx data structures
here sample bind view
view "watson" {
match-clients { 172.17.1.131/32; }; // weather
recursion yes;
// other view statements as required
zone "rtupdate.wunderground.com" {
type master;
file "/etc/bind/override1.zone";
};
// add required zones
};
--
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.