WS-2902C and RPi 4 Raspbian 10

97 views
Skip to first unread message

lord...@gmail.com

unread,
Jan 16, 2022, 11:30:50 AM1/16/22
to weewx-user
Hi all,
I've been running Weewx for a few years on an older Raspberry Pi running Raspbian 9.  The Rpi is setup with the onboard wifi as an access point, and the WS-2902C console is joined to this isolated wifi network (the WS-2902C does not have access to my home network or the internet), and I'm using the weewx-interceptor extension in sniff mode to read the data.  This works fine on this older OS.

I'm trying to duplicate this setup using Raspbian 10 and am running into issues getting sniff mode to work (discussion in a different thread), and am wondering if someone has instructions for setting up listen mode rather than sniff mode using my setup.  I still want to keep the WS-2902C console on an isolated wifi network using the Rpi as the access point.

Thank you,
-Dj

lord...@gmail.com

unread,
Jan 16, 2022, 12:11:55 PM1/16/22
to weewx-user
Followup in case this might be useful to someone else.  Turns out this was not difficult.
First I had to download the latest awnet software on an Android tablet, and use that to update the firmware on the weather console to version 4.3.2.  That version allows you to specify a custom IP address to send the weather data.  I set that to the IP address of the wlan0 interface on the Rpi (192.168.4.1 in my case), port 8080.  Then set the interceptor settings in weewx.conf to:
    device_type = observer
    mode = listen
    address = 192.168.4.1
    port = 8080

That's it.

-Dj
Reply all
Reply to author
Forward
0 new messages