Software > WeeWX

PCE+Raspberr+Weewx ayuda

<< < (8/9) > >>

kike60:
A mi entender si

jantoni:
Eso lo puedes  ver en el fichero de log

/var/log/weewx.log

kike60:
No se lo que tengo que buscar, esto es lo que tiene el fichero:
Mar 10 11:17:11 raspberrypi weewx[1980]: engine: Initializing weewx version 3.1.0
Mar 10 11:17:11 raspberrypi weewx[1980]: engine: Using Python 2.7.3 (default, Mar 18 2014, 05:13:23) #012[GCC 4.6.3]
Mar 10 11:17:11 raspberrypi weewx[1980]: engine: pid file is /var/run/weewx.pid
Mar 10 11:17:11 raspberrypi weewx[2071]: engine: Error while parsing configuration file /etc/weewx/weewx.conf
Mar 10 11:17:11 raspberrypi weewx[2071]: ****    Reason: 'Invalid line at line "265".'
Mar 10 11:27:27 raspberrypi weewx[2170]: engine: Initializing weewx version 3.1.0
Mar 10 11:27:27 raspberrypi weewx[2170]: engine: Using Python 2.7.3 (default, Mar 18 2014, 05:13:23) #012[GCC 4.6.3]
Mar 10 11:27:27 raspberrypi weewx[2170]: engine: pid file is /var/run/weewx.pid
Mar 10 11:27:27 raspberrypi weewx[2172]: engine: Error while parsing configuration file /etc/weewx/weewx.conf
Mar 10 11:27:27 raspberrypi weewx[2172]: ****    Reason: 'Invalid line at line "265".'
Mar 10 15:41:47 raspberrypi weewx[2418]: engine: Initializing weewx version 3.1.0
Mar 10 15:41:47 raspberrypi weewx[2418]: engine: Using Python 2.7.3 (default, Mar 18 2014, 05:13:23) #012[GCC 4.6.3]
Mar 10 15:41:47 raspberrypi weewx[2418]: engine: pid file is /var/run/weewx.pid
Mar 10 15:41:47 raspberrypi weewx[2420]: engine: Error while parsing configuration file /etc/weewx/weewx.conf
Mar 10 15:41:47 raspberrypi weewx[2420]: ****    Reason: 'Invalid line at line "265".'
Mar 10 15:42:24 raspberrypi weewx[2485]: engine: Initializing weewx version 3.1.0
Mar 10 15:42:24 raspberrypi weewx[2485]: engine: Using Python 2.7.3 (default, Mar 18 2014, 05:13:23) #012[GCC 4.6.3]
Mar 10 15:42:24 raspberrypi weewx[2485]: engine: pid file is /var/run/weewx.pid
Mar 10 15:42:24 raspberrypi weewx[2487]: engine: Error while parsing configuration file /etc/weewx/weewx.conf
Mar 10 15:42:24 raspberrypi weewx[2487]: ****    Reason: 'Invalid line at line "265".

kike60:
Este es el fichero etc/weewx/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

    # If the connection type is ethernet, an IP Address/hostname is required:
 #   host = 192.168.1.142

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

    # How many times to try before giving up:
    max_tries = 5

    # The driver to use:
#    driver = weewx.drivers.vantage

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

[WMR100]
    # This section is for the Oregon Scientific WMR100

    # The station model, e.g., WMR100, WMR100N, WMRS200
    model = WMR100

    # How long a wind record can be used to calculate wind chill (in seconds)
    stale_wind = 30

    # The driver to use:
   # driver = weewx.drivers.wmr100

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

[WMR200]
    # This section is for the Oregon Scientific WMR200

    # The station model, e.g., WMR200, WMR200A, Radio Shack W200
    model = WMR200

    # The driver to use:
  #  driver = weewx.drivers.wmr200

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

[WMR9x8]
    # This section is for the Oregon Scientific WMR918/968

    # Connection type. For now, 'serial' is the only option.
    type = serial

    # Serial port such as /dev/ttyS0, /dev/ttyUSB0, or /dev/cuaU0
    port = /dev/ttyUSB0

    # The station model, e.g., WMR918, Radio Shack 63-1016
 #   model = WMR968

    # The driver to use:
   # driver = weewx.drivers.wmr9x8

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

[FineOffsetUSB]
    # This section is for the Fine Offset series of weather stations.

    # The station model, e.g., WH1080, WS1090, WS2080, WH3081
    model = PCE FWS-20

    # The polling mode can be PERIODIC or ADAPTIVE
#    polling_mode = PERIODIC
    polling_mode = ADAPTIVE

    # How often to poll the station for data, in seconds
    # Este parametro es innecesario si usamos ADAPTIVE
#    polling_interval = 60

    # The pressure calibration offset, in hPa (millibars)
    pressure_offset = 1

    # The driver to use:
    driver = weewx.drivers.fousb

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

jantoni:
Ummm.....nos falta el comienzo del fichero /etc/weewx/weewx.conf

Está claro que hay algo mal en el fichero.

En lugar de copiarlo, mira a ver si puedes subirlo como dato adjunto. Así podemos verlo entero.

Navegación

[0] Índice de Mensajes

[#] Página Siguiente

[*] Página Anterior

Ir a la versión completa