Mostrar Mensajes

Esta sección te permite ver todos los posts escritos por este usuario. Ten en cuenta que sólo puedes ver los posts escritos en zonas a las que tienes acceso en este momento.


Mensajes - jantoni

Páginas: 1 ... 267 268 [269] 270 271 ... 274
4021
WeeWX / Re:Descripción de weewx.conf
« en: 12 de Octubre del 2015, 17:58:50 pm »
La sección StdQC también es de las que no tocaremos habitualmente.

Si tu estación tiene la desagradable manía de dar valores extraños, aquí puedes intentar corregirlos.

Igual que la sección anterior, hay que especificar los rangos en la misma unidad que las almacenamos, es decir, igual que lo indicado en StdConvert.

Indicaremos el valor mínimo aceptado y el máximo.

Estos son los valores por defecto de Weewx

[StdQC]
Código: [Seleccionar]
    # This section is for quality control checks.  If units are not specified,
    # values must be in the units defined in the StdConvert section.

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

4022
WeeWX / Re:Descripción de weewx.conf
« en: 12 de Octubre del 2015, 17:58:36 pm »
Esta sección es autoexplicativa.

Consiste en la "calibración" de los sensores.

Mucho ojo con esto. La manipulación de los datos de los sensores puede provocar la eliminación de los sellos de calidad Meteoclimatic.

Salvo que sepas lo que haces, recomendamos no tocar esta sección.

Una excepción: La presión. Siempre que hayamos visto cual es la diferencia con respecto a la referencia de nuestra zona (Aeropuerto, por ejemplo) y después de analizar las diferencias durante varios días.

LAS CORRECCIONES DE LOS SENSORES se harán en la misma unidad definida en StdConvert.

Es decir, si almacenamos en unidades Imperiales, debemos corregir, por ejemplo, la presión en inHg


Código: [Seleccionar]
[StdCalibrate]
    # This section can adjust data using calibration expressions.

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

        barometer = barometer + 0.044294974607099996

En el ejemplo anterior, real de mi Ventus W831 (que no publica datos en Meteoclimatic), se aplica un offset de corrección a la variable "barometer", sumándole de forma constante 0.044294974607099996 inHg

4023
WeeWX / Re:Descripción de weewx.conf
« en: 12 de Octubre del 2015, 17:58:12 pm »
La sección StdConvert nos permite seleccionar  en que sistema de medidas vamos a almacenar las lecturas de nuestra estación.

Solo hay 3 opciones:

US es decir lo que se conoce popularmente como Imperial
METRIC o METRICWX

La diferencia entre METRIC y METRICWX  es muy sutil y viene a ser en la unidad de medida de la precipitación (mm o cm) y en la medida de la velocidad del viento (kmph o m/s)

Ninguna de las dos medidas en métrica se ajusta a lo establecido en Meteoclimatic. Pero esto nos da igual.

Particularmente almaceno mi base de datos en US

IMPORTANTISIMO: No puedes cambiar de un sistema de medidas a otro. Si lo quieres hacer, tienes que leer bien la documentación para no perder los datos. NO DARE SOPORTE NI INFORMACION PARA HACER LA TRANSFORMACION. No quiero bases de datos corruptas en mis espaldas.

Si quieres ver la diferencia entre los 3 modos de almacenar, aquí tienes la información http://www.weewx.com/docs/customizing.htm#units

Código: [Seleccionar]
[StdConvert]

    # This service acts as a filter, converting the unit system coming from
    # the hardware to a unit system in the database.
    #
    # 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'

4024
WeeWX / Re:Descripción de weewx.conf
« en: 12 de Octubre del 2015, 17:57:52 pm »
Lo vamos complicando un poco más, pero tampoco mucho.

Código: [Seleccionar]
[StdReport]
    # This section specifies what reports, using which skins, to generate.

    # 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 subsection represents a report you wish to 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 = meter_per_second2
    #        group_pressure = mbar
    #        group_rain = mm
    #        group_rainrate = mm_per_hour
    #        group_temperature = degree_C
    #        group_degree_day = degree_C_day
    #        group_speed = meter_per_second

    [[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 = pi
        password = raspberry
        server = 192.168.0.78
        path = /var/www/weewx

        # Set to True for a secure FTP (SFTP) connection. Not all servers
        # support this:
        secure_ftp = False

        # If you wish to upload files from something other than what HTML_ROOT
        # is set to above, then reset it here:
        #HTML_ROOT = /var/www/weewx

        # Most FTP servers use port 21, but if yours is different, you can
        # change it here
        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 as to the user account on the remote machine where the files
        # will be copied.
        #
        # The following determine where files will be sent:
        #server = replace with your server name, e.g, www.threefools.org
        #path = replace with the destination directory (e.g., /weather)
        #user = replace with your 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

    [[SteelSeries]]
        skin = ss
        HTML_ROOT = /var/www/weewx/ss

En esta sección, indicamos a Weewx que informes y usando que "skin", se van a generar.

Usaré la palabra "skin", ya que su traducción nunca me ha gustado. Para aquel que no sepa de que va, lo podemos traducir como aspecto, capa, piel, yo que sé. Su traducción literal sería la de piel, pellejo, etc.

SKIN_ROOT = /etc/weewx/skins aquí indicaremos el directorio donde se encuentran todos los "skin"

HTML_ROOT = /var/www/weewx indicaremos el directorio donde se van a guardar los informes y páginas web que generemos

data_binding = wx_binding  Este parámetro no lo tocaremos, bajo peligro de muerte :-)

En [[StandardReport]] configuraremos los informes que iremos generando. Es decir, aquellos que podremos ver en nuestra página web.

skin = Standard     El informe StandardReport usará el skin Standard. Hay multitud de skins ya programados. Tu también puedes programar tu propio skin. En la wiki de weewx puedes descargar diferentes skins https://github.com/weewx/weewx/wiki


4025
WeeWX / Re:Descripción de weewx.conf
« en: 12 de Octubre del 2015, 17:54:55 pm »
A partir de este momento, comienza la configuración más compleja.

Código: [Seleccionar]
[StdRESTful]
    # This section is for uploading data to sites using RESTful protocols.

    [[StationRegistry]]
        # To register this weather station, set this to True:
        register_this_station = True

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

        # If you wish to do this, uncomment the following username and password
        # lines and fill them with your username and password:
        username = pepito
        password = pajarito

    [[CWOP]]
        # This section is for configuring posts to CWOP

        # If you wish to do this, make sure the following line is uncommented
        # and filled out with your station ID:
        station = EA5XX

        # If you are an APRS (radio amateur) station, you will need a passcode:
        passcode = 12345

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

        # If you wish to do this, uncomment the following station and password
        # lines and fill them with your station and password:
        station = pepito
        password = pajarito

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

        # If you wish to do this, uncomment the following station and password
        # lines and fill them with your station and password:
        #station =
        #password =

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

        # If you wish to do this, uncomment the following station and password
        # lines and fill them with your station and password:
        station = pepito
        password = pajarito

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

En esta sección vamos a configurar los servicios web a los que vamos a mandar datos

En [[StationRegistry]] tan solo le indicamos a Weewx que queremos aparecer en el mapa de estaciones de Weewx

Solo hay dos opciones:

register_this_station = True
register_this_station = False


La página donde aparecen las estaciones Weewx que así lo desean es http://weewx.com/stations.html

A continuación nos aparecen todos los servicios web que podemos mandar datos.

La estructura es la misma en todos ellos.

Si queremos mandar datos, por lo general la estructura es:

station = elnombreocodigodeestacion
password = laquenoshayandado


Si no queremos mandar datos, tan solo tenemos que poner una # delante de cada campo.

#station =
#password =


Particularidades:

En el caso de Awekas, el campo station se sustituye por username

En Wunderground tenemos el campo:

rapidfire = True
rapidfire = False


Si no tienes una estación que actualice los datos cada pocos segundos, como las Davis, ponlo a False. El ponerlo en True implica mandar datos a Wunderground cada pocos segundos. Ojo con las estaciones que manden datos por 3G, ponerlo en False o se comerá la tarifa de datos.

CWOP. Esta red es la misma de APRS. Por ello si eres radioaficionado debes indicar en station tu indicativo de radioaficionado y en password un código numérico. Este código es el mismo que debes obtener para otros programas de APRS.


4026
Forum General / Re:Bienvenidos al nuevo foro de Meteoclimatic
« en: 12 de Octubre del 2015, 15:26:06 pm »
Y veréis cuando ponga los emoticonos....os voy a dar con el emoticono de la maza

4027
Presentación / Re:Hola!
« en: 12 de Octubre del 2015, 13:51:32 pm »
Hola Kaiser.

En cuanto a Weewx pues en el foro de Weewx nos tienes para lo que sea.

Para el resto, podemos hablar en la sección de Bricos

Ya nos contarás todo el tinglado.



4028
Software de Meteoclimatic / Re:Utilidad para subir datos a Meteoclimatic con Linux
« en: 12 de Octubre del 2015, 13:48:40 pm »
Si no sabes entrar como root, es posible que no tengas habilitada la cuenta de root.

Si usas una de mis imágenes, prueba con:

user: root
password: root

De lo contrario, entra como es habitual, con user pi y password raspberry.

Los archivos los debes subir perfectamente con el gestor de archivos de Tunnelier al directorio /home/pi

En otro directorios, no podrás por el tema de permisos, como bien dices.

Una vez subidos a /home/pi, desde la consola de Bitvise Tunnelier los copias donde quieras con "sudo mv origen destino"

sudo es magia en estado puro, je je je

4029
Ordenadores / Re:Cenovo MiniPC
« en: 12 de Octubre del 2015, 13:45:01 pm »
Ya sabes.....el primero es el pionero.....y se arriesga, je je je....

Eso si.....hay que contar la experiencia.

Esto se pone muy interesante en cuanto a cacharrines

4030
WeeWX / Re:Descripción de weewx.conf
« en: 12 de Octubre del 2015, 11:21:33 am »
La siguiente sección es del modo simulador.

No me detendré, es casi autoexplicativo y no tiene mucha utilidad.

Código: [Seleccionar]
[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

4031
WeeWX / Re:Descripción de weewx.conf
« en: 12 de Octubre del 2015, 11:17:22 am »
La siguiente sección es para estaciones bastante minoritarias, las WS1 y la CC3000

La WS1 es prácticamente idéntica a las FineOffset, pero no son inalámbricas. Los sensores de viento y de preciipitación, son idénticos a la FineOffset, no así el de temperatura.

La CC3000 y MKIII de RainWise son estaciones del otro extremo, es decir minoritarias por su elevado precio.

Código: [Seleccionar]
[WS1]
    # This section is for the ADS WS1 series of weather stations.

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

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

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

[CC3000]
    # This section is for RainWise MarkIII weather stations and CC3000 logger.

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

    # The station model, e.g., CC3000 or CC3000R
    model = CC3000

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

Tanto los campo model y port ya se han explicado bastantes veces.

4032
WeeWX / Re:Descripción de weewx.conf
« en: 12 de Octubre del 2015, 11:08:08 am »
A continuación la sección para las estaciones Peet Bros Ultimeter.

No voy a dejar de aprovechar la ocasión para volver a decir, que he tenido una de ellas y no me han gustado. Pero eso es otra historia.

En este driver, no hay que configurar más que el puerto a usar.

Código: [Seleccionar]
[Ultimeter]
    # This section is for the PeetBros Ultimeter series of weather stations.

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

    # The station model, e.g., Ultimeter 2000, Ultimeter 100
    model = Ultimeter

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

port = /dev/ttyUSB0      Ya explicado anteriormente. Mira en la sección de Davis Vantage para ver la descripción.

model = Ultimeter          igual que lo comentado anteriormente, es el modelo de la estación.

4033
WeeWX / Re:Descripción de weewx.conf
« en: 12 de Octubre del 2015, 11:04:51 am »
La siguiente sección que comentamos es la correspondiente a la estación TE923. Bajo este nombre de driver Weewx se comunica con otras mil estaciones con nombre y modelo diferente.

Personalmente, siempre las he denominado Honeywell ya que los sensores, originalmente, eran construidos por esta empresa.

Actualmente, este driver controla estaciones como las Mebus, Honeywell, Hideki, TFA Nexus y Sinus, Ventus W831, etc, etc, etc

Salvo que tengamos sensores adicionales a los suministrados de manera estándar, no tocaremos ningún parámetro, ya que los campos de configuración se refieren a los sensores adicionales. Esta estación puede tener multitud de sensores termohigrométricos.

El campo model ya lo hemos explicado hasta la saciedad. Pondremos el nombre de nuestra estación.

Código: [Seleccionar]
[TE923]
    # This section is for the Hideki TE923 series of weather stations.

    # The station model, e.g., 'Meade TE923W' or 'TFA Nexus'
    model = TE923

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

    # The default configuration associates the channel 1 sensor with outTemp
    # and outHumidity.  To change this, or to associate other channels with
    # specific columns in the database schema, use the following maps.
    [[sensor_map]]
        # Map the remote sensors to columns in the database schema.
        outTemp = t_1
        outHumidity = h_1
        extraTemp1 = t_2
        extraHumid1 = h_2
        extraTemp2 = t_3
        extraHumid2 = h_3
        extraTemp3 = t_4
        # WARNING: the following are not in the default schema
        extraHumid3 = h_4
        extraTemp4 = t_5
        extraHumid4 = h_5

    [[battery_map]]
        txBatteryStatus = batteryUV
        windBatteryStatus = batteryWind
        rainBatteryStatus = batteryRain
        outTempBatteryStatus = battery1
        # WARNING: the following are not in the default schema
        extraBatteryStatus1 = battery2
        extraBatteryStatus2 = battery3
        extraBatteryStatus3 = battery4
        extraBatteryStatus4 = battery5

4034
WeeWX / Re:Descripción de weewx.conf
« en: 12 de Octubre del 2015, 11:00:39 am »
Las siguientes secciones son para las LaCrosse series WS-2300 y WS-2800

Código: [Seleccionar]
[WS23xx]
    # This section is for the La Crosse WS-2300 series of weather stations.

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

    # The station model, e.g., 'LaCrosse WS2317' or 'TFA Primus'
    model = LaCrosse WS23xx

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

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

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

[WS28xx]
    # This section is for the La Crosse WS-2800 series of weather stations.

    # Radio frequency to use between USB transceiver and console: US or EU
    # US uses 915 MHz, EU uses 868.3 MHz.  Default is US.
    transceiver_frequency = US

    # The station model, e.g., 'LaCrosse C86234' or 'TFA Primus'
    model = LaCrosse WS28xx

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

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

Los campos port, model y pressure_offset son idénticos a lo indicado anteriormente, por lo que es de aplicación en la misma medida.

El único campo a comentar es, en el caso de las WS2800:

transceiver_frecuency = US
transceiver_frecuency = EU


Que evidentemente es para decir que frecuencias usa la consola para comunicarse.

4035
WeeWX / Re:Descripción de weewx.conf
« en: 12 de Octubre del 2015, 10:49:37 am »
Y ahora nos metemos con la configuración de la Fine Offset. Recordad que es el fabricante de las PCE FSW-20 y que también se venden con mil marcas mas.

Código: [Seleccionar]
[FineOffsetUSB]
    # This section is for the Fine Offset series of weather stations.

    # The station model, e.g., WH1080, WS1090, WS2080, WH3081
    model = WS2080

    # 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

model = WS2080   lo mismo indicado en las anteriores secciones. este campo solo nos vale para indicar la marca de nuestra estación. Podemos poner, sin problema, PCE FWS-20

pollíng_mode = ADAPTIVE
polling_mode = PERIODIC


ADAPTIVE significa que, cada vez que se genere un registro en la consola, se registrará por parte de Weewx
PERIODIC significa que, cada X segundos (indicados por polling_interval) Weewx se conecta a la consola y lee el último registro.

Personalmente he usado ambos métodos y no he encontrado diferencias en la fiabilidad del sistema.

polling_interval = 60  El periodo de tiempo en segundos que Weewx usará para conectarse a la consola y leer el último registro. Si usas ADAPTIVE deshabilitalo poniendo una # delante del campo.

Si alguno tiene en sus archivos un campo:

pressure_offset = 0       este parámetro dejó de funciona en la versión 3.0, por lo que salvo que tengas una versión 2.6.x o 2.7.x lo uedes borrar de tu archivo. Si tienes una versión 2.6 o 2.7 con este parámetro ajustas un offset de presión en hPa, puede ser positivo o negativo.

Páginas: 1 ... 267 268 [269] 270 271 ... 274