Problems with the weewx installation

97 views
Skip to first unread message

Joerg Strobel

unread,
Mar 25, 2020, 2:25:16 PM3/25/20
to weewx-user
Hi,

sorry for my not perfect english, I'm from Germany and my last english lesson is a few years ago.

Some information:
Weather Station Froggit WH3000SE (i think it's a Fine Offset WH2900)
This Weather Station has no USB connection. The only connection to my home network is via Wifi.
I want to use weewx on a raspberry pi that is also connected to my home network. From the Pi i can ping the weather station. That's no problem.

Question:
a) Is it possible to use weewx without a USB connection to the weather station? Weather station has only Wifi.
b) Is there a field inside the weewx.conf where i can type in the IP address from the weather station. I found non

2 Problems:

1.That's why i have this question from above. Does weewx need a USB Device (on the weather station) or how can i solve this problem with the missing USB driver.
fousb: Cannot find USB device with Vendor=0x1941 ProdID=0x8021 Device=None
Import of driver failed: Unable to find USB device (<class 'weewx.WeeWxIOError'>)

2. i miss the folder /var/www/html/weewx

Here are the logs: if you need more, please tell me the syntax, thanx

pi@raspberrypi:~ $ sudo tail -f /var/log/syslog

Mar 25 16:59:37 raspberrypi weewx[2347]: engine: Loading station type FineOffsetUSB (weewx.drivers.fousb)

Mar 25 16:59:37 raspberrypi weewx[2332]: Starting weewx weather system: weewx.

Mar 25 16:59:37 raspberrypi systemd[1]: Started LSB: weewx weather system.

Mar 25 16:59:37 raspberrypi weewx[2347]: fousb: driver version is 1.10

Mar 25 16:59:37 raspberrypi weewx[2347]: fousb: polling mode is PERIODIC

Mar 25 16:59:37 raspberrypi weewx[2347]: fousb: polling interval is 60

Mar 25 16:59:37 raspberrypi weewx[2347]: fousb: Cannot find USB device with Vendor=0x1941 ProdID=0x8021 Device=None

Mar 25 16:59:37 raspberrypi weewx[2347]: engine: Import of driver failed: Unable to find USB device (<class 'weewx.WeeWxIOError'>)

Mar 25 16:59:37 raspberrypi weewx[2347]: engine: Unable to load driver: Unable to find USB device

Mar 25 16:59:37 raspberrypi weewx[2347]:     ****  Exiting...



pi@raspberrypi:~ $ sudo lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



Thank you very much




Joerg Strobel

unread,
Mar 25, 2020, 2:30:26 PM3/25/20
to weewx-user
here is also the weewx.conf.

# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2019 Tom Keffer <tke...@gmail.com>
# See the file LICENSE.txt for your rights.

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

# This section is for general configuration information.

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

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

# Whether to log successful operations
log_success = True

# Whether to log unsuccessful operations
log_failure = True

# How long to wait before timing out a socket (FTP, HTTP) connection
socket_timeout = 20

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

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

#   This section is for information about the station.

[Station]
    
    # Description of the station location
    location = "Sagichnicht"
    
    # Latitude and longitude in decimal degrees
    latitude = 48.837580
    longitude = 9.681100
    
    # Altitude of the station, with unit it is in. This is downloaded from
    # from the station if the hardware supports it.
    altitude = 500, meter
    
    # Set to type of station hardware. There must be a corresponding stanza
    # in this file with a 'driver' parameter indicating the driver to be used.
    station_type = FineOffsetUSB
    
    # If you have a website, you may specify an URL
    #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 = 0

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

[FineOffsetUSB]
    # This section is for the Fine Offset series of weather stations.
    
    # The station model, e.g., WH1080, WS1090, WS2080, WH3081
    model = WH2900
    
    # How often to poll the station for data, in seconds
    polling_interval = 60
    
    # The driver to use:
    driver = weewx.drivers.fousb

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

rich T

unread,
Mar 25, 2020, 4:08:45 PM3/25/20
to weewx-user

Joerg Strobel

unread,
Mar 26, 2020, 8:57:17 AM3/26/20
to weewx-user
Thanx for the link. The solution looks not easy with Iptables.


Am Mittwoch, 25. März 2020 19:25:16 UTC+1 schrieb Joerg Strobel:
Reply all
Reply to author
Forward
0 new messages