Author Topic: WeeWx Error no. 98  (Read 664 times)

0 Members and 1 Guest are viewing this topic.

Offline kq6up

  • Senior Member
  • **
  • Posts: 56
WeeWx Error no. 98
« on: February 18, 2019, 01:40:51 PM »
I am trying to set my weewx up with an ecowitt bridge.  I am using a raspberry pi in hotspot mode using RaspAp, after setting up with the configuration file with the following settings:

root@raspberrypi:/etc/weewx# cat weewx.conf.def
# WEEWX CONFIGURATION FILE

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

# This section is for general configuration information.

# 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
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.1

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

#   This section is for information about the station.

[Station]
   
    # Description of the station location
    location = "Grand Terrace, CA"
   
    # Latitude and longitude in decimal degrees
    latitude = 34.021
    longitude = -117.314
   
    # Altitude of the station, with unit it is in. This is downloaded from
    # from the station if the hardware supports it.
    altitude = 291, 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 = Interceptor
   
    # 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 = 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
    #   wu-client - any hardware that uses the weather underground protocol
    device_type = acurite-bridge

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

[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

###########

If I then do a #/etc/init.d/weewx status I get:

root@raspberrypi:/etc/weewx# /etc/init.d/weewx status
● weewx.service - LSB: weewx weather system
   Loaded: loaded (/etc/init.d/weewx; generated; vendor preset: enabled)
   Active: active (exited) since Mon 2019-02-18 10:38:22 PST; 7s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 3069 ExecStop=/etc/init.d/weewx stop (code=exited, status=0/SUCCESS)
  Process: 3128 ExecStart=/etc/init.d/weewx start (code=exited, status=0/SUCCESS)

Feb 18 10:38:22 raspberrypi weewx[3143]: engine: Using configuration file /e…onf
Feb 18 10:38:22 raspberrypi weewx[3143]: engine: Loading station type Interc…or)
Feb 18 10:38:22 raspberrypi weewx[3143]: interceptor: MainThread: driver ver….45
Feb 18 10:38:22 raspberrypi weewx[3143]: interceptor: MainThread: device typ…dge
Feb 18 10:38:22 raspberrypi weewx[3143]: interceptor: MainThread: sensor map…one
Feb 18 10:38:22 raspberrypi weewx[3143]: interceptor: MainThread: mode is listen
Feb 18 10:38:22 raspberrypi weewx[3143]: interceptor: MainThread: listen on :80
Feb 18 10:38:22 raspberrypi weewx[3143]: import of driver failed: [Errno 98]…'>)
Feb 18 10:38:22 raspberrypi weewx[3143]: engine: Unable to load driver: [Err…use
Feb 18 10:38:22 raspberrypi weewx[3143]:     ****  Exiting...
Hint: Some lines were ellipsized, use -l to show in full.

##########

Not sure where to go from here.

Thanks,
Chris Maness

Offline kq6up

  • Senior Member
  • **
  • Posts: 56
Re: WeeWx Error no. 98
« Reply #1 on: February 18, 2019, 01:59:26 PM »
Update: It looks like there might be a conflict between the RaspAP webgui and the weewx-interceptor.  How do I keep the configuration that RaspAP generated for hostapd, and uninstall RaspAP?

Thanks,
Chris Maness

 

anything