Hi all,

I've been running weewx 3.9.2/sqlite/python 2.7 on my OpenBSD based router 
with interceptor configured to sniff traffic going to wunderground.  That 
all worked just fine for several years.

When I decided it was time to upgrade to weewx 4 (4.10.2) I decided to move 
everything to an Ubuntu 20.04 OdroidN2 in my lan so sniffing, while not out 
of the question, would not be as easy as listening.  I also wanted to move 
to python3 and use mysql as the database.

I installed weewx and its requirements from apt as detailed in the docs.  I 
added weewx-interceptor using wee_extension and the latest interceptor zip 
file downloaded from github.

My weather station is a Tycon PWS 3000WC and can upload data in the ecowitt 
format so I used WSView on my phone to set that up to push data to the 
odroidn2 on port 8001.  Configured interceptor in listen mode on port 8001, 
and fired up weewx using systemctl.

All interceptor ever reports is an empty queue.   I can see data coming 
from the Tycon with tcpdump but interceptor just doesn't.  

I redirected the PWS to send its data to the firewall instead and wrote a 
small python3 program to run on the firewall that captures the data from 
the Tycon with nc and inserts it directly in the mysql database running on 
the odroidn2.

On the odroidn2 I set up a cron job to run every minute to run wee_reports 
and rsync everything up to my web server.

That works sort of okay  but I'm missing a lot of the functionality of 
weewx:  no generated data unless I run wee_database --calc-missing, no 
sending weather data off to places like windy.com and I'm sure there's a 
lot more.

Given that I can insert data from the PWS directly into mysql how can I 
then trigger all of the other magic that used to happen when ever 
interceptor parsed a line of data from the weather station?

Or, probably even better, if anyone has a fix for interceptor that would be 
great.  Tried it in standalone mode with python 2.7.18. and python 3.8.10 
and the results are the same:  nothing.

Thanks for reading!
Jeff Ross
Townsend, MT

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9bf416de-a40c-401f-8a95-6614ec66057cn%40googlegroups.com.

Reply via email to