weewx <> Vantage Vue Problem

179 views
Skip to first unread message

Ruben Navarro Huedo

unread,
May 6, 2017, 2:24:43 PM5/6/17
to weewx-user
Hello friends:

This evening i was helping a friend with weewx and a Vantage Vue.
weewx is not reading data from Vantage Vue.

Please...could you help me?

Attached log and weewx.conf.

[Vantage]
    # This section is for a Davis VantagePro2, VantageVue or WeatherLinkIP

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



May  6 20:20:48 ea5by-meteo weewx[14206]: engine: Initializing weewx version 3.7.1
May  6 20:20:48 ea5by-meteo weewx[14206]: engine: Using Python 2.7.9 (default, Mar  8 2015, 00:52:26) #012[GCC 4.9.2]
May  6 20:20:48 ea5by-meteo weewx[14206]: engine: Platform Linux-4.1.17-v7+-armv7l-with-debian-8.0
May  6 20:20:48 ea5by-meteo weewx[14206]: engine: Locale is 'es_ES.UTF-8'
May  6 20:20:48 ea5by-meteo weewx[14206]: engine: pid file is /var/run/weewx.pid
May  6 20:20:48 ea5by-meteo weewx[14210]: engine: Using configuration file /etc/weewx/weewx.conf
May  6 20:20:48 ea5by-meteo weewx[14210]: engine: debug is 1
May  6 20:20:48 ea5by-meteo weewx[14210]: engine: Initializing engine
May  6 20:20:48 ea5by-meteo weewx[14210]: engine: Loading station type Vantage (weewx.drivers.vantage)
May  6 20:20:48 ea5by-meteo weewx[14197]: Starting weewx weather system: weewx.
May  6 20:20:48 ea5by-meteo systemd[1]: Started LSB: weewx weather system.
May  6 20:20:48 ea5by-meteo weewx[14210]: vantage: driver version is 3.0.10
May  6 20:20:48 ea5by-meteo weewx[14210]: vantage: Opened up serial port /dev/ttyUSB0; baud 19200; timeout 5.00
May  6 20:20:49 ea5by-meteo weewx[14210]: vantage: gentle wake up of console successful
May  6 20:20:49 ea5by-meteo weewx[14210]: vantage: _setup; hardware type is 17
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Loading service weewx.engine.StdTimeSynch
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.engine.StdTimeSynch
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Loading service weewx.engine.StdConvert
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: StdConvert target unit is 0x1
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.engine.StdConvert
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Loading service weewx.engine.StdCalibrate
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.engine.StdCalibrate
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Loading service weewx.engine.StdQC
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.engine.StdQC
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Loading service weewx.wxservices.StdWXCalculate
May  6 20:20:49 ea5by-meteo weewx[14210]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, 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
May  6 20:20:49 ea5by-meteo weewx[14210]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.wxservices.StdWXCalculate
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Loading service user.crt.CumulusRealTime
May  6 20:20:49 ea5by-meteo weewx[14210]: crt: service version is 0.13
May  6 20:20:49 ea5by-meteo weewx[14210]: crt: units will be displayed as METRIC
May  6 20:20:49 ea5by-meteo weewx[14210]: crt: binding is loop
May  6 20:20:49 ea5by-meteo weewx[14210]: crt: output goes to /var/www/weewx/realtime.txt
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Finished loading service user.crt.CumulusRealTime
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Loading service user.cmon.ComputerMonitor
May  6 20:20:49 ea5by-meteo weewx[14210]: cmon: service version is 0.13
May  6 20:20:49 ea5by-meteo weewx[14210]: manager: Daily summary version is 1.0
May  6 20:20:49 ea5by-meteo weewx[14210]: cmon: sysinfo: Linux ea5by-meteo 4.1.17-v7+ #838 SMP Tue Feb 9 13:15:09 GMT 2016 armv7l
May  6 20:20:49 ea5by-meteo weewx[14210]: cmon: cpuinfo: CPU implementer: 0x41
May  6 20:20:49 ea5by-meteo weewx[14210]: cmon: cpuinfo: Features: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
May  6 20:20:49 ea5by-meteo weewx[14210]: cmon: cpuinfo: CPU architecture: 7
May  6 20:20:49 ea5by-meteo weewx[14210]: cmon: cpuinfo: BogoMIPS: 38.40
May  6 20:20:49 ea5by-meteo weewx[14210]: cmon: cpuinfo: Hardware: BCM2709
May  6 20:20:49 ea5by-meteo weewx[14210]: cmon: cpuinfo: CPU revision: 5
May  6 20:20:49 ea5by-meteo weewx[14210]: cmon: cpuinfo: CPU part: 0xc07
May  6 20:20:49 ea5by-meteo weewx[14210]: cmon: cpuinfo: model name: ARMv7 Processor rev 5 (v7l)
May  6 20:20:49 ea5by-meteo weewx[14210]: cmon: cpuinfo: Serial: 0000000081eaa714
May  6 20:20:49 ea5by-meteo weewx[14210]: cmon: cpuinfo: processor: 3
May  6 20:20:49 ea5by-meteo weewx[14210]: cmon: cpuinfo: CPU variant: 0x0
May  6 20:20:49 ea5by-meteo weewx[14210]: cmon: cpuinfo: Revision: a01041
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Finished loading service user.cmon.ComputerMonitor
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Loading service weewx.engine.StdArchive
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Archive will use data binding wx_binding
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Record generation will be attempted in 'software'
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: The archive interval in the configuration file (300) does not match the station hardware interval (1800).
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Using archive interval of 1800 seconds (specified by hardware)
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Use LOOP data in hi/low calculations: 1
May  6 20:20:49 ea5by-meteo weewx[14210]: manager: Daily summary version is 1.0
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
May  6 20:20:49 ea5by-meteo weewx[14210]: manager: Starting backfill of daily summaries
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.engine.StdArchive
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Loading service weewx.restx.StdStationRegistry
May  6 20:20:50 ea5by-meteo weewx[14210]: restx: StationRegistry: Station will be registered.
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.restx.StdStationRegistry
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Loading service weewx.restx.StdWunderground
May  6 20:20:50 ea5by-meteo weewx[14210]: restx: Wunderground: Posting not enabled.
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.restx.StdWunderground
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Loading service weewx.restx.StdPWSweather
May  6 20:20:50 ea5by-meteo weewx[14210]: restx: PWSweather: Posting not enabled.
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.restx.StdPWSweather
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Loading service weewx.restx.StdCWOP
May  6 20:20:50 ea5by-meteo weewx[14210]: restx: CWOP: Data for station EA5BY-13 will be posted
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.restx.StdCWOP
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Loading service weewx.restx.StdWOW
May  6 20:20:50 ea5by-meteo weewx[14210]: restx: WOW: Posting not enabled.
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.restx.StdWOW
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Loading service weewx.restx.StdAWEKAS
May  6 20:20:50 ea5by-meteo weewx[14210]: restx: AWEKAS: Posting not enabled.
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.restx.StdAWEKAS
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Loading service user.wcloud.WeatherCloud
May  6 20:20:50 ea5by-meteo weewx[14210]: restx: WeatherCloud: service version is 0.10
May  6 20:20:50 ea5by-meteo weewx[14210]: restx: WeatherCloud: Data will be uploaded for id=53132c819d3cb39e
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Finished loading service user.wcloud.WeatherCloud
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Loading service weewx.engine.StdPrint
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.engine.StdPrint
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Loading service weewx.engine.StdReport
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.engine.StdReport
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Starting up weewx version 3.7.1
May  6 20:20:50 ea5by-meteo weewx[14210]: vantage: gentle wake up of console successful
May  6 20:20:50 ea5by-meteo weewx[14210]: manager: Daily summary version is 1.0
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Clock error is -0.10 seconds (positive is fast)
May  6 20:20:50 ea5by-meteo weewx[14210]: vantage: Getting archive packets since 2017-05-06 20:00:00 CEST (1494093600)
May  6 20:20:50 ea5by-meteo weewx[14210]: vantage: gentle wake up of console successful
May  6 20:20:50 ea5by-meteo weewx[14210]: manager: Daily summary version is 1.0
May  6 20:20:50 ea5by-meteo weewx[14210]: vantage: Retrieving 0 page(s); starting index= 0
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Starting main packet loop.
May  6 20:20:50 ea5by-meteo weewx[14210]: vantage: gentle wake up of console successful
May  6 20:20:50 ea5by-meteo weewx[14210]: vantage: Requesting 200 LOOP packets.
May  6 20:20:50 ea5by-meteo weewx[14210]: vantage: gentle wake up of console successful
May  6 20:20:49 ea5by-meteo weewx[14210]: engine: Loading service weewx.restx.StdStationRegistry
May  6 20:20:50 ea5by-meteo weewx[14210]: restx: StationRegistry: Station will be registered.
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.restx.StdStationRegistry
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Loading service weewx.restx.StdWunderground
May  6 20:20:50 ea5by-meteo weewx[14210]: restx: Wunderground: Posting not enabled.
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.restx.StdWunderground
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Loading service weewx.restx.StdPWSweather
May  6 20:20:50 ea5by-meteo weewx[14210]: restx: PWSweather: Posting not enabled.
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.restx.StdPWSweather
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Loading service weewx.restx.StdCWOP
May  6 20:20:50 ea5by-meteo weewx[14210]: restx: CWOP: Data for station EA5BY-13 will be posted
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.restx.StdCWOP
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Loading service weewx.restx.StdWOW
May  6 20:20:50 ea5by-meteo weewx[14210]: restx: WOW: Posting not enabled.
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.restx.StdWOW
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Loading service weewx.restx.StdAWEKAS
May  6 20:20:50 ea5by-meteo weewx[14210]: restx: AWEKAS: Posting not enabled.
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.restx.StdAWEKAS
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Loading service user.wcloud.WeatherCloud
May  6 20:20:50 ea5by-meteo weewx[14210]: restx: WeatherCloud: service version is 0.10
May  6 20:20:50 ea5by-meteo weewx[14210]: restx: WeatherCloud: Data will be uploaded for id=53132c819d3cb39e
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Finished loading service user.wcloud.WeatherCloud
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Loading service weewx.engine.StdPrint
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.engine.StdPrint
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Loading service weewx.engine.StdReport
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Finished loading service weewx.engine.StdReport
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Starting up weewx version 3.7.1
May  6 20:20:50 ea5by-meteo weewx[14210]: vantage: gentle wake up of console successful
May  6 20:20:50 ea5by-meteo weewx[14210]: manager: Daily summary version is 1.0
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Clock error is -0.10 seconds (positive is fast)
May  6 20:20:50 ea5by-meteo weewx[14210]: vantage: Getting archive packets since 2017-05-06 20:00:00 CEST (1494093600)
May  6 20:20:50 ea5by-meteo weewx[14210]: vantage: gentle wake up of console successful
May  6 20:20:50 ea5by-meteo weewx[14210]: manager: Daily summary version is 1.0
May  6 20:20:50 ea5by-meteo weewx[14210]: vantage: Retrieving 0 page(s); starting index= 0
May  6 20:20:50 ea5by-meteo weewx[14210]: engine: Starting main packet loop.
May  6 20:20:50 ea5by-meteo weewx[14210]: vantage: gentle wake up of console successful
May  6 20:20:50 ea5by-meteo weewx[14210]: vantage: Requesting 200 LOOP packets.
May  6 20:20:50 ea5by-meteo weewx[14210]: vantage: gentle wake up of console successful

Thomas Keffer

unread,
May 6, 2017, 2:42:40 PM5/6/17
to weewx-user
The order in which the engine is loading services is unusual. Could you please post the complete weewx.conf? Use the tool wee_debug, which will obfuscate any passwords.

wee_debug --info --output=/var/tmp/weewx.debug

Then post the file /var/tmp/weewx.debug

-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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

run...@gmail.com

unread,
May 6, 2017, 2:52:11 PM5/6/17
to Thomas Keffer, weewx-user

A lot of thank’s.

 

Here you have.

 

Using configuration file /etc/weewx/weewx.conf

Using database binding 'wx_binding', which is bound to database 'archive_sqlite'

 

System info

  CPU implementer:        0x41

  Features:               half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm

  CPU architecture:       7

  BogoMIPS:               38.40

  Hardware:               BCM2709

  CPU revision:           5

  CPU part:               0xc07

  model name:             ARMv7 Processor rev 5 (v7l)

  Serial:                 0000000081eaa714

  processor:              3

  CPU variant:            0x0

  Revision:               a01041

 

  Operating system:       debian 8.0

                          Linux ea5by-meteo 4.1.17-v7+ #838 SMP Tue Feb 9 13:15:09 GMT 2016 armv7l

  1 minute load average:  0.01

  5 minute load average:  0.14

  15 minute load average: 0.38

 

General weewx info

  Weewx version 3.7.1 detected.

 

Station info

  Station type: Vantage

  Driver:       weewx.drivers.vantage

 

Driver info

Currently installed extensions

Extension Name    Version   Description

cmon              0.13      Collect and display computer health indicators.

wcloud            0.10      Upload weather data to WeatherCloud.

crt               0.13      Emit a Cumulus realtime.txt for LOOP data.

 

Archive info

  Database name:        weewx.sdb

  Table name:           archive

  Unit system:          1 (US)

  First good timestamp: 2015-12-08 16:12:02 CET (1449587522)

  Last good timestamp:  2017-05-06 20:30:00 CEST (1494095400)

  Number of records:    110759

  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

 

  Database name:        cmon.sdb

  Database driver:      weedb.sqlite

 

 

Parsed and obfuscated weewx.conf

# WEEWX CONFIGURATION FILE

#

# Copyright (c) 2009-2015 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 = /

 

 

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

 

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

 

#   This section is for information about the station.

 

[Station]

 

    # Description of the station location

    location = "EA5BY, Santa Pola (Alicante)"    # REEMPLAZAR

 

    # Latitude and longitude in decimal degrees

    latitude = 38.191271    # REEMPLAZAR

    longitude = -0.582632    # REEMPLAZAR

 

    # Altitude of the station, with unit it is in. This is downloaded from

    # from the station if the hardware supports it.

    altitude = 22, meter    # REEMPLAZAR

 

    # 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 an URL

    station_url = XXX obfuscated by wee_debug XXX

 

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

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

 

#   This section is for uploading data to Internet si

[StdRESTful]

 

    [[StationRegistry]]

        # To register this weather station with weewx, set this to true

        register_this_station = true

        description = EA5BY HamRadio Station    # REEMPLAZAR

        station_url = XXX obfuscated by wee_debug XXX    #REEMPLAZAR

 

    [[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 = false

        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    #REEMPLAZAR

 

        # If this is an APRS (radio amateur) station, uncomment

        # the following and replace with a passcode (e.g., 12345).

        passcode = 23265    # REEMPLAZAR CON NUMERO DE REGISTRO UIVIEW

        post_interval = 900

        log_success = True

        log_failure = True

 

    [[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 = false    # REEMPLAZAR POR FALSE SI NO INTERESA

        station = XXX obfuscated by wee_debug XXX    # REEMPLAZAR SI TRUE

        password = XXX obfuscated by wee_debug XXX    # REEMPLAZAR SI TRUE

 

    [[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 = false

        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 = false    # REEMPLAZAR POR FALSE SI NO INTERESA

        station = XXX obfuscated by wee_debug XXX    # REEMPLAZAR SI TRUE

        password = XXX obfuscated by wee_debug XXX    # REMPLAZAR SI TRUE

 

        # 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 = /etc/weewx/skins

 

    # Where the generated reports should go, relative to WEEWX_ROOT

    HTML_ROOT = /var/www/weewx

 

    # 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 = knot2

                group_pressure = mbar

                group_rain = mm

                group_rainrate = mm_per_hour

                group_temperature = degree_C

                group_degree_day = degree_C_day

                group_speed = knot

    [[cmon]]

        HTML_ROOT = /var/www/weewx/cmon

        skin = cmon

 

    [[FTP]]

        # FTP'ing the results to a webserver is treated as just another report,

        # albeit one with an unusual report generator!

        skin = Ftp

        # Set to True for a secure FTP (SFTP) 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/weewx

 

        # Most FTP servers use port 21

        port = 21

 

        # If you wish to use FTP, uncomment and fill out the next four lines.

        passive = 1

        user = XXX obfuscated by wee_debug XXX    # REEMPLAZAR

        password = XXX obfuscated by wee_debug XXX    # REEMPLAZAR

        server = ftp.ea5by.es    # REEMPLAZAR

        path = /meteo    # REEMPLAZAR

        max_tries = 3

 

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

 

    [[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 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 = replace with the rsync server name, e.g, www.threefools.org

        #path = replace with the rsync destination directory (e.g., /weather)

        #user = replace with the rsync username

 

        # 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

 

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

 

#   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

        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 = 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

 

    # 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 = software

 

    # 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

    [[cmon_binding]]

        manager = weewx.manager.DaySummaryManager

        schema = user.cmon.schema

        table_name = archive

        database = cmon_sqlite

 

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

 

#   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

    [[cmon_sqlite]]

        database_name = cmon.sdb

        database_type = SQLite

 

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

 

#   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 = /var/lib/weewx

 

    # 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, user.crt.CumulusRealTime, user.cmon.ComputerMonitor

        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

 

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

 

# Options for extension 'crt'

[CumulusRealTime]

    filename = /var/www/weewx/realtime.txt

    unit_system = METRIC

 

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

 

# Options for extension 'cmon'

[ComputerMonitor]

    data_binding = cmon_binding

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

----------
Ruben Navarro Huedo - EA5BZ
run...@gmail.com

--

To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.

 

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/7yYGyjs2Pms/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.

Thomas Keffer

unread,
May 6, 2017, 3:12:16 PM5/6/17
to run...@gmail.com, weewx-user
I have no explanation for why there are multiple log entries for some events. It must be something about the logging system on your operating system. 

Your friend's Vantage station is using a very long archive interval of 30 minutes. It's quite possible that everything is fine --- you just haven't waited long enough. You could try a shorter archive interval, say 5 minutes:

wee_device --set-interval=5

-tk

--

To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscribe@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/7yYGyjs2Pms/unsubscribe.

To unsubscribe from this group and all its topics, send an email to weewx-user+unsubscribe@googlegroups.com.

Ruben Navarro Huedo

unread,
May 6, 2017, 3:12:31 PM5/6/17
to weewx-user
Could this be the problem?

May  6 21:08:53 ea5by-meteo weewx[3525]: engine: The archive interval in the configuration file (300) does not match the station hardware interval (1800).
May  6 21:08:53 ea5by-meteo weewx[3525]: engine: Using archive interval of 1800 seconds (specified by hardware)

Ruben Navarro Huedo

unread,
May 6, 2017, 4:02:39 PM5/6/17
to weewx...@googlegroups.com
Solved
This was the problem 

Thanks a lot 

Reply all
Reply to author
Forward
0 new messages