I have turned off the firewall in ufw to see if it was any port closures 
that were causing issues. I also opened port 80 on the weather station in 
my router.

Here's how my conf file is set up:

# Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 0

# Root directory of the weewx data file hierarchy for this station
WEEWX_ROOT = /

# Whether to log successful operations. May get overridden below.
log_success = True

# Whether to log unsuccessful operations. May get overridden below.
log_failure = True

# Do not modify this. It is used when installing and updating weewx.
version = 4.10.2

##############################################################################

#   This section is for information about the station.

[Station]

    # Description of the station location
    location = "Spokane, WA"

    # Latitude in decimal degrees. Negative for southern hemisphere
    latitude = 47.6884
    # Longitude in decimal degrees. Negative for western hemisphere.
    longitude = -117.4528

    # Altitude of the station, with the unit it is in. This is used only
    # if the hardware cannot supply a value.
    altitude = 1900, foot

    # Set to type of station hardware. There must be a corresponding stanza
    # in this file, which includes a value for the 'driver' option.
    station_type = Interceptor

    # If you have a website, you may specify an URL. This is required if you
    # intend to register your station.
    #station_url = http://www.example.com

    # The start of the rain year (1=January; 10=October, etc.). This is
    # downloaded from the station if the hardware supports it.
    rain_year_start = 1

    # Start of week (0=Monday, 6=Sunday)
    week_start = 6

##############################################################################

[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 = observer
    mode = sniff
    iface = wlan0
    pcap_filter = src 192.168.4.214 and dst port 80

##############################################################################

[WS2902]
#       transceiver_frequency = 915
#       model = "Ambient Weather WS2902"

###############################################################################

[Simulator]
    # This section is for the weewx weather station simulator

    # The time (in seconds) between LOOP packets.
##    loop_interval = 2.5

    # The simulator mode can be either 'simulator' or 'generator'.
    # Real-time simulator. Sleep between each LOOP packet.
##    mode = simulator
    # Generator.  Emit LOOP packets as fast as possible (useful for 
testing).
    #mode = generator

    # The start time. Format is YYYY-mm-ddTHH:MM. If not specified, the 
default 
    # is to use the present time.
    #start = 2011-01-01T00:00

    # The driver to use:
##    driver = weewx.drivers.simulator

##############################################################################

#   This section is for uploading data to Internet sites

[StdRESTful]

    # Uncomment and change to override logging for uploading services.
    # log_success = True
    # log_failure = True

    [[StationRegistry]]
        # To register this weather station with weewx, set this to true,
        # then fill out option 'station_url', located in the [Station] 
section above.
        register_this_station = false

    [[AWEKAS]]
        # This section is for configuring posts to AWEKAS.

        # If you wish to post to AWEKAS, set the option 'enable' to true, 
then specify a username
        # and password. To guard against parsing errors, put the password 
in quotes.
        enable = false
        username = replace_me
        password = replace_me

    [[CWOP]]
        # This section is for configuring posts to CWOP.

        # If you wish to post to CWOP, set the option 'enable' to true,
        # then specify the station ID (e.g., CW1234).
        enable = false
        station = replace_me
        # If this is an APRS (radio amateur) station, specify the

On Thursday, December 7, 2023 at 8:18:27 PM UTC-8 vince wrote:

> In the absence of you providing any config file(s) nor debug=1 logs nope 
> no ideas other than trying dropping shields and running with no firewall if 
> you can do that safely on your network.
>
> On Thursday, December 7, 2023 at 6:16:59 PM UTC-8 Mark Sanchez wrote:
>
>> Hello,
>> I have now wasted four days so far trying to get weewx setup with my 
>> Ambient WS-2902 using interceptor to sniff the packets as it's headed to 
>> Ambient Weather's site. I believe I have it running at this point and 
>> Apache is set up but nothing is going into the specified folder. How can I 
>> tell if it's sniffing the data or not?
>>
>> thechez@raspberrypi:~ $ service weewx status
>> ● weewx.service - LSB: weewx weather system
>>      Loaded: loaded (/etc/init.d/weewx; generated)
>>      Active: active (running) since Thu 2023-12-07 18:12:50 PST; 55s ago
>>        Docs: man:systemd-sysv-generator(8)
>>     Process: 433 ExecStart=/etc/init.d/weewx start (code=exited, 
>> status=0/SUCCESS)
>>       Tasks: 2 (limit: 1595)
>>         CPU: 1.314s
>>      CGroup: /system.slice/weewx.service
>>              └─657 python3 /usr/share/weewx/weewxd --daemon 
>> --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf
>>
>> Dec 07 18:12:50 raspberrypi python3[657]: weewx[657] INFO weewx.restx: 
>> PWSweather: Posting not enabled.
>> Dec 07 18:12:50 raspberrypi python3[657]: weewx[657] INFO weewx.restx: 
>> CWOP: Posting not enabled.
>> Dec 07 18:12:50 raspberrypi python3[657]: weewx[657] INFO weewx.restx: 
>> WOW: Posting not enabled.
>> Dec 07 18:12:50 raspberrypi python3[657]: weewx[657] INFO weewx.restx: 
>> AWEKAS: Posting not enabled.
>> Dec 07 18:12:51 raspberrypi python3[657]: weewx[657] INFO weewx.engine: 
>> 'pyephem' detected, extended almanac data is available
>> Dec 07 18:12:51 raspberrypi python3[657]: weewx[657] INFO __main__: 
>> Starting up weewx version 4.10.2
>> Dec 07 18:12:51 raspberrypi python3[657]: weewx[657] INFO weewx.engine: 
>> Using binding 'wx_binding' to database 'weewx.sdb'
>> Dec 07 18:12:51 raspberrypi python3[657]: weewx[657] INFO weewx.manager: 
>> Starting backfill of daily summaries
>> Dec 07 18:12:51 raspberrypi python3[657]: weewx[657] INFO weewx.manager: 
>> Daily summaries up to date
>> Dec 07 18:12:51 raspberrypi python3[657]: weewx[657] INFO weewx.engine: 
>> Starting main packet loop.
>>
>> I have changed my iptables to capture the local IP and port but it 
>> doesn't seem to be doing anything. Any ideas or any more information I 
>> could add?
>> Thanks.
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/8664644c-92e8-4f11-a861-780f24bd3f63n%40googlegroups.com.

Reply via email to