Software > WeeWX
Novato con problemas no funciona Weewx
jantoni:
Te aseguro que yo, de informática, no tengo ni idea.
Te lo aseguro.
Quizás lo mejor es que empieces de cero con el script meteowee.
Y, una vez instalado, vemos los problemas que tengas.
Aralar:
Bueno
Vayamos por partes.
Te digo todo lo que me aparece al dar cada paso.
sudo tail -f /var/log/weewx.log
Apr 20 15:23:11 raspberrypi weewx[26087]: engine: Starting up weewx version 3.9.2
Apr 20 15:23:11 raspberrypi weewx[26087]: engine: Starting up weewx version 3.9.2
Apr 20 15:23:11 raspberrypi weewx[26087]: engine: Clock error is 0.67 seconds (positive is fast)
Apr 20 15:23:11 raspberrypi weewx[26087]: engine: Clock error is 0.67 seconds (positive is fast)
Apr 20 15:23:12 raspberrypi weewx[26087]: engine: Starting main packet loop.
Apr 20 15:23:12 raspberrypi weewx[26087]: engine: Starting main packet loop.
Apr 20 15:25:05 raspberrypi weewx[26087]: engine: Main loop exiting. Shutting engine down.
Apr 20 15:25:05 raspberrypi weewx[26087]: engine: Main loop exiting. Shutting engine down.
Apr 20 15:25:05 raspberrypi weewx[26087]: engine: Keyboard interrupt.
Apr 20 15:25:05 raspberrypi weewx[26087]: engine: Keyboard interrupt.
sudo tail -n 25 /var/log/weewx.log
Apr 20 15:23:10 raspberrypi weewx[26087]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Apr 20 15:23:10 raspberrypi weewx[26087]: manager: Starting backfill of daily summaries
Apr 20 15:23:10 raspberrypi weewx[26087]: manager: Starting backfill of daily summaries
Apr 20 15:23:11 raspberrypi weewx[26087]: restx: StationRegistry: Registration not requested.
Apr 20 15:23:11 raspberrypi weewx[26087]: restx: StationRegistry: Registration not requested.
Apr 20 15:23:11 raspberrypi weewx[26087]: restx: Wunderground-PWS: Data for station IGIPUZKO5 will be posted
Apr 20 15:23:11 raspberrypi weewx[26087]: restx: Wunderground-PWS: Data for station IGIPUZKO5 will be posted
Apr 20 15:23:11 raspberrypi weewx[26087]: restx: PWSweather: Posting not enabled.
Apr 20 15:23:11 raspberrypi weewx[26087]: restx: PWSweather: Posting not enabled.
Apr 20 15:23:11 raspberrypi weewx[26087]: restx: CWOP: Posting not enabled.
Apr 20 15:23:11 raspberrypi weewx[26087]: restx: CWOP: Posting not enabled.
Apr 20 15:23:11 raspberrypi weewx[26087]: restx: WOW: Posting not enabled.
Apr 20 15:23:11 raspberrypi weewx[26087]: restx: WOW: Posting not enabled.
Apr 20 15:23:11 raspberrypi weewx[26087]: restx: AWEKAS: Posting not enabled.
Apr 20 15:23:11 raspberrypi weewx[26087]: restx: AWEKAS: Posting not enabled.
Apr 20 15:23:11 raspberrypi weewx[26087]: engine: Starting up weewx version 3.9.2
Apr 20 15:23:11 raspberrypi weewx[26087]: engine: Starting up weewx version 3.9.2
Apr 20 15:23:11 raspberrypi weewx[26087]: engine: Clock error is 0.67 seconds (positive is fast)
Apr 20 15:23:11 raspberrypi weewx[26087]: engine: Clock error is 0.67 seconds (positive is fast)
Apr 20 15:23:12 raspberrypi weewx[26087]: engine: Starting main packet loop.
Apr 20 15:23:12 raspberrypi weewx[26087]: engine: Starting main packet loop.
Apr 20 15:25:05 raspberrypi weewx[26087]: engine: Main loop exiting. Shutting engine down.
Apr 20 15:25:05 raspberrypi weewx[26087]: engine: Main loop exiting. Shutting engine down.
Apr 20 15:25:05 raspberrypi weewx[26087]: engine: Keyboard interrupt.
Apr 20 15:25:05 raspberrypi weewx[26087]: engine: Keyboard interrupt.
Aralar:
sudo weewxd /etc/weewx/weewx.conf
LOOP: 2020-04-20 15:33:36 CEST (1587389616) appTemp: 54.7249404189, barometer: 29.803, cloudbase: 1650.68422915, consBatteryVoltage: 4.81, dateTime: 1587389616, dayET: 0.0, dayRain: 0.031496063, dewpoint: 52.7177893917, extraAlarm1: 0, extraAlarm2: 0, extraAlarm3: 0, extraAlarm4: 0, extraAlarm5: 0, extraAlarm6: 0, extraAlarm7: 0, extraAlarm8: 0, forecastIcon: 6, forecastRule: 45, heatindex: 55.0, humidex: 58.6147321519, inDewpoint: 57.0203157414, inHumidity: 80.0, insideAlarm: 0, inTemp: 63.3, leafWet4: 0.0, maxSolarRad: None, monthET: 0.0, monthRain: 1.8425196855, outHumidity: 92.0, outsideAlarm1: 0, outsideAlarm2: 0, outTemp: 55.0, rain: None, rainAlarm: 0, rainRate: 0.0, soilLeafAlarm1: 0, soilLeafAlarm2: 0, soilLeafAlarm3: 0, soilLeafAlarm4: 0, stormRain: 1.04724409475, stormStart: 1586988000, sunrise: 1587359880, sunset: 1587409020, trendIcon: -20, txBatteryStatus: 1, usUnits: 1, windchill: 55.0, windDir: 109.0, windGust: 2.0, windGustDir: 109.0, windSpeed: 2.0, windSpeed10: 0.0, yearET: 0.0, yearRain: 11.6692913415
LOOP: 2020-04-20 15:33:36 CEST (1587389616) appTemp: 54.7249404189, barometer: 29.803, cloudbase: 1650.68422915, consBatteryVoltage: 4.81, dateTime: 1587389616, dayET: 0.0, dayRain: 0.031496063, dewpoint: 52.7177893917, extraAlarm1: 0, extraAlarm2: 0, extraAlarm3: 0, extraAlarm4: 0, extraAlarm5: 0, extraAlarm6: 0, extraAlarm7: 0, extraAlarm8: 0, forecastIcon: 6, forecastRule: 45, heatindex: 55.0, humidex: 58.6147321519, inDewpoint: 57.0203157414, inHumidity: 80.0, insideAlarm: 0, inTemp: 63.3, leafWet4: 0.0, maxSolarRad: None, monthET: 0.0, monthRain: 1.8425196855, outHumidity: 92.0, outsideAlarm1: 0, outsideAlarm2: 0, outTemp: 55.0, rain: 0.0, rainAlarm: 0, rainRate: 0.0, soilLeafAlarm1: 0, soilLeafAlarm2: 0, soilLeafAlarm3: 0, soilLeafAlarm4: 0, stormRain: 1.04724409475, stormStart: 1586988000, sunrise: 1587359880, sunset: 1587409020, trendIcon: -20, txBatteryStatus: 1, usUnits: 1, windchill: 55.0, windDir: 109.0, windGust: 2.0, windGustDir: 109.0, windSpeed: 2.0, windSpeed10: 0.0, yearET: 0.0, yearRain: 11.6692913415
sudo wee_device /etc/weewx/weewx.conf --info
Using configuration file /etc/weewx/weewx.conf
Using Vantage driver version 3.1.1 (weewx.drivers.vantage)
Querying...
Davis Vantage EEPROM settings:
CONSOLE TYPE: Vantage Pro2
CONSOLE FIRMWARE:
Date: Sep 29 2009
Version: 1.90
CONSOLE SETTINGS:
Archive interval: 600 (seconds)
Altitude: 345 (meter)
Wind cup type: large
Rain bucket type: 0.2 mm
Rain year start: 1
Onboard time: 2020-04-20 15:34:31
CONSOLE DISPLAY UNITS:
Barometer: hPa
Temperature: degree_10C
Rain: mm
Wind: km_per_hour
CONSOLE STATION INFO:
Latitude (onboard): +43.0°
Longitude (onboard): -2.1°
Use manual or auto DST? MANUAL
DST setting: OFF
Use GMT offset or zone code? GMT_OFFSET
Time zone code: N/A
GMT offset: +2.0 hours
Temperature logging: LAST
Retransmit channel: OFF (0)
TRANSMITTERS:
Channel Receive Repeater Type
1 active none iss
2 inactive none (N/A)
3 inactive none (N/A)
4 inactive none (N/A)
5 inactive none (N/A)
6 inactive none (N/A)
7 inactive none (N/A)
8 inactive none (N/A)
RECEPTION STATS:
Total packets received: 20579
Total packets missed: 1302
Number of resynchronizations: 0
Longest good stretch: 430
Number of CRC errors: 598
BAROMETER CALIBRATION DATA:
Current barometer reading: 29.802 inHg
Altitude: 1132 feet
Dew point: 53 F
Virtual temperature: 54 F
Humidity correction factor: 3.1
Correction ratio: 1.042
Correction constant: +0.000 inHg
Gain: 0.000
Offset: -38.000
OFFSETS:
Wind direction: +0 deg
Inside Temperature: +0.0 F
Inside Humidity: +0 %
Outside Temperature: +0.0 F
Outside Humidity: +0 %
jmviper:
sudo tail -n 50 /var/log/weewx.log
Ejecuta esto y copia y pega. Necesitamos más información en el log de porqué se cierra weewx.
Aralar:
sudo tail -n 50 /var/log/weewx.log
Apr 20 16:39:52 raspberrypi weewx[225]: Starting weewx weather system: weewx.
Apr 20 16:39:52 raspberrypi weewx[225]: Starting weewx weather system: weewx.
Apr 20 16:39:53 raspberrypi weewx[426]: engine: Using configuration file /etc/weewx/weewx.conf
Apr 20 16:39:53 raspberrypi weewx[426]: engine: Using configuration file /etc/weewx/weewx.conf
Apr 20 16:39:53 raspberrypi weewx[426]: engine: Loading station type Vantage (weewx.drivers.vantage)
Apr 20 16:39:53 raspberrypi weewx[426]: engine: Loading station type Vantage (weewx.drivers.vantage)
Apr 20 16:39:58 raspberrypi weewx[426]: engine: StdConvert target unit is 0x1
Apr 20 16:39:58 raspberrypi weewx[426]: engine: StdConvert target unit is 0x1
Apr 20 16:39:58 raspberrypi weewx[426]: 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
Apr 20 16:39:58 raspberrypi weewx[426]: 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
Apr 20 16:39:58 raspberrypi weewx[426]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Apr 20 16:39:58 raspberrypi weewx[426]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Apr 20 16:39:58 raspberrypi weewx[426]: engine: Archive will use data binding wx_binding
Apr 20 16:39:58 raspberrypi weewx[426]: engine: Archive will use data binding wx_binding
Apr 20 16:39:58 raspberrypi weewx[426]: engine: Record generation will be attempted in 'hardware'
Apr 20 16:39:58 raspberrypi weewx[426]: engine: Record generation will be attempted in 'hardware'
Apr 20 16:39:58 raspberrypi weewx[426]: engine: The archive interval in the configuration file (300) does not match the station hardware interval (600).
Apr 20 16:39:58 raspberrypi weewx[426]: engine: The archive interval in the configuration file (300) does not match the station hardware interval (600).
Apr 20 16:39:58 raspberrypi weewx[426]: engine: Using archive interval of 600 seconds (specified by hardware)
Apr 20 16:39:58 raspberrypi weewx[426]: engine: Using archive interval of 600 seconds (specified by hardware)
Apr 20 16:39:58 raspberrypi weewx[426]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Apr 20 16:39:58 raspberrypi weewx[426]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Apr 20 16:39:58 raspberrypi weewx[426]: manager: Starting backfill of daily summaries
Apr 20 16:39:58 raspberrypi weewx[426]: manager: Starting backfill of daily summaries
Apr 20 16:40:00 raspberrypi weewx[426]: restx: StationRegistry: Registration not requested.
Apr 20 16:40:00 raspberrypi weewx[426]: restx: StationRegistry: Registration not requested.
Apr 20 16:40:00 raspberrypi weewx[426]: restx: Wunderground-PWS: Data for station IGIPUZKO5 will be posted
Apr 20 16:40:00 raspberrypi weewx[426]: restx: Wunderground-PWS: Data for station IGIPUZKO5 will be posted
Apr 20 16:40:00 raspberrypi weewx[426]: restx: PWSweather: Posting not enabled.
Apr 20 16:40:00 raspberrypi weewx[426]: restx: PWSweather: Posting not enabled.
Apr 20 16:40:00 raspberrypi weewx[426]: restx: CWOP: Posting not enabled.
Apr 20 16:40:00 raspberrypi weewx[426]: restx: CWOP: Posting not enabled.
Apr 20 16:40:01 raspberrypi weewx[426]: restx: WOW: Posting not enabled.
Apr 20 16:40:01 raspberrypi weewx[426]: restx: WOW: Posting not enabled.
Apr 20 16:40:01 raspberrypi weewx[426]: restx: AWEKAS: Posting not enabled.
Apr 20 16:40:01 raspberrypi weewx[426]: restx: AWEKAS: Posting not enabled.
Apr 20 16:40:01 raspberrypi weewx[426]: engine: Starting up weewx version 3.9.2
Apr 20 16:40:01 raspberrypi weewx[426]: engine: Starting up weewx version 3.9.2
Apr 20 16:40:01 raspberrypi weewx[426]: engine: Clock error is -2.22 seconds (positive is fast)
Apr 20 16:40:01 raspberrypi weewx[426]: engine: Clock error is -2.22 seconds (positive is fast)
Apr 20 16:40:02 raspberrypi weewx[426]: engine: Starting main packet loop.
Apr 20 16:40:02 raspberrypi weewx[426]: engine: Starting main packet loop.
Apr 20 16:40:22 raspberrypi weewx[426]: vantage: LOOP try #1; error: Expected to read 99 chars; got 2 instead
Apr 20 16:40:22 raspberrypi weewx[426]: vantage: LOOP try #1; error: Expected to read 99 chars; got 2 instead
Apr 20 16:51:01 raspberrypi weewx[426]: cheetahgenerator: Generated 8 files for report SeasonsReport in 39.73 seconds
Apr 20 16:51:01 raspberrypi weewx[426]: cheetahgenerator: Generated 8 files for report SeasonsReport in 39.73 seconds
Apr 20 16:51:59 raspberrypi weewx[426]: imagegenerator: Generated 57 images for SeasonsReport in 56.87 seconds
Apr 20 16:51:59 raspberrypi weewx[426]: imagegenerator: Generated 57 images for SeasonsReport in 56.87 seconds
Apr 20 16:51:59 raspberrypi weewx[426]: copygenerator: copied 5 files to /var/www/html/weewx
Apr 20 16:51:59 raspberrypi weewx[426]: copygenerator: copied 5 files to /var/www/html/weewx
Navegación
[#] Página Siguiente
[*] Página Anterior
Ir a la versión completa