Definitely a problem. We should have a solution soon.

-tk

On Mon, Mar 13, 2017 at 7:51 AM, Mauro De Lauretis <
[email protected]> wrote:

>
>
> I have the same problem after uploading to 3.7.0 version
>
>
> Il giorno lunedì 13 marzo 2017 15:12:38 UTC+1, WindnFog ha scritto:
>
>> Good day, gentlemen,
>>
>>     I just upgraded to 3.7.0.  It is working well with the exception of
>> rapidfire to Wunderground.  It works with Wunderground using the
>> station/password, just seems to kill the Wunderground-RF thread on start up:
>>
>>
>> Mar 13 10:08:43 norge weewx[3814]: engine: Initializing weewx version
>> 3.7.0
>> Mar 13 10:08:43 norge weewx[3814]: engine: Using Python 2.7.5 (default,
>> Nov  6 2016, 00:28:07)
>>                                    [GCC 4.8.5 20150623 (Red Hat
>> 4.8.5-11)]
>> Mar 13 10:08:43 norge weewx[3814]: engine: Platform
>> Linux-3.10.0-514.10.2.el7.x86_64-x86_64-with-centos-7.3.1611-Core
>> Mar 13 10:08:43 norge weewx[3814]: engine: Locale is 'en_CA.UTF-8'
>> Mar 13 10:08:43 norge weewx[3814]: engine: pid file is /var/run/weewx.pid
>> Mar 13 10:08:43 norge weewx[3819]: engine: Using configuration file
>> /etc/weewx/weewx.conf
>> Mar 13 10:08:43 norge weewx[3819]: engine: Loading station type Vantage
>> (weewx.drivers.vantage)
>> Mar 13 10:08:43 norge weewx[3809]: Starting weewx: [  OK  ]
>> Mar 13 10:08:43 norge polkitd[834]: Unregistered Authentication Agent for
>> unix-process:3803:64651857 (system bus name :1.19408, object path
>> /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_CA.UTF-8)
>> (disconnected from bus)
>> Mar 13 10:08:43 norge weewx[3819]: engine: StdConvert target unit is 0x10
>> Mar 13 10:08:43 norge weewx[3819]: wxcalculate: The following values will
>> be calculated: barometer=prefer_hardware, windchill=software,
>> dewpoint=prefer_hardware, appTemp=prefer_hardware,
>> rainRate=prefer_hardware, windrun=prefer_hardware,
>> heatindex=prefer_hardware, maxSolarRad=prefer_hardware,
>> humidex=prefer_hardware, pressure=prefer_hardware,
>> inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware,
>> cloudbase=prefer_hardware
>> Mar 13 10:08:43 norge weewx[3819]: wxcalculate: The following algorithms
>> will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
>> Mar 13 10:08:43 norge weewx[3819]: engine: Archive will use data binding
>> wx_binding
>> Mar 13 10:08:43 norge weewx[3819]: engine: Record generation will be
>> attempted in 'hardware'
>> Mar 13 10:08:43 norge weewx[3819]: engine: Using archive interval of 300
>> seconds (specified by hardware)
>> Mar 13 10:08:43 norge weewx[3819]: engine: Using binding 'wx_binding' to
>> database 'weewx.sdb'
>> Mar 13 10:08:43 norge weewx[3819]: manager: Starting backfill of daily
>> summaries
>> Mar 13 10:08:43 norge weewx[3819]: restx: StationRegistry: Station will
>> be registered.
>> Mar 13 10:08:43 norge weewx[3819]: restx: Wunderground-RF: Data for
>> station INOVASCO212 will be posted
>> Mar 13 10:08:43 norge weewx[3819]: restx: PWSWeather: Data for station
>> LakeEcho01 will be posted
>> Mar 13 10:08:43 norge weewx[3819]: restx: CWOP: Data for station VE1DX
>> will be posted
>> Mar 13 10:08:43 norge weewx[3819]: restx: WOW: Data for station 953456001
>> will be posted
>> Mar 13 10:08:43 norge weewx[3819]: restx: AWEKAS: Data will be uploaded
>> for user VE1DX
>> Mar 13 10:08:43 norge weewx[3819]: restx: WeatherCloud: service version
>> is 0.10
>> Mar 13 10:08:43 norge weewx[3819]: restx: WeatherCloud: Data will be
>> uploaded for id=3563c30a5fb9c1d6
>> Mar 13 10:08:43 norge weewx[3819]: engine: Starting up weewx version 3.7.0
>> Mar 13 10:08:43 norge weewx[3819]: engine: Clock error is 0.37 seconds
>> (positive is fast)
>> Mar 13 10:08:43 norge weewx[3819]: engine: Starting main packet loop.
>> Mar 13 10:08:43 norge weewx[3819]: restx: Wunderground-RF: Unexpected
>> exception of type <type 'exceptions.ValueError'>
>> Mar 13 10:08:43 norge weewx[3819]: restx: Wunderground-RF: Thread
>> exiting. Reason: Inconsistent units (16 vs 16 vs 1) when querying for
>> hourRain
>>
>>
>>     If I disable rapidfire in the Wunderground section of
>> /etc/weewx/weewx.conf it stops this, but I'm looking for a suggestion as to
>> where to look to resolve thehourRain inconsistency.  I may have missed
>> something in the list of upgrade notes.
>>  I didn't change the length of your archive interval, nor do I intend to.
>> I don't think the interval bug on weighting applies to me, does it?
>>
>>      I don't see anything in the change log that applies to this,
>> either.  I'd like to use rapidfire with Wunderground again . . . I'm sure
>> it's something simple I missed.
>>
>>     Here is my weewx.debug (with the Wunderground rapidfire temporarily
>> set to false):
>>
>> Using configuration file /etc/weewx/weewx.conf
>> Using database binding 'wx_binding', which is bound to database
>> 'archive_sqlite'
>>
>> System info
>>   cpu cores:              4
>>   bogomips:               7996.10
>>   core id:                3
>>   apicid:                 7
>>   fpu_exception:          yes
>>   stepping:               3
>>   cache_alignment:        64
>>   clflush size:           64
>>   microcode:              0x20
>>   cache size:             8192 KB
>>   cpuid level:            13
>>   fpu:                    yes
>>   model name:             Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
>>   siblings:               8
>>   physical id:            0
>>   address sizes:          39 bits physical, 48 bits virtual
>>   cpu family:             6
>>   vendor_id:              GenuineIntel
>>   wp:                     yes
>>   power management:
>>   flags:                  fpu vme de pse tsc msr pae mce cx8 apic sep
>> mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
>> syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good
>> nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor
>> ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe
>> popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat
>> epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase
>> tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
>>   cpu MHz:                2822.968
>>   model:                  60
>>   processor:              7
>>   initial apicid:         7
>>
>>   Operating system:       CentOS Linux 7.3.1611 Core
>>                           Linux norge 3.10.0-514.10.2.el7.x86_64 #1 SMP
>> Fri Mar 3 00:04:05 UTC 2017 x86_64
>>   1 minute load average:  0.01
>>   5 minute load average:  0.04
>>   15 minute load average: 0.05
>>
>> General weewx info
>>   Weewx version 3.7.0 detected.
>>
>> Station info
>>   Station type: Vantage
>>   Driver:       weewx.drivers.vantage
>>
>> Driver info
>> [Vantage]
>>     # This section is for the Davis Vantage series of weather stations.
>>
>>     # Connection type: serial or ethernet
>>     #  serial (the classic VantagePro)
>>     #  ethernet (the WeatherLinkIP)
>>     type = serial
>>
>>     # If the connection type is serial, a port must be specified:
>>     #   Debian, Ubuntu, Redhat, Fedora, and SuSE:
>>     #     /dev/ttyUSB0 is a common USB port name
>>     #     /dev/ttyS0   is a common serial port name
>>     #   BSD:
>>     #     /dev/cuaU0   is a common serial port name
>>     port = /dev/ttyUSB0
>>
>>     # If the connection type is ethernet, an IP Address/hostname is
>> required:
>>     host = 1.2.3.4
>>
>>     ######################################################
>>     # The rest of this section rarely needs any attention.
>>     # You can safely leave it "as is."
>>     ######################################################
>>
>>     # Serial baud rate (usually 19200)
>>     baudrate = 19200
>>
>>     # TCP port (when using the WeatherLinkIP)
>>     tcp_port = 22222
>>
>>     # TCP send delay (when using the WeatherLinkIP):
>>     tcp_send_delay = 1
>>
>>     # The id of your ISS station (usually 1)
>>     iss_id = 1
>>
>>     # How long to wait for a response from the station before giving up
>> (in
>>     # seconds; must be greater than 2)
>>     timeout = 5
>>
>>     # How long to wait before trying again (in seconds)
>>     wait_before_retry = 1.2
>>
>>     # How many times to try before giving up:
>>     max_tries = 4
>>
>>     # The driver to use:
>>     driver = weewx.drivers.vantage
>>
>> Currently installed extensions
>> Extension Name    Version   Description
>> wcloud            0.10      Upload weather data to WeatherCloud.
>>
>> Archive info
>>   Database name:        weewx.sdb
>>   Table name:           archive
>>   Unit system:          16 (METRIC)
>>   First good timestamp: 2015-09-27 20:06:00 ADT (1443395160)
>>   Last good timestamp:  2017-03-13 10:55:00 ADT (1489413300)
>>   Number of records:    156379
>>   weewx (weewx.conf) is set to use an archive interval of 300 seconds.
>>   The station hardware was not interrogated in determining archive
>> interval.
>>
>> Databases configured in weewx.conf
>>   Database name:        weewx.sdb
>>   Database driver:      weedb.sqlite
>>
>>   Database name:        weewx
>>   Database driver:      weedb.mysql
>>   Database host:        localhost
>>
>>
>> Parsed and obfuscated weewx.conf
>> # WEEWX CONFIGURATION FILE
>> #
>> # Copyright (c) 2009-2015 Tom Keffer <[email protected]>
>>
>> # 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 = 0
>>
>> # Root directory of the weewx data file hierarchy for this station
>> WEEWX_ROOT = /home/weewx
>>
>> # 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.7.0
>>
>> ############################################################
>> ##################
>>
>> #   This section is for information about the station.
>>
>> [Station]
>>
>>     # Description of the station location
>>     location = "Lake Echo, Nova Scotia"
>>
>>     # Latitude and longitude in decimal degrees
>>     latitude = 44.73794
>>     longitude = -63.37766
>>
>>     # Altitude of the station, with unit it is in. This is downloaded from
>>     # from the station if the hardware supports it.
>>     altitude = 29, meter    # Choose 'foot' or 'meter' for unit
>>
>>     # 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 = Vantage
>>
>>     # 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
>>
>>     # If you have a website, you may specify a URL
>>     station_url = XXX obfuscated by wee_debug XXX
>>
>> ############################################################
>> ##################
>>
>> [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. If not specified, the default is to use the present
>> time.
>>     #start = 2011-01-01 00:00
>>
>>     # The driver to use:
>>     driver = weewx.drivers.simulator
>>
>>
>> ############################################################
>> ##################
>>
>> [Vantage]
>>     # This section is for the Davis Vantage series of weather stations.
>>
>>     # Connection type: serial or ethernet
>>     #  serial (the classic VantagePro)
>>     #  ethernet (the WeatherLinkIP)
>>     type = serial
>>
>>     # If the connection type is serial, a port must be specified:
>>     #   Debian, Ubuntu, Redhat, Fedora, and SuSE:
>>     #     /dev/ttyUSB0 is a common USB port name
>>     #     /dev/ttyS0   is a common serial port name
>>     #   BSD:
>>     #     /dev/cuaU0   is a common serial port name
>>     port = /dev/ttyUSB0
>>
>>     # If the connection type is ethernet, an IP Address/hostname is
>> required:
>>     host = 1.2.3.4
>>
>>     ######################################################
>>     # The rest of this section rarely needs any attention.
>>     # You can safely leave it "as is."
>>     ######################################################
>>
>>     # Serial baud rate (usually 19200)
>>     baudrate = 19200
>>
>>     # TCP port (when using the WeatherLinkIP)
>>     tcp_port = 22222
>>
>>     # TCP send delay (when using the WeatherLinkIP):
>>     tcp_send_delay = 1
>>
>>     # The id of your ISS station (usually 1)
>>     iss_id = 1
>>
>>     # How long to wait for a response from the station before giving up
>> (in
>>     # seconds; must be greater than 2)
>>     timeout = 5
>>
>>     # How long to wait before trying again (in seconds)
>>     wait_before_retry = 1.2
>>
>>     # How many times to try before giving up:
>>     max_tries = 4
>>
>>     # The driver to use:
>>     driver = weewx.drivers.vantage
>>
>> ############################################################
>> ##################
>>
>> #   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 = true
>>         station_url = XXX obfuscated by wee_debug XXX
>>
>>     [[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.
>>         enable = true
>>         username = XXX obfuscated by wee_debug XXX
>>         password = XXX obfuscated by wee_debug XXX
>>
>>     [[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 = true
>>         station = XXX obfuscated by wee_debug XXX
>>         passcode = 19683
>>         post_interval = 300
>>         log_success = True
>>         log_failure = True
>>         server_list = rotate.aprs.net:14580, rotate.aprs2.net:14580,
>> cwop.aprs.net:14580, cwop.aprs.net:23
>>     #   station = EW8606
>>     # If this is an APRS (radio amateur) station, uncomment
>>     # the following and replace with a passcode (e.g., 12345).
>>     # passcode = -1
>>
>>
>>     [[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.
>>         enable = true
>>         station = XXX obfuscated by wee_debug XXX
>>         password = XXX obfuscated by wee_debug XXX
>>
>>     [[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.
>>         enable = true
>>         station = XXX obfuscated by wee_debug XXX
>>         password = XXX obfuscated by wee_debug XXX
>>
>>     [[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.
>>         enable = true
>>         station = XXX obfuscated by wee_debug XXX
>>         password = XXX obfuscated by wee_debug XXX
>>
>>         # 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
>>
>>     [[WeatherCloud]]
>>         id = XXX obfuscated by wee_debug XXX
>>         key = XXX obfuscated by wee_debug XXX
>>
>> ############################################################
>> ##################
>>
>> #   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
>>
>>     # Each of the following subsections defines a report that will be run.
>>
>>     [[StandardReport]]
>>         # 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.
>>
>>         # The StandardReport uses the 'Standard' skin, which contains the
>>         # images, templates and plots for the report.
>>         skin = Standard
>>         [[[Units]]]
>>             [[[[Groups]]]]
>>                 group_altitude = meter
>>                 group_speed2 = km_per_hour2
>>                 group_pressure = mbar
>>                 group_rain = mm
>>                 group_rainrate = mm_per_hour
>>                 group_temperature = degree_C
>>                 group_degree_day = degree_C_day
>>                 group_speed = km_per_hour
>>
>>     [[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, uncomment and fill out the next four
>> lines.
>>         #user = replace with the ftp username
>>         #password = replace with the ftp password
>>         #server = replace with the ftp server name, e.g,
>> www.threefools.org
>>         #path = replace with the ftp 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 = /var/www/html/weewx
>>
>>         # Most FTP servers use port 21
>>         port = 21
>>
>>         # Set to 1 to use passive mode, zero for active mode
>>         passive = 1
>>
>>     # Set to True for a secure FTP (SFTP) connection. Not all servers
>>     # support this.
>>     #secure_ftp = True
>>
>>     # To upload files from something other than what HTML_ROOT is set
>>     # to above, specify a different HTML_ROOT here.
>>     #HTML_ROOT = /home/weewx/public_html
>>
>>     # Most FTP servers use port 21
>>     #port = 21
>>
>>     # Set to 1 to use passive mode, zero for active mode
>>     #passive = 1
>>
>>     # If you wish to use FTP, uncomment and fill out the next four lines.
>>
>>
>>     [[RSYNC]]
>>         # rsync'ing to a webserver is treated as just another report
>>         skin = Rsync
>>
>>         # 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
>>
>>         # If you wish to use rsync, you must configure passwordless ssh
>> using
>>         # public/private key authentication from the user account that
>> weewx
>>         # runs as to the user account on the remote machine where the
>> files
>>         # will be copied.
>>         #
>>         # The following three lines determine where files will be sent.
>>         server = ve1dx.net
>>         path = public_html
>>         user = XXX obfuscated by wee_debug XXX
>>
>> ############################################################
>> ##################
>>
>> #   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 = METRIC    # 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
>>         outTemp = -40, 120, degree_F
>>         inTemp = 10, 120, degree_F
>>         outHumidity = 0, 100
>>         inHumidity = 0, 100
>>         windSpeed = 0, 120, mile_per_hour
>>         pressure = 24, 34.5, inHg
>>
>> ############################################################
>> ##################
>>
>> #   This section controls the origin of derived values.
>>
>> [StdWXCalculate]
>>     [[Calculations]]
>>         # Derived quantities are calculated by this service. 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 = software
>>         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 = 2
>>
>> ############################################################
>> ##################
>>
>> #   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
>>
>>
>>     # How long to wait (in seconds) before processing new archive data.
>> Must
>>     # be greater than zero.
>>     archive_delay = 15
>>
>>     # 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_type = SQLite
>>         database_name = weewx.sdb
>>
>>     # MySQL
>>     [[archive_mysql]]
>>         database_type = MySQL
>>         database_name = weewx
>>
>> ############################################################
>> ##################
>>
>> #   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 = /home/weewx/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 = XXX obfuscated by wee_debug XXX
>>         # The password for the user name
>>         password = XXX obfuscated by wee_debug XXX
>>
>> ############################################################
>> ##################
>>
>> #   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, weewx.restx.StdAWEKAS,
>> user.wcloud.WeatherCloud
>>         report_services = weewx.engine.StdPrint, weewx.engine.StdReport
>>
>> ############################################################
>> ##################
>> [Alarm]
>>     time_wait = 3600
>>     count_threshold = 25
>>
>>
> --
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to