Build/install Error on Raspberry PI 3B

118 views
Skip to first unread message

Xerxes Shelley

unread,
Jan 15, 2020, 4:49:20 PM1/15/20
to weewx-user
Hi, i'm doing this as a hobby. Not super familiar with Linux. But i can google the shit out something as needed. 

I get the error
*** Configuration file has both a 'WMR-USB' section and a 'WMR100' section. Aborting **** 

this is a fresh install i'm following the directions at http://weewx.com/docs/setup.htm at the install WeeWX section. any help here would be appreicated. I'm on the last step.  

Thanks!

rich T

unread,
Jan 15, 2020, 5:02:58 PM1/15/20
to weewx-user
Post a copy of your weewx.conf file.  Ensure all personal data, password, and keys are blanked out.

Xerxes Shelley

unread,
Jan 15, 2020, 7:12:26 PM1/15/20
to weewx-user
Here's a couple of things-

Untitled.png



CONFIG file & install terminal screen--- 

*****@weatherstation:~/weewx-3.9.2 $ sudo ./setup.py install
running install
running build
running build_py
running build_scripts
running install_lib
Saved bin subdirectory as /home/weewx/bin.20200115134128
creating /home/weewx/bin
creating /home/weewx/bin/schemas
copying build/lib.linux-armv7l-2.7/schemas/wview.py -> /home/weewx/bin/schemas
copying build/lib.linux-armv7l-2.7/schemas/__init__.py -> /home/weewx/bin/schemas
creating /home/weewx/bin/weewx
copying build/lib.linux-armv7l-2.7/weewx/filegenerator.py -> /home/weewx/bin/weewx
copying build/lib.linux-armv7l-2.7/weewx/wxformulas.py -> /home/weewx/bin/weewx
copying build/lib.linux-armv7l-2.7/weewx/accum.py -> /home/weewx/bin/weewx
creating /home/weewx/bin/weewx/drivers
copying build/lib.linux-armv7l-2.7/weewx/drivers/wmr100.py -> /home/weewx/bin/weewx/drivers
copying build/lib.linux-armv7l-2.7/weewx/drivers/vantage.py -> /home/weewx/bin/weewx/drivers
copying build/lib.linux-armv7l-2.7/weewx/drivers/ws28xx.py -> /home/weewx/bin/weewx/drivers
copying build/lib.linux-armv7l-2.7/weewx/drivers/ws23xx.py -> /home/weewx/bin/weewx/drivers
copying build/lib.linux-armv7l-2.7/weewx/drivers/ultimeter.py -> /home/weewx/bin/weewx/drivers
copying build/lib.linux-armv7l-2.7/weewx/drivers/ws1.py -> /home/weewx/bin/weewx/drivers
copying build/lib.linux-armv7l-2.7/weewx/drivers/cc3000.py -> /home/weewx/bin/weewx/drivers
copying build/lib.linux-armv7l-2.7/weewx/drivers/te923.py -> /home/weewx/bin/weewx/drivers
copying build/lib.linux-armv7l-2.7/weewx/drivers/simulator.py -> /home/weewx/bin/weewx/drivers
copying build/lib.linux-armv7l-2.7/weewx/drivers/wmr300.py -> /home/weewx/bin/weewx/drivers
copying build/lib.linux-armv7l-2.7/weewx/drivers/fousb.py -> /home/weewx/bin/weewx/drivers
copying build/lib.linux-armv7l-2.7/weewx/drivers/wmr9x8.py -> /home/weewx/bin/weewx/drivers
copying build/lib.linux-armv7l-2.7/weewx/drivers/wmr200.py -> /home/weewx/bin/weewx/drivers
copying build/lib.linux-armv7l-2.7/weewx/drivers/__init__.py -> /home/weewx/bin/weewx/drivers
copying build/lib.linux-armv7l-2.7/weewx/drivers/acurite.py -> /home/weewx/bin/weewx/drivers
copying build/lib.linux-armv7l-2.7/weewx/units.py -> /home/weewx/bin/weewx
copying build/lib.linux-armv7l-2.7/weewx/tags.py -> /home/weewx/bin/weewx
copying build/lib.linux-armv7l-2.7/weewx/wxmanager.py -> /home/weewx/bin/weewx
copying build/lib.linux-armv7l-2.7/weewx/restx.py -> /home/weewx/bin/weewx
copying build/lib.linux-armv7l-2.7/weewx/crc16.py -> /home/weewx/bin/weewx
copying build/lib.linux-armv7l-2.7/weewx/uwxutils.py -> /home/weewx/bin/weewx
copying build/lib.linux-armv7l-2.7/weewx/cheetahgenerator.py -> /home/weewx/bin/weewx
copying build/lib.linux-armv7l-2.7/weewx/reportengine.py -> /home/weewx/bin/weewx
copying build/lib.linux-armv7l-2.7/weewx/wxservices.py -> /home/weewx/bin/weewx
copying build/lib.linux-armv7l-2.7/weewx/defaults.py -> /home/weewx/bin/weewx
copying build/lib.linux-armv7l-2.7/weewx/engine.py -> /home/weewx/bin/weewx
copying build/lib.linux-armv7l-2.7/weewx/station.py -> /home/weewx/bin/weewx
copying build/lib.linux-armv7l-2.7/weewx/imagegenerator.py -> /home/weewx/bin/weewx
copying build/lib.linux-armv7l-2.7/weewx/wxengine.py -> /home/weewx/bin/weewx
copying build/lib.linux-armv7l-2.7/weewx/almanac.py -> /home/weewx/bin/weewx
copying build/lib.linux-armv7l-2.7/weewx/manager.py -> /home/weewx/bin/weewx
copying build/lib.linux-armv7l-2.7/weewx/__init__.py -> /home/weewx/bin/weewx
copying build/lib.linux-armv7l-2.7/weewx/qc.py -> /home/weewx/bin/weewx
creating /home/weewx/bin/weecfg
copying build/lib.linux-armv7l-2.7/weecfg/config.py -> /home/weewx/bin/weecfg
copying build/lib.linux-armv7l-2.7/weecfg/extension.py -> /home/weewx/bin/weecfg
copying build/lib.linux-armv7l-2.7/weecfg/database.py -> /home/weewx/bin/weecfg
copying build/lib.linux-armv7l-2.7/weecfg/__init__.py -> /home/weewx/bin/weecfg
copying build/lib.linux-armv7l-2.7/daemon.py -> /home/weewx/bin
creating /home/weewx/bin/weedb
copying build/lib.linux-armv7l-2.7/weedb/mysql.py -> /home/weewx/bin/weedb
copying build/lib.linux-armv7l-2.7/weedb/sqlite.py -> /home/weewx/bin/weedb
copying build/lib.linux-armv7l-2.7/weedb/__init__.py -> /home/weewx/bin/weedb
creating /home/weewx/bin/weeutil
copying build/lib.linux-armv7l-2.7/weeutil/weeutil.py -> /home/weewx/bin/weeutil
copying build/lib.linux-armv7l-2.7/weeutil/rsyncupload.py -> /home/weewx/bin/weeutil
copying build/lib.linux-armv7l-2.7/weeutil/ftpupload.py -> /home/weewx/bin/weeutil
copying build/lib.linux-armv7l-2.7/weeutil/config.py -> /home/weewx/bin/weeutil
copying build/lib.linux-armv7l-2.7/weeutil/Moon.py -> /home/weewx/bin/weeutil
copying build/lib.linux-armv7l-2.7/weeutil/Sun.py -> /home/weewx/bin/weeutil
copying build/lib.linux-armv7l-2.7/weeutil/__init__.py -> /home/weewx/bin/weeutil
creating /home/weewx/bin/weeplot
copying build/lib.linux-armv7l-2.7/weeplot/genplot.py -> /home/weewx/bin/weeplot
copying build/lib.linux-armv7l-2.7/weeplot/utilities.py -> /home/weewx/bin/weeplot
copying build/lib.linux-armv7l-2.7/weeplot/__init__.py -> /home/weewx/bin/weeplot
creating /home/weewx/bin/user
copying build/lib.linux-armv7l-2.7/user/extensions.py -> /home/weewx/bin/user
copying build/lib.linux-armv7l-2.7/user/__init__.py -> /home/weewx/bin/user
creating /home/weewx/bin/weeimport
copying build/lib.linux-armv7l-2.7/weeimport/weeimport.py -> /home/weewx/bin/weeimport
copying build/lib.linux-armv7l-2.7/weeimport/cumulusimport.py -> /home/weewx/bin/weeimport
copying build/lib.linux-armv7l-2.7/weeimport/csvimport.py -> /home/weewx/bin/weeimport
copying build/lib.linux-armv7l-2.7/weeimport/wuimport.py -> /home/weewx/bin/weeimport
copying build/lib.linux-armv7l-2.7/weeimport/__init__.py -> /home/weewx/bin/weeimport
byte-compiling /home/weewx/bin/schemas/wview.py to wview.pyc
byte-compiling /home/weewx/bin/schemas/__init__.py to __init__.pyc
byte-compiling /home/weewx/bin/weewx/filegenerator.py to filegenerator.pyc
byte-compiling /home/weewx/bin/weewx/wxformulas.py to wxformulas.pyc
byte-compiling /home/weewx/bin/weewx/accum.py to accum.pyc
byte-compiling /home/weewx/bin/weewx/drivers/wmr100.py to wmr100.pyc
byte-compiling /home/weewx/bin/weewx/drivers/vantage.py to vantage.pyc
byte-compiling /home/weewx/bin/weewx/drivers/ws28xx.py to ws28xx.pyc
byte-compiling /home/weewx/bin/weewx/drivers/ws23xx.py to ws23xx.pyc
byte-compiling /home/weewx/bin/weewx/drivers/ultimeter.py to ultimeter.pyc
byte-compiling /home/weewx/bin/weewx/drivers/ws1.py to ws1.pyc
byte-compiling /home/weewx/bin/weewx/drivers/cc3000.py to cc3000.pyc
byte-compiling /home/weewx/bin/weewx/drivers/te923.py to te923.pyc
byte-compiling /home/weewx/bin/weewx/drivers/simulator.py to simulator.pyc
byte-compiling /home/weewx/bin/weewx/drivers/wmr300.py to wmr300.pyc
byte-compiling /home/weewx/bin/weewx/drivers/fousb.py to fousb.pyc
byte-compiling /home/weewx/bin/weewx/drivers/wmr9x8.py to wmr9x8.pyc
byte-compiling /home/weewx/bin/weewx/drivers/wmr200.py to wmr200.pyc
byte-compiling /home/weewx/bin/weewx/drivers/__init__.py to __init__.pyc
byte-compiling /home/weewx/bin/weewx/drivers/acurite.py to acurite.pyc
byte-compiling /home/weewx/bin/weewx/units.py to units.pyc
byte-compiling /home/weewx/bin/weewx/tags.py to tags.pyc
byte-compiling /home/weewx/bin/weewx/wxmanager.py to wxmanager.pyc
byte-compiling /home/weewx/bin/weewx/restx.py to restx.pyc
byte-compiling /home/weewx/bin/weewx/crc16.py to crc16.pyc
byte-compiling /home/weewx/bin/weewx/uwxutils.py to uwxutils.pyc
byte-compiling /home/weewx/bin/weewx/cheetahgenerator.py to cheetahgenerator.pyc
byte-compiling /home/weewx/bin/weewx/reportengine.py to reportengine.pyc
byte-compiling /home/weewx/bin/weewx/wxservices.py to wxservices.pyc
byte-compiling /home/weewx/bin/weewx/defaults.py to defaults.pyc
byte-compiling /home/weewx/bin/weewx/engine.py to engine.pyc
byte-compiling /home/weewx/bin/weewx/station.py to station.pyc
byte-compiling /home/weewx/bin/weewx/imagegenerator.py to imagegenerator.pyc
byte-compiling /home/weewx/bin/weewx/wxengine.py to wxengine.pyc
byte-compiling /home/weewx/bin/weewx/almanac.py to almanac.pyc
byte-compiling /home/weewx/bin/weewx/manager.py to manager.pyc
byte-compiling /home/weewx/bin/weewx/__init__.py to __init__.pyc
byte-compiling /home/weewx/bin/weewx/qc.py to qc.pyc
byte-compiling /home/weewx/bin/weecfg/config.py to config.pyc
byte-compiling /home/weewx/bin/weecfg/extension.py to extension.pyc
byte-compiling /home/weewx/bin/weecfg/database.py to database.pyc
byte-compiling /home/weewx/bin/weecfg/__init__.py to __init__.pyc
byte-compiling /home/weewx/bin/daemon.py to daemon.pyc
byte-compiling /home/weewx/bin/weedb/mysql.py to mysql.pyc
byte-compiling /home/weewx/bin/weedb/sqlite.py to sqlite.pyc
byte-compiling /home/weewx/bin/weedb/__init__.py to __init__.pyc
byte-compiling /home/weewx/bin/weeutil/weeutil.py to weeutil.pyc
byte-compiling /home/weewx/bin/weeutil/rsyncupload.py to rsyncupload.pyc
byte-compiling /home/weewx/bin/weeutil/ftpupload.py to ftpupload.pyc
byte-compiling /home/weewx/bin/weeutil/config.py to config.pyc
byte-compiling /home/weewx/bin/weeutil/Moon.py to Moon.pyc
byte-compiling /home/weewx/bin/weeutil/Sun.py to Sun.pyc
byte-compiling /home/weewx/bin/weeutil/__init__.py to __init__.pyc
byte-compiling /home/weewx/bin/weeplot/genplot.py to genplot.pyc
byte-compiling /home/weewx/bin/weeplot/utilities.py to utilities.pyc
byte-compiling /home/weewx/bin/weeplot/__init__.py to __init__.pyc
byte-compiling /home/weewx/bin/user/extensions.py to extensions.pyc
byte-compiling /home/weewx/bin/user/__init__.py to __init__.pyc
byte-compiling /home/weewx/bin/weeimport/weeimport.py to weeimport.pyc
byte-compiling /home/weewx/bin/weeimport/cumulusimport.py to cumulusimport.pyc
byte-compiling /home/weewx/bin/weeimport/csvimport.py to csvimport.pyc
byte-compiling /home/weewx/bin/weeimport/wuimport.py to wuimport.pyc
byte-compiling /home/weewx/bin/weeimport/__init__.py to __init__.pyc
copying /home/weewx/bin.20200115134128/user/schemas.py.old -> /home/weewx/bin/
copying /home/weewx/bin.20200115134128/user/extensions.py -> /home/weewx/bin/u
copying /home/weewx/bin.20200115134128/user/extensions.pyc -> /home/weewx/bin/
copying /home/weewx/bin.20200115134128/user/__init__.pyc -> /home/weewx/bin/us
copying /home/weewx/bin.20200115134128/user/__init__.py -> /home/weewx/bin/use
running install_scripts
copying build/scripts-2.7/weewxd -> /home/weewx/bin
copying build/scripts-2.7/wee_config -> /home/weewx/bin
copying build/scripts-2.7/wee_extension -> /home/weewx/bin
copying build/scripts-2.7/wee_import -> /home/weewx/bin
copying build/scripts-2.7/wee_reports -> /home/weewx/bin
copying build/scripts-2.7/wee_device -> /home/weewx/bin
copying build/scripts-2.7/wunderfixer -> /home/weewx/bin
copying build/scripts-2.7/wee_database -> /home/weewx/bin
copying build/scripts-2.7/wee_debug -> /home/weewx/bin
changing mode of /home/weewx/bin/weewxd to 755
changing mode of /home/weewx/bin/wee_config to 755
changing mode of /home/weewx/bin/wee_extension to 755
changing mode of /home/weewx/bin/wee_import to 755
changing mode of /home/weewx/bin/wee_reports to 755
changing mode of /home/weewx/bin/wee_device to 755
changing mode of /home/weewx/bin/wunderfixer to 755
changing mode of /home/weewx/bin/wee_database to 755
changing mode of /home/weewx/bin/wee_debug to 755
running install_data

*** Configuration file has both a 'WMR-USB' section and a 'WMR100' section. Ab



=-=-=-===-
  GNU nano 3.2                                                               weewx.conf

    rain_year_start = 1

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

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

#   This section is for uploading data to Internet sites

[StdRESTful]

    [[StationRegistry]]
        # To register this weather station with weewx, set this to true
        register_this_station = false

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

        # If you wish to do this, set the option 'enable' to true,
        # and 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 do this, set the option 'enable' to true,
        # and specify the station ID (e.g., CW1234).
        enable = false
        station = replace_me

        # If this is an APRS (radio amateur) station, uncomment
        # the following and replace with a passcode (e.g., 12345).
        #passcode = replace_me (APRS stations only)

    [[PWSweather]]
        # This section is for configuring posts to PWSweather.com.

        # If you wish to do this, set the option 'enable' to true,
        # and specify a station and password.
        # To guard against parsing errors, put the password in quotes.
        enable = false
        station  = replace_me
        password = "replace_me"

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

        # If you wish to do this, set the option 'enable' to true,
        # and specify a station and password.
        # To guard against parsing errors, put the password in quotes.
        enable = false

    [[Wunderground]]
        # This section is for configuring posts to the Weather Underground.

        # If you wish to do this, set the option 'enable' to true,
        # and specify a station (e.g., 'KORHOODR3') and password.
        # To guard against parsing errors, put the password in quotes.
        enable = false
        station  = replace_me
        password = "replace_me"

        # Set the following to True to have weewx use the WU "Rapidfire"
        # protocol. Not all hardware can support it. See the User's Guide.
        rapidfire = False

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

#   This section specifies what reports, using which skins, to generate.

[StdReport]

    # Where the skins reside, relative to WEEWX_ROOT
    SKIN_ROOT = skins

    # Where the generated reports should go, relative to WEEWX_ROOT
    HTML_ROOT = public_html

    # The database binding indicates which data should be used in reports.
    data_binding = wx_binding

    # Whether to log a successful operation
    log_success = True

    # Whether to log an unsuccessful operation
    log_failure = False

    # Each of the following subsections defines a report that will be run.
    # See the customizing guide to change the units, plot types and line
    # colors, modify the fonts, display additional sensor data, and other
    # customizations. Many of those changes can be made here by overriding
    # parameters, or by modifying templates within the skin itself.

    [[SeasonsReport]]
        # The SeasonsReport uses the 'Seasons' skin, which contains the
        # images, templates and plots for the report.
        skin = Seasons
        enable = true

    [[SmartphoneReport]]
        # The SmartphoneReport uses the 'Smartphone' skin, and the images and
        # files are placed in a dedicated subdirectory.
        skin = Smartphone
  enable = false
        HTML_ROOT = public_html/smartphone

    [[MobileReport]]
        # The MobileReport uses the 'Mobile' skin, and the images and files
        # are placed in a dedicated subdirectory.
        skin = Mobile
        enable = false
        HTML_ROOT = public_html/mobile

    [[StandardReport]]
        # This is the old "Standard" skin. By default, it is not enabled.
        skin = Standard
        enable = false

    [[FTP]]
        # FTP'ing the results to a webserver is treated as just another report,
        # albeit one with an unusual report generator!
        skin = Ftp

        # If you wish to use FTP, set "enable" to "true", then
        # fill out the next four lines.
        # Use quotes around passwords to guard against parsing errors.
        enable = false
        user = replace_me
        password = "replace_me"
        server = replace_me    # The ftp server name, e.g, www.myserver.org
        path = replace_me      # The destination directory, e.g., /weather

        # Set to True for an FTP over TLS (FTPS) connection. Not all servers
        # support this.
        secure_ftp = False

        # To upload files from something other than what HTML_ROOT is set
        # to above, specify a different HTML_ROOT here.
        #HTML_ROOT = public_html

        # Most FTP servers use port 21
        port = 21

        # Set to 1 to use passive mode, zero for active mode
        passive = 1

    [[RSYNC]]
        # rsync'ing to a webserver is treated as just another report
        skin = Rsync

        # If you wish to use rsync, you must configure passwordless ssh using
        # public/private key authentication from the user account that weewx
        # runs to the user account on the remote machine where the files
        # will be copied.
        #
        # If you wish to use rsync, set "enable" to "true", then
 # fill out server, user, and path.
        # The server should appear in your .ssh/config file.
        # The user is the username used in the identity file.
        # The path is the destination directory, such as /var/www/html/weather.
        # Be sure that the user has write permissions on the destination!
        enable = false
        server = replace_me
        user = replace_me
        path = replace_me

        # To upload files from something other than what HTML_ROOT is set
        # to above, specify a different HTML_ROOT here.
        #HTML_ROOT = public_html

        # Rsync can be configured to remove files from the remote server if
        # they don't exist under HTML_ROOT locally. USE WITH CAUTION: if you
        # make a mistake in the remote path, you could could unintentionally
        # cause unrelated files to be deleted. Set to 1 to enable remote file
        # deletion, zero to allow files to accumulate remotely.
        delete = 0

    ####

    # Various options for customizing your reports.

    [[Defaults]]
        [[[Units]]]

            # The following section sets what unit to use for each unit group.
            # NB: The unit is always in the singular. I.e., 'mile_per_hour',
            # NOT 'miles_per_hour'
            [[[[Groups]]]]

                group_altitude     = foot                 # Options are 'foot' or 'meter'
                group_degree_day   = degree_F_day         # Options are 'degree_F_day' or 'degree_C_day'
                group_pressure     = inHg                 # Options are 'inHg', 'mmHg', 'mbar', or 'hPa'
                group_rain         = inch                 # Options are 'inch', 'cm', or 'mm'
                group_rainrate     = inch_per_hour        # Options are 'inch_per_hour', 'cm_per_hour', or 'mm_per_hour'
                group_speed        = mile_per_hour        # Options are 'mile_per_hour', 'km_per_hour', 'knot', or 'meter_per_second'
                group_speed2       = mile_per_hour2       # Options are 'mile_per_hour2', 'km_per_hour2', 'knot2', or 'meter_per_second2'
                group_temperature  = degree_F             # Options are 'degree_F' or 'degree_C'

            # The following section sets the formatting for each type of unit.
            [[[[StringFormats]]]]

                centibar           = %.0f
                cm                 = %.2f
                cm_per_hour        = %.2f
                degree_C           = %.1f
                degree_F           = %.1f
                degree_compass     = %.0f
      foot               = %.0f
                hPa                = %.1f
                hour               = %.1f
                inHg               = %.3f
                inch               = %.2f
                inch_per_hour      = %.2f
                km_per_hour        = %.0f
                km_per_hour2       = %.1f
                knot               = %.0f
                knot2              = %.1f
                mbar               = %.1f
                meter              = %.0f
                meter_per_second   = %.1f
                meter_per_second2  = %.1f
                mile_per_hour      = %.0f
                mile_per_hour2     = %.1f
                mm                 = %.1f
                mmHg               = %.1f
                mm_per_hour        = %.1f
                percent            = %.0f
                second             = %.0f
                uv_index           = %.1f
                volt               = %.1f
                watt_per_meter_squared = %.0f
                NONE               = "   N/A"

            # The following section sets the label for each type of unit
      [[[[Labels]]]]

                day               = " day",    " days"
                hour              = " hour",   " hours"
                minute            = " minute", " minutes"
                second            = " second", " seconds"
                NONE              = ""

            # The following section sets the format for each time scale.
            # The values below will work in every locale, but they may not look
            # particularly attractive.
            [[[[TimeFormats]]]]

                hour       = %H:%M
                day        = %X
                week       = %X (%A)
                month      = %x %X
                year       = %x %X
                rainyear   = %x %X
                current    = %x %X
                ephem_day  = %X
                ephem_year = %x %X

            [[[[Ordinates]]]]

                # Ordinal directions. The last one is for no wind direction
         directions = N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, NW, NNW, N/A

            # The following section sets the base temperatures used for the
            #  calculation of heating and cooling degree-days.
            [[[[[DegreeDays]]]]]

                # Base temperature for heating days, with unit:
                heating_base = 65, degree_F
                # Base temperature for cooling days, with unit:
                cooling_base = 65, degree_F

            # A trend takes a difference across a time period. The following
            # section sets the time period, and how big an error is allowed to
            # still be counted as the start or end of a period.
            [[[[[Trend]]]]]

                time_delta = 10800  # 3 hours
                time_grace = 300    # 5 minutes

        # The labels to be used for each observation type
        [[[Labels]]]

            # Set to hemisphere abbreviations suitable for your location:
            hemispheres = N, S, E, W

            # Formats to be used for latitude whole degrees, longitude whole
        # degrees, and minutes:
            latlon_formats = "%02d", "%03d", "%05.2f"

            # Generic labels, keyed by an observation type.
            [[[[Generic]]]]
                barometer      = Barometer
                dewpoint       = Dew Point
                ET             = ET
                heatindex      = Heat Index
                inHumidity     = Inside Humidity
                inTemp         = Inside Temperature
                outHumidity    = Humidity
                outTemp        = Outside Temperature
                radiation      = Radiation
                rain           = Rain
                rainRate       = Rain Rate
                UV             = UV Index
                windDir        = Wind Direction
                windGust       = Gust Speed
                windGustDir    = Gust Direction
                windSpeed      = Wind Speed
                windchill      = Wind Chill
                windgustvec    = Gust Vector
                windvec        = Wind Vector
                extraTemp1     = Temperature1
                extraTemp2     = Temperature2
                extraTemp3     = Temperature3

                # Sensor status indicators

                rxCheckPercent       = Signal Quality
                txBatteryStatus      = Transmitter Battery
                windBatteryStatus    = Wind Battery
                rainBatteryStatus    = Rain Battery
                outTempBatteryStatus = Outside Temperature Battery
                inTempBatteryStatus  = Inside Temperature Battery
                consBatteryVoltage   = Console Battery
                heatingVoltage       = Heating Battery
                supplyVoltage        = Supply Voltage
                referenceVoltage     = Reference Voltage

        [[[Almanac]]]

            # The labels to be used for the phases of the moon:
            moon_phases = New, Waxing crescent, First quarter, Waxing gibbous, Full, Waning gibbous, Last quarter, Waning crescent

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

#   This service acts as a filter, converting the unit system coming from
#   the hardware to a unit system in the database.

[StdConvert]

    # The target_unit affects only the unit system in the database. Once
    # chosen it cannot be changed without converting the entire database.
    # Modification of target_unit after starting weewx will result in
    # corrupt data - the database will contain a mix of US and METRIC data.
    #
    # The value of target_unit does not affect the unit system for
    # reporting - reports can display US, Metric, or any combination of units.
    #
    # In most cases, target_unit should be left as the default: US
    #
    # In particular, those migrating from a standard wview installation
    # should use US since that is what the wview database contains.

    # DO NOT MODIFY THIS VALUE UNLESS YOU KNOW WHAT YOU ARE DOING!
    target_unit = US    # Options are 'US', 'METRICWX', or 'METRIC'

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

#   This section can adjust data using calibration expressions.

[StdCalibrate]

    [[Corrections]]
        # For each type, an arbitrary calibration expression can be given.
        # It should be in the units defined in the StdConvert section.
        # Example:
        foo = foo + 0.2

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

#   This section is for quality control checks. If units are not specified,
#   values must be in the units defined in the StdConvert section.

[StdQC]

    [[MinMax]]
        barometer = 26, 32.5, inHg
        pressure = 24, 34.5, inHg
        outTemp = -40, 120, degree_F
        inTemp = 10, 120, degree_F
        outHumidity = 0, 100
        inHumidity = 0, 100
        windSpeed = 0, 120, mile_per_hour
        rain = 0, 10, inch

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

#   This section controls the origin of derived values.

[StdWXCalculate]

    [[Calculations]]
        # How to calculate derived quantities.  Possible values are:
        #  hardware        - use the value provided by hardware
        #  software        - use the value calculated by weewx
        #  prefer_hardware - use value provide by hardware if available,
        #                      otherwise use value calculated by weewx

        pressure = prefer_hardware
        barometer = prefer_hardware
        altimeter = prefer_hardware
        windchill = prefer_hardware
        heatindex = prefer_hardware
        dewpoint = prefer_hardware
        inDewpoint = prefer_hardware
        rainRate = prefer_hardware

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

#   For hardware that supports it, this section controls how often the
#   onboard clock gets updated.

[StdTimeSynch]

    # How often to check the weather station clock for drift (in seconds)
    clock_check = 14400

    # How much it can drift before we will correct it (in seconds)
    max_drift = 5

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

#   This section is for configuring the archive service.

[StdArchive]

    # If the station hardware supports data logging then the archive interval
    # will be downloaded from the station. Otherwise, specify it (in seconds).
    archive_interval = 300

    # If possible, new archive records are downloaded from the station
    # hardware. If the hardware does not support this, then new archive
    # records will be generated in software.
    # Set the following to "software" to force software record generation.
    record_generation = hardware

    # Whether to include LOOP data in hi/low statistics
    loop_hilo = True

    # The data binding used to save archive records
    data_binding = wx_binding

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

#   This section binds a data store to a database.

[DataBindings]

    [[wx_binding]]
        # The database must match one of the sections in [Databases].
        # This is likely to be the only option you would want to change.
        database = archive_sqlite
        # The name of the table within the database
        table_name = archive
        # The manager handles aggregation of data for historical summaries
        manager = weewx.wxmanager.WXDaySummaryManager
        # The schema defines the structure of the database.
        # It is *only* used when the database is created.
        schema = schemas.wview.schema

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

#   This section defines various databases.

[Databases]

    # A SQLite database is simply a single file
    [[archive_sqlite]]
        database_name = weewx.sdb
        database_type = SQLite

    # MySQL
    [[archive_mysql]]
        database_name = weewx
        database_type = MySQL

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

#   This section defines defaults for the different types of databases.

[DatabaseTypes]

    # Defaults for SQLite databases
    [[SQLite]]
        driver = weedb.sqlite
        # Directory in which the database files are located
        SQLITE_ROOT = %(WEEWX_ROOT)s/archive

    # Defaults for MySQL databases
    [[MySQL]]
        driver = weedb.mysql
        # The host where the database is located
        host = localhost
        # The user name for logging in to the host
        user = weewx

        # The user name for logging in to the host
        user = weewx
        # The password for the user name (quotes guard against parsing errors)
        password = "weewx"

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

#   This section configures the internal weewx engine.

[Engine]

    [[Services]]
        # This section specifies the services that should be run. They are
        # grouped by type, and the order of services within each group
        # determines the order in which the services will be run.
        prep_services = weewx.engine.StdTimeSynch
        data_services = ,
        process_services = weewx.engine.StdConvert, weewx.engine.StdCalibrate, weewx.engine.StdQC, weewx.wxservices.StdWXCalculate
        archive_services = weewx.engine.StdArchive
        restful_services = weewx.restx.StdStationRegistry, weewx.restx.StdWunderground, weewx.restx.StdPWSweather, weewx.restx.StdCWOP, weewx.restx.StdWOW, wee$
        report_services = weewx.engine.StdPrint, weewx.engine.StdReport

Xerxes Shelley

unread,
Jan 17, 2020, 11:01:38 AM1/17/20
to weewx-user
morning world!

wondering if anyone knows why i get the error in the picture? again any help would be appreciated. 

Thomas Keffer

unread,
Jan 17, 2020, 11:22:31 AM1/17/20
to weewx-user
With WeeWX version 2.5 (released 2013), the name of the WMR section was changed from WMR-USB to WMR100. Normally, setup.py takes care of the name change, but in your case, you already have a WMR100 section, so setup.py doesn't know which one is correct and aborted.

Go into weewx.conf and figure one which one is correct. My guess is the WMR100 section is correct. Then delete (or comment out) the other section (probably WMR-USB). This means you start with something like this:

.
.
.
[WMR-USB]
  option1 = value
  option2 = value

[WMR100]
  some_other_option = value
.
.
.

and end up with

.
.
.
# [WMR-USB]
#    option1 = value
#    option2 = value

[WMR100]
  some_other_option = value
.
.
.

I don't remember what actual options are used in these sections. That's why I've used the generic names "option1", "option2", etc.

If this is all too much for you, you can email me your weewx.conf file and I'll do the corrections. After draining your bank account, of course. :-)

-tk

--
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/a497e042-025d-448d-b9b8-606746811e6d%40googlegroups.com.

Xerxes Shelley

unread,
Jan 17, 2020, 11:17:17 PM1/17/20
to weewx-user
So after much futzing around. Learning how to use the GREP command, (which btw is a damn cool command, let's you search inside a file inside a directory.) I finally went into the "docs" directory inside of the weewx-v.e.rsion directory.... there is an insall.html. I opened it up in the raspbian desktop, and followed the directions in it. SOLVED my setup problems!

i'm going to post this on this group hoping that it shows up in google searches. Hope current users of this board don't mind. For future users-
this is straight from from the above mentioned document.

WeeWX: Installation using apt-get       
This is the fastest way to install WeeWX on Debian-based systems, including Ubuntu, Mint, and Raspbian.

Configure apt
Tell apt where to find the WeeWX releases. This only has to be done once - the first time you install.

wget -qO - http://weewx.com/keys.html | sudo apt-key add -
wget -qO - http://weewx.com/apt/weewx.list | sudo tee /etc/apt/sources.list.d/weewx.list

Install
Use apt-get to install WeeWX. When you are done, WeeWX will be running in the background as a daemon.

sudo apt-get update
sudo apt-get install weewx

Verify
After 5 to 30 minutes, open the station web page in a web browser. You should see your station information and data.

file:///var/www/html/weewx/index.html

Uninstall
This will remove WeeWX, leaving any data intact.

sudo apt-get remove weewx

Where to go from here...
User's Guide - configuration options, integrating with a web server, and troubleshooting
Customization Guide - instructions for modifying reports and adding extensions
Hardware Guide - details about weather station capabilities and quirks
Utilities Guide - reference for the command-line options and actions
wiki - HOWTOs, extensions, and drivers
User Group
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.

Andrew Milner

unread,
Jan 18, 2020, 3:16:43 AM1/18/20
to weewx-user
or even better - read the documentation BEFOrE downloading any files!!  The install documentation for debian, mint and raspbian can be found at

with weewx the documentation should be read, digested and understood to appreciate the power of weewx.

very little information is duplicated between the different documents, so one should at least try and appreciate the topics contained in each.  Especially useful is the utilities documentation.
Reply all
Reply to author
Forward
0 new messages