interceptor driver current version

467 views
Skip to first unread message

Alex Slaets

unread,
Mar 31, 2021, 10:19:34 AM3/31/21
to weewx-user
just a quick question before I start hacking.

CONFIG:
Hardware: Alecto WS-5500  (=Fine Offset WH2900) . 
LAMP server - raspberry Pi 4 
WeeWX version 4.4.0 from raspbian repositories 
python defaults set to python3 
AWS is running and reporting to the Met Office WOW. 
weewx is up and running with the simulation driver
Will use interceptor driver in listening mode using either ecowitt or wu protocol, both are supported. 
 
QUESTION: 
Want to doublecheck before starting to hack away: 
CHECK: is github matthewwall/wee-wx-interceptor the correct repo ? 
Do I pull the latest master ? Which is the commit b29de05 on 22 Feb 2020

REASON:
The readme mentions that Matthew intends to merge the functionality in weewx, and the latest release mentioned in github is 0.28 from 2017 - which makes me a bit weary. 

Thank you. 



Rainer Lang

unread,
Mar 31, 2021, 1:24:50 PM3/31/21
to Alex Slaets, [weewx-user]
The driver on GitHub is up to date.
Works with a WH2900.
Just recently (a few days ago) helped someone to get it up and running on their RPi.

The following recipe will work:

in WSView app:
Customized server
protocol Ecowitt
Port 8000 (or your choice - has to match the entry in weewx.conf)
some path entry MUST be in WSView (even though it is ignored by weewx) i.e. e.g. /data

in weewx.conf
in the [Interceptor] section
------------------- start weewx.conf excerpt ------------------
[Interceptor]
    # This section is for the network traffic interceptor driver.

    # The driver to use:
    driver = user.interceptor

    # Specify the hardware device to capture.  Options include:
    #   acurite-bridge - acurite internet bridge, smarthub, or access
    #   observer - fine offset WH2600/HP1000/HP1003, ambient WS2902
    #   lw30x - oregon scientific LW301/LW302
    #   lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
    #   ecowitt-client - any hardware that uses the ecowitt protocol
    #   wu-client - any hardware that uses the weather underground protocol
    device_type = ecowitt-client
    port = 8000
    iface = eth0   # (or wlan0, depending on the network interfasce you use) [without the iface entry you may get stuck]

----------------------- end of weewx.conf excerpt ---------------------------------

good luck.
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/f48f2079-b693-47dc-9175-a1607dd9c6f0n%40googlegroups.com.


Alex Slaets

unread,
Mar 31, 2021, 2:03:31 PM3/31/21
to weewx-user
Thanks Rainer, 
I cloned master and used that - works fine.  
/ as path in WSView works fine. 

I will put the interface.

Note that on my system there are a lot of :
 INFO user.interceptor: unrecognized parameter b'PASSKEY=181C57659C870FCB6406D0B00F3AEA58
This was solved by modifying line 612 in interceptor.py into:
data = self.rfile.read(length).decode('utf-8')
(thanks to Google - a spanish person already found this). 
This utf-8 thing seems to be something typical of moving from python2 to python3. 

QUESTION: any idea what the  easyweather firmware uses for DNS and NTP server ?   Does it restrict itself to what the DHCP server hands out ? 
I'll do some logging in pfsense myself to find out more too. 


Op woensdag 31 maart 2021 om 19:24:50 UTC+2 schreef lang....@googlemail.com:

Ryan DeVoe

unread,
Apr 16, 2021, 8:32:13 PM4/16/21
to weewx-user

Does the interceptor driver work with the Acurite Iris Display? I got it at Lowe's. The model number says Acurite 1516L. The display is wifi and has no usb input. Please help as I can't find any info within weewx regarding this PWS. 

mwall

unread,
Apr 17, 2021, 9:32:50 AM4/17/21
to weewx-user
On Friday, April 16, 2021 at 8:32:13 PM UTC-4 Ryan wrote:

Does the interceptor driver work with the Acurite Iris Display? I got it at Lowe's. The model number says Acurite 1516L. The display is wifi and has no usb input. Please help as I can't find any info within weewx regarding this PWS. 

 the acurite branding is confusing.  'iris' seems to refer to the 5-in-1 instrument cluster - apparently a way to retroactively distinguish from the 'atlas' instrument cluster.

there are many ways of getting data from a 5-in-1 cluster, including the 'hd display', the 'direct-to-wifi display'.

the interceptor listens to a device that is sending to weather underground (among other interception techniques).  so it will get data from the 'access' (the device that bridges a 5-in-1 or atlas to internet) or the 'direct-to-wifi display'.

Ryan DeVoe

unread,
Apr 17, 2021, 2:05:31 PM4/17/21
to weewx-user
I'm struggling in getting this to work lol. I have weewx downloaded. I downloaded the interceptor driver and changed it to wu-client but am lost on where to go from here.
Reply all
Reply to author
Forward
0 new messages