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

Páginas: 1 2 [3] 4
31
WeeWX / Problemas con Belchertown skin
« en: 08 de Noviembre del 2021, 17:02:18 pm »
Hola foro.

Invoco la ayuda de jmviper o de cualquier compañero que pueda echarnos una mano. Le pedí ayuda desinteresada a Kocher (ya que mi ibjetivo es logar una web como la suya) pero no hemos podido dar con el error.

Tengo una Sainlogic ws3500 corriendo sobre una raspberry pi 3 modelb funcionando con Weewx. En apariencia todo ok, y cuando configuro en el weewx.conf el skin Seasons, funciona sin problema. Ahora bien, es activar el skin belchertown, y deja de funcionar. Parece que es un problema de skin/servidor web, ya que si consulto PWS Weather, los datos se están actualizando, pero a nivel web, continúa cargando Seasons y con los últimos datos del momento previo al cambio de configuración de weewx.conf.

Comparto con quien me lo pida el weewx.conf para ver qué puede ser. El link a la web es naxos.synology.me/weewx

Saludos y gracias.

32
Webcam meteorológicas / Re:como subir imagen de webcam
« en: 29 de Octubre del 2021, 13:25:13 pm »
Hola.

Disculpad el reflote, pero estoy tratando de capturar una imagen de mi cámara dahua para integrarla en la web del skin Belchertown, todo ello con una raspberry pi funcionando con weewx.

He creado ya un script llamado imagen.sh que se guarda en bin y que tiene el código que indica el compañero miguelru para cámaras Dahua (la mía). Por supuesto, he cambiado user y passs, así como la IP y he puesto los valores correctos.

Ahora sólo me faltaría indicar en cron, que se invoque al script, pero estoy dudando cómo hacerlo. ¿Alguna indicación?

33
WeeWX / Re:Añadiendo forecast de Aeris a Skin Belchertown
« en: 29 de Octubre del 2021, 11:45:24 am »
Resuelto!

No me pareció intuitivo lo de tener que acudir a APPs para conseguir el user ID y el secret PASS!

Pero lo dicho, muchas gracias. Ahora ya sólo resta meter imagen de la cámara... Os voy contando avances!

34
WeeWX / Añadiendo forecast de Aeris a Skin Belchertown
« en: 28 de Octubre del 2021, 10:23:06 am »
Muy buenas.

No sé si es que las instrucciones de la skin Belchertown han quedado desactualizadas o que Aeris ha cambiado la forma en la que gestiona sus usuarios gratuitos para obtener uso de sus APIs y conseguir forecast, pero me las estoy viendo y deseando para integrar los forecast en la skin Belchertown de mi web.

Ya estoy registrado en Aeris linkando mis datos a PWS Weather. Pero no veo forma de conseguir el API ID y API Secret que poder usar en el skin.conf de Belchertown. ¿Alguna idea?

35
Incidencias en estaciones / Re:Nueva estación no actualiza datos
« en: 26 de Octubre del 2021, 11:34:31 am »
Nada, parecía que funcionaba pero como he dicho en otro hilo (me voy a centrar en este para no andar escribiendo en varios) algo debe pasar porque el interceptor llega un momento que deja de funcionar. Estuvo funcionando las dos primeras horas y luego se queda siempre a la escucha pero nada:

Código: [Seleccionar]
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdWXXTypes
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdWXXTypes
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdPressureCooker
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdPressureCooker
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdRainRater
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdRainRater
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdDelta
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdDelta
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Loading service weewx.engine.StdArchive
Oct 25 16:03:16 raspberrypi weewx[1201] INFO weewx.engine: Archive will use data binding wx_binding
Oct 25 16:03:16 raspberrypi weewx[1201] INFO weewx.engine: Record generation will be attempted in 'hardware'
Oct 25 16:03:16 raspberrypi weewx[1201] INFO weewx.engine: Using archive interval of 300 seconds (specified in weewx configuration)
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Use LOOP data in hi/low calculations: 1
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Finished loading service weewx.engine.StdArchive
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Loading service weewx.restx.StdStationRegistry
Oct 25 16:03:16 raspberrypi weewx[1201] INFO weewx.restx: StationRegistry: Station will not be registered: no station_url specified.
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Finished loading service weewx.restx.StdStationRegistry
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Loading service weewx.restx.StdWunderground
Oct 25 16:03:16 raspberrypi weewx[1201] INFO weewx.restx: Wunderground: Posting not enabled.
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Finished loading service weewx.restx.StdWunderground
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Loading service weewx.restx.StdPWSweather
Oct 25 16:03:16 raspberrypi weewx[1201] INFO weewx.restx: PWSWeather: Data for station SOLARSTONE will be posted
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Finished loading service weewx.restx.StdPWSweather
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Loading service weewx.restx.StdCWOP
Oct 25 16:03:16 raspberrypi weewx[1201] INFO weewx.restx: CWOP: Posting not enabled.
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Finished loading service weewx.restx.StdCWOP
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Loading service weewx.restx.StdWOW
Oct 25 16:03:16 raspberrypi weewx[1201] INFO weewx.restx: WOW: Posting not enabled.
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Finished loading service weewx.restx.StdWOW
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Loading service weewx.restx.StdAWEKAS
Oct 25 16:03:16 raspberrypi weewx[1201] INFO weewx.restx: AWEKAS: Posting not enabled.
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Finished loading service weewx.restx.StdAWEKAS
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Loading service weewx.engine.StdPrint
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Finished loading service weewx.engine.StdPrint
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Loading service weewx.engine.StdReport
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Finished loading service weewx.engine.StdReport
Oct 25 16:03:16 raspberrypi weewx[1201] INFO __main__: Starting up weewx version 4.5.1
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.engine: Station does not support reading the time
Oct 25 16:03:16 raspberrypi weewx[1201] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Oct 25 16:03:16 raspberrypi weewx[1201] INFO weewx.manager: Starting backfill of daily summaries
Oct 25 16:03:16 raspberrypi weewx[1201] INFO weewx.manager: Daily summaries up to date
Oct 25 16:03:16 raspberrypi weewx[1201] INFO weewx.engine: Starting main packet loop.
Oct 25 16:03:16 raspberrypi weewx[1201] DEBUG weewx.manager: Daily summary version is 4.0
Oct 25 16:03:26 raspberrypi weewx[1201] DEBUG user.interceptor: empty queue
Oct 25 16:03:36 raspberrypi weewx[1201] DEBUG user.interceptor: empty queue
Oct 25 16:03:46 raspberrypi weewx[1201] DEBUG user.interceptor: empty queue
Oct 25 16:03:56 raspberrypi weewx[1201] DEBUG user.interceptor: empty queue

El empty queue lleva así desde ayer


36
Incidencias en estaciones / Re:Nueva estación no actualiza datos
« en: 25 de Octubre del 2021, 15:35:22 pm »
Gracias jmviper.

Pues llegué a la conclusión de que podía ser un tema de Belchertown skin, porque fue volver a poner el standard y ha estado actualizando un par de horas. Sin embargo, de repente, no alimenta datos. Aquí una muestra del log.

Sinceramente, no sé qué pensar...

Código: [Seleccionar]
Oct 25 14:24:08 raspberrypi weewx[7623] DEBUG user.interceptor: empty queue
Oct 25 14:24:13 raspberrypi weewx[7623] DEBUG user.interceptor: POST: PASSKEY=XXXX&stationtype=EasyWeatherV1.5.9&dateutc=2021-10-25+12:24:10&tempinf=73.9&humidityin=52&baromrelin=29.929&baromabsin=30.1$
Oct 25 14:24:13 raspberrypi weewx[7623] DEBUG user.interceptor: raw data: PASSKEY=F2DCB928FAE3933F0D7647399ACFAF17&stationtype=EasyWeatherV1.5.9&dateutc=2021-10-25+12:24:10&tempinf=73.9&humidityin=52&b$
Oct 25 14:24:13 raspberrypi weewx[7623] DEBUG user.interceptor: ignored parameter PASSKEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Oct 25 14:24:13 raspberrypi weewx[7623] DEBUG user.interceptor: ignored parameter stationtype=EasyWeatherV1.5.9
Oct 25 14:24:13 raspberrypi weewx[7623] DEBUG user.interceptor: ignored parameter baromrelin=29.929
Oct 25 14:24:13 raspberrypi weewx[7623] DEBUG user.interceptor: ignored parameter maxdailygust=8.1
Oct 25 14:24:13 raspberrypi weewx[7623] DEBUG user.interceptor: ignored parameter eventrainin=0.000
Oct 25 14:24:13 raspberrypi weewx[7623] DEBUG user.interceptor: ignored parameter hourlyrainin=0.000
Oct 25 14:24:13 raspberrypi weewx[7623] DEBUG user.interceptor: ignored parameter dailyrainin=0.000
Oct 25 14:24:13 raspberrypi weewx[7623] DEBUG user.interceptor: ignored parameter weeklyrainin=0.000
Oct 25 14:24:13 raspberrypi weewx[7623] DEBUG user.interceptor: ignored parameter monthlyrainin=0.622
Oct 25 14:24:13 raspberrypi weewx[7623] DEBUG user.interceptor: ignored parameter freq=868M
Oct 25 14:24:13 raspberrypi weewx[7623] DEBUG user.interceptor: ignored parameter model=WS2900_V2.01.16
Oct 25 14:24:13 raspberrypi weewx[7623] DEBUG user.interceptor: raw packet: {'dateTime': 1635164650, 'usUnits': 1, 'temperature_in': 73.9, 'humidity_in': 52.0, 'pressure': 30.13, 'temperature_out': 65.$
Oct 25 14:24:13 raspberrypi weewx[7623] DEBUG user.interceptor: mapped packet: {'dateTime': 1635164650, 'usUnits': 1, 'pressure': 30.13, 'outHumidity': 64.0, 'inHumidity': 52.0, 'outTemp': 65.1, 'inTem$
Oct 25 14:24:23 raspberrypi weewx[7623] DEBUG user.interceptor: empty queue

37
WeeWX / Re:Proyecto de Weewx (setup.py) + Raspi + Pincho USB-WIFI
« en: 25 de Octubre del 2021, 13:42:34 pm »
Ahora mismo estoy operativo tras la instalación desde cero.

Ahora bien, por alguna razón que no logro entender, si activo el skin Belchertown, no alimenta datos la consola a la raspberry. Si vuelvo al skin standard, sin problema. A ver si encuentro la razón...

38
Incidencias en estaciones / Re:Nueva estación no actualiza datos
« en: 25 de Octubre del 2021, 09:59:27 am »
Os actualizo:

finalmente pude borrar todo rastro de weewx en la raspberry. No bastaba con un rm -r /etc/weewx sino que tuve que invocar dpkg y más líos.

Ya está montado de cero, usando meteowee, y en un principio todo ha ido ok. Pero de nuevo, tengo problemas con la actualización de datos. Empiezo a pensar que pueda ser un problema de alimentación que haga que el comportamiento no sea estable?

Código: [Seleccionar]
root@raspberrypi:/home/pi# sudo service weewx status
● weewx.service - LSB: weewx weather system
   Loaded: loaded (/etc/init.d/weewx; generated)
   Active: active (running) since Mon 2021-10-25 09:56:13 CEST; 3min 16s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 316 ExecStart=/etc/init.d/weewx start (code=exited, status=0/SUCCESS)
    Tasks: 2 (limit: 1070)
   CGroup: /system.slice/weewx.service
           └─1233 python3 /usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf

Oct 25 09:56:14 raspberrypi python3[1233]: weewx[1233] INFO weewx.restx: Wunderground: Posting not enabled.
Oct 25 09:56:14 raspberrypi python3[1233]: weewx[1233] INFO weewx.restx: PWSweather: Posting not enabled.
Oct 25 09:56:14 raspberrypi python3[1233]: weewx[1233] INFO weewx.restx: CWOP: Posting not enabled.
Oct 25 09:56:14 raspberrypi python3[1233]: weewx[1233] INFO weewx.restx: WOW: Posting not enabled.
Oct 25 09:56:14 raspberrypi python3[1233]: weewx[1233] INFO weewx.restx: AWEKAS: Posting not enabled.
Oct 25 09:56:14 raspberrypi python3[1233]: weewx[1233] INFO __main__: Starting up weewx version 4.5.1
Oct 25 09:56:14 raspberrypi python3[1233]: weewx[1233] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Oct 25 09:56:14 raspberrypi python3[1233]: weewx[1233] INFO weewx.manager: Starting backfill of daily summaries
Oct 25 09:56:14 raspberrypi python3[1233]: weewx[1233] INFO weewx.manager: Daily summaries up to date
Oct 25 09:56:14 raspberrypi python3[1233]: weewx[1233] INFO weewx.engine: Starting main packet loop.

39
Incidencias en estaciones / Re:Nueva estación no actualiza datos
« en: 24 de Octubre del 2021, 22:11:52 pm »
Madre mía, esto va de mal en peor...

Como no tenía grandes históricos (sólo tres días) me dispongo a hacer una instalación de weewx de cero. Por supuesto usando el genial script meteowee y previo borrado de todo rastro de /etc/weewx.

Pues una vez corro el script, falla la parte de instalación del weewx. Es rarísimo... Al final voy a tener que formatear la sd y empezar de cero de verdad y eso me da una pereza...

Código: [Seleccionar]
Parando el servidor de WeeWX
============================
/home/pi/meteowee-0.16-2: 258: /home/pi/meteowee-0.16-2: /etc/init.d/weewx: not found


Sun 24 Oct 2021 08:08:34 PM UTC

Modificando el sistema de Log para que WeeWX tenga su propio log diferenciado
=============================================================================

Estableciendo la rotación de log para WeeWX
===========================================
reiniciando el sistema de log
=============================

Estableciendo el Lunes como primer dia de la semana en WeeWX
============================================================
sed: can't read /etc/weewx/weewx.conf: Not a directory

Estableciendo unidades en métrica, milimetros en lugar de centimetros y Kmh en lugar de ms/s
Esto no modifica la base de datos. La base de datos seguirá en unidades imperiales
============================================================================================
sed: can't read /etc/weewx/weewx.conf: Not a directory
sed: can't read /etc/weewx/weewx.conf: Not a directory
sed: can't read /etc/weewx/weewx.conf: Not a directory
sed: can't read /etc/weewx/weewx.conf: Not a directory
sed: can't read /etc/weewx/weewx.conf: Not a directory

Cambiando el formato de fechas y horas
======================================
sed: can't read /etc/weewx/weewx.conf: Not a directory
sed: can't read /etc/weewx/weewx.conf: Not a directory
sed: can't read /etc/weewx/weewx.conf: Not a directory
sed: can't read /etc/weewx/weewx.conf: Not a directory
sed: can't read /etc/weewx/weewx.conf: Not a directory
sed: can't read /etc/weewx/weewx.conf: Not a directory
sed: can't read /etc/weewx/weewx.conf: Not a directory
sed: can't read /etc/weewx/weewx.conf: Not a directory
/home/pi/meteowee-0.16-2: 344: /home/pi/meteowee-0.16-2: cannot create /etc/weewx/skins/Seasons/meteoclimatic.html.tmpl: Directory nonexistent
sed: can't read /etc/weewx/skins/Seasons/skin.conf: Not a directory
--2021-10-24 20:08:35--  https://raw.githubusercontent.com/jantoni/meteowee/master/star_meteoclimatic/meteoclimatic.ini
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 60 [text/plain]
Saving to: ‘meteoclimatic.ini.2’

meteoclimatic.ini.2                                  100%[===================================================================================================================>]      60  --.-KB/s    in 0s     

2021-10-24 20:08:35 (253 KB/s) - ‘meteoclimatic.ini.2’ saved [60/60]

--2021-10-24 20:08:35--  https://raw.githubusercontent.com/jantoni/meteowee/master/star_meteoclimatic/meteoclimatic.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.111.133, 185.199.108.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11294 (11K) [text/plain]
Saving to: ‘meteoclimatic.py.2’

meteoclimatic.py.2                                   100%[===================================================================================================================>]  11.03K  --.-KB/s    in 0.002s 

2021-10-24 20:08:35 (4.73 MB/s) - ‘meteoclimatic.py.2’ saved [11294/11294]

chmod: cannot access '/etc/weewx/meteoclimatic.py': Not a directory
sed: can't read /etc/weewx/meteoclimatic.ini: Not a directory
sed: can't read /etc/weewx/meteoclimatic.ini: Not a directory
Proceso finalizado
==================
Sun 24 Oct 2021 08:08:35 PM UTC
Reiniciando
===========
root@raspberrypi:/var/www/html# Connection to 192.168.1.23 closed by remote host.
Connection to 192.168.1.23 closed.

[Proceso completado]


40
Incidencias en estaciones / Re:Nueva estación no actualiza datos
« en: 24 de Octubre del 2021, 21:26:38 pm »
Parece que el problema está efectivamente en el engine.py. A saber qué es... Porque hago reboot de la raspberry, y mirad el log, parece que empieza a funcionar, hasta que en cierto momento salta el error y termina todo el proceso.

Código: [Seleccionar]
Oct 24 21:21:12 raspberrypi weewx[1223] DEBUG user.interceptor: empty queue
Oct 24 21:21:16 raspberrypi weewx[1223] DEBUG user.interceptor: POST: PASSKEY=XXXX&stationtype=EasyWeatherV1.5.9&dateutc=2021-10-24+19:21:15&tempinf=71.6&humidityin=55&baromrelin=30.175&baromabsin=30.113&tempf=59.9&humidity=89&winddir=319&windspeedmph=0.0&windgustmph=0.0&maxdailygust=9.2&rainratein=0.000&eventrainin=0.000&hourlyrainin=0.00$
Oct 24 21:21:16 raspberrypi weewx[1223] DEBUG user.interceptor: raw data: PASSKEY=F2DCB928FAE3933F0D7647399ACFAF17&stationtype=EasyWeatherV1.5.9&dateutc=2021-10-24+19:21:15&tempinf=71.6&humidityin=55&baromrelin=30.175&baromabsin=30.113&tempf=59.9&humidity=89&winddir=319&windspeedmph=0.0&windgustmph=0.0&maxdailygust=9.2&rainratein=0.000&eve$
Oct 24 21:21:16 raspberrypi weewx[1223] DEBUG user.interceptor: ignored parameter PASSKEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Oct 24 21:21:16 raspberrypi weewx[1223] DEBUG user.interceptor: ignored parameter stationtype=EasyWeatherV1.5.9
Oct 24 21:21:16 raspberrypi weewx[1223] DEBUG user.interceptor: ignored parameter baromrelin=30.175
Oct 24 21:21:16 raspberrypi weewx[1223] DEBUG user.interceptor: ignored parameter maxdailygust=9.2
Oct 24 21:21:16 raspberrypi weewx[1223] DEBUG user.interceptor: ignored parameter eventrainin=0.000
Oct 24 21:21:16 raspberrypi weewx[1223] DEBUG user.interceptor: ignored parameter hourlyrainin=0.000
Oct 24 21:21:16 raspberrypi weewx[1223] DEBUG user.interceptor: ignored parameter dailyrainin=0.000
Oct 24 21:21:16 raspberrypi weewx[1223] DEBUG user.interceptor: ignored parameter weeklyrainin=0.000
Oct 24 21:21:16 raspberrypi weewx[1223] DEBUG user.interceptor: ignored parameter monthlyrainin=0.622
Oct 24 21:21:16 raspberrypi weewx[1223] DEBUG user.interceptor: ignored parameter freq=868M
Oct 24 21:21:16 raspberrypi weewx[1223] DEBUG user.interceptor: ignored parameter model=WS2900_V2.01.16
Oct 24 21:21:16 raspberrypi weewx[1223] DEBUG user.interceptor: raw packet: {'dateTime': 1635103275, 'usUnits': 1, 'temperature_in': 71.6, 'humidity_in': 55.0, 'pressure': 30.113, 'temperature_out': 59.9, 'humidity_out': 89.0, 'wind_dir': 319.0, 'wind_speed': 0.0, 'wind_gust': 0.0, 'rain_rate': 0.0, 'rain_total': 0.622, 'solar_radiation': $
Oct 24 21:21:16 raspberrypi weewx[1223] DEBUG user.interceptor: mapped packet: {'dateTime': 1635103275, 'usUnits': 1, 'pressure': 30.113, 'outHumidity': 89.0, 'inHumidity': 55.0, 'outTemp': 59.9, 'inTemp': 71.6, 'windSpeed': 0.0, 'windGust': 0.0, 'windDir': 319.0, 'radiation': 0.0, 'rain': 0.0, 'rainRate': 0.0, 'UV': 0.0}
Oct 24 21:21:17 raspberrypi weewx[1223] INFO weewx.manager: Added record 2021-10-24 21:20:00 CEST (1635103200) to database 'weewx.sdb'
Oct 24 21:21:17 raspberrypi weewx[1223] INFO weewx.manager: Added record 2021-10-24 21:20:00 CEST (1635103200) to daily summary in 'weewx.sdb'
Oct 24 21:21:17 raspberrypi weewx[1223] INFO weewx.engine: Main loop exiting. Shutting engine down.
Oct 24 21:21:17 raspberrypi weewx[1223] INFO weewx.engine: Shutting down StdReport thread
Oct 24 21:21:17 raspberrypi weewx[1223] DEBUG weewx.engine: StdReport thread has been terminated
Oct 24 21:21:17 raspberrypi weewx[1223] DEBUG weewx.restx: Shut down PWSWeather thread.
Oct 24 21:21:17 raspberrypi weewx[1223] INFO user.interceptor: shutting down server thread
Oct 24 21:21:17 raspberrypi weewx[1223] DEBUG user.interceptor: stop tcp server
Oct 24 21:21:17 raspberrypi weewx[1223] CRITICAL __main__: Caught unrecoverable exception:
Oct 24 21:21:17 raspberrypi weewx[1223] CRITICAL __main__:     ****  '>' not supported between instances of 'float' and 'NoneType'
Oct 24 21:21:17 raspberrypi weewx[1223] CRITICAL __main__:     ****  Traceback (most recent call last):
Oct 24 21:21:17 raspberrypi weewx[1223] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 214, in run
Oct 24 21:21:17 raspberrypi weewx[1223] CRITICAL __main__:     ****      self.dispatchEvent(weewx.Event(weewx.CHECK_LOOP, packet=packet))
Oct 24 21:21:17 raspberrypi weewx[1223] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 245, in dispatchEvent
Oct 24 21:21:17 raspberrypi weewx[1223] CRITICAL __main__:     ****      callback(event)
Oct 24 21:21:17 raspberrypi weewx[1223] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 624, in check_loop
Oct 24 21:21:17 raspberrypi weewx[1223] CRITICAL __main__:     ****      raise BreakLoop
Oct 24 21:21:17 raspberrypi weewx[1223] CRITICAL __main__:     ****  weewx.engine.BreakLoop
Oct 24 21:21:17 raspberrypi weewx[1223] CRITICAL __main__:     ****
Oct 24 21:21:17 raspberrypi weewx[1223] CRITICAL __main__:     ****  During handling of the above exception, another exception occurred:
Oct 24 21:21:17 raspberrypi weewx[1223] CRITICAL __main__:     ****
Oct 24 21:21:17 raspberrypi weewx[1223] CRITICAL __main__:     ****  Traceback (most recent call last):
Oct 24 21:21:17 raspberrypi weewx[1223] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 640, in post_loop
Oct 24 21:21:17 raspberrypi weewx[1223] CRITICAL __main__:     ****      self._catchup(self.engine.console.genArchiveRecords)
Oct 24 21:21:17 raspberrypi weewx[1223] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 687, in _catchup
Oct 24 21:21:17 raspberrypi weewx[1223] CRITICAL __main__:     ****      for record in generator(lastgood_ts):
Oct 24 21:21:17 raspberrypi weewx[1223] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/drivers/__init__.py", line 30, in genArchiveRecords
Oct 24 21:21:17 raspberrypi weewx[1223] CRITICAL __main__:     ****      raise NotImplementedError("Method 'genArchiveRecords' not implemented")

^G Get Help       ^O Write Out      ^W Where Is       ^K Cut Text       ^J Justify        ^C Cur Pos        M-U Undo          M-A Mark Text     M-] To Bracket    M-Q Previous      ^B Back           ^◀ Prev Word      ^A Home           ^P Prev Line      M-- Scroll Up     ^▲ Prev Block     M-( Beg of Par    ^Y Prev Page      M-\ First Line

41
WeeWX / Re:Proyecto de Weewx (setup.py) + Raspi + Pincho USB-WIFI
« en: 24 de Octubre del 2021, 21:13:42 pm »
Hola jantoni.

Nada, conseguí avanzar. Efectivamente instalé Belchertown. Y luego, queriendo montar los forecasts, instalé el modulo de forecast y no sé si fue eso, o que toqueteé la base de datos sql, que de alguna forma la estación ya no envía datos a weewx. Es algo con weewx, ya que sí que está enviando datos correctamente a wu y a ecowitt, pero me estoy planteando empezar de cero.

Si corro el script meteowee, ¿sobreescribirá sobre todo lo que hay actualmente instalado? Es que lo que no querría sería instalar raspian de cero o formatear la SD ya que como me has leído en otro hilo, en esa rpasberry tengo pihole y un más cosas actualmente funcionando...

42
Definitivamente, no sé si fue tocar la base de datos, o montar el módulo forecasts, pero algo ha quedado fastidiado.

Me he sacado el log jmviper, y es curioso... parece que esta mañana la cosa iba bien (pese a que accediendo al skin, no recoge datos desde ayer a las 22:55) y ha sido sobreescribir la base de datos que me has pasado corregida y algo raro refleja el log:

Código: [Seleccionar]
Oct 24 12:10:23 raspberrypi weewx[15333] DEBUG user.interceptor: empty queue
Oct 24 12:10:33 raspberrypi weewx[15333] DEBUG user.interceptor: empty queue
Oct 24 12:10:39 raspberrypi weewx[15333] DEBUG user.interceptor: POST: PASSKEY=XXXX&stationtype=EasyWeatherV1.5.9&dateutc=2021-10-24+10:10:36&tempinf=70.9&humidityin$
Oct 24 12:10:39 raspberrypi weewx[15333] DEBUG user.interceptor: raw data: PASSKEY=F2DCB928FAE3933F0D7647399ACFAF17&stationtype=EasyWeatherV1.5.9&dateutc=2021-10-24+$
Oct 24 12:10:39 raspberrypi weewx[15333] DEBUG user.interceptor: ignored parameter PASSKEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Oct 24 12:10:39 raspberrypi weewx[15333] DEBUG user.interceptor: ignored parameter stationtype=EasyWeatherV1.5.9
Oct 24 12:10:39 raspberrypi weewx[15333] DEBUG user.interceptor: ignored parameter baromrelin=30.166
Oct 24 12:10:39 raspberrypi weewx[15333] DEBUG user.interceptor: ignored parameter maxdailygust=5.8
Oct 24 12:10:39 raspberrypi weewx[15333] DEBUG user.interceptor: ignored parameter eventrainin=0.000
Oct 24 12:10:39 raspberrypi weewx[15333] DEBUG user.interceptor: ignored parameter hourlyrainin=0.000
Oct 24 12:10:39 raspberrypi weewx[15333] DEBUG user.interceptor: ignored parameter dailyrainin=0.000
Oct 24 12:10:39 raspberrypi weewx[15333] DEBUG user.interceptor: ignored parameter weeklyrainin=0.000
Oct 24 12:10:39 raspberrypi weewx[15333] DEBUG user.interceptor: ignored parameter monthlyrainin=0.622
Oct 24 12:10:39 raspberrypi weewx[15333] DEBUG user.interceptor: ignored parameter freq=868M
Oct 24 12:10:39 raspberrypi weewx[15333] DEBUG user.interceptor: ignored parameter model=WS2900_V2.01.16
Oct 24 12:10:39 raspberrypi weewx[15333] DEBUG user.interceptor: raw packet: {'dateTime': 1635070236, 'usUnits': 1, 'temperature_in': 70.9, 'humidity_in': 51.0, 'pre$
Oct 24 12:10:39 raspberrypi weewx[15333] DEBUG user.interceptor: mapped packet: {'dateTime': 1635070236, 'usUnits': 1, 'pressure': 30.104, 'outHumidity': 59.0, 'inHu$
Oct 24 12:10:39 raspberrypi weewx[15333] INFO weewx.manager: Added record 2021-10-24 12:10:00 CEST (1635070200) to database 'weewx.sdb'
Oct 24 12:10:39 raspberrypi weewx[15333] INFO weewx.manager: Added record 2021-10-24 12:10:00 CEST (1635070200) to daily summary in 'weewx.sdb'
Oct 24 12:10:39 raspberrypi weewx[15333] INFO weewx.engine: Main loop exiting. Shutting engine down.
Oct 24 12:10:39 raspberrypi weewx[15333] DEBUG weewx.restx: Shut down PWSWeather thread.
Oct 24 12:10:39 raspberrypi weewx[15333] INFO user.interceptor: shutting down server thread
Oct 24 12:10:39 raspberrypi weewx[15333] DEBUG user.interceptor: stop tcp server
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__: Caught unrecoverable exception:
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****  '>' not supported between instances of 'float' and 'NoneType'
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****  Traceback (most recent call last):
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 214, in run
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****      self.dispatchEvent(weewx.Event(weewx.CHECK_LOOP, packet=packet))
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 245, in dispatchEvent
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****      callback(event)
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 624, in check_loop
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****      raise BreakLoop
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****  weewx.engine.BreakLoop
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****  During handling of the above exception, another exception occurred:
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****  Traceback (most recent call last):
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 640, in post_loop
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****      self._catchup(self.engine.console.genArchiveRecords)
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 687, in _catchup
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****      for record in generator(lastgood_ts):
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/drivers/__init__.py", line 30, in genArchiveRecords
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****      raise NotImplementedError("Method 'genArchiveRecords' not implemented")
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****  NotImplementedError: Method 'genArchiveRecords' not implemented
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****  During handling of the above exception, another exception occurred:
Oct 24 12:10:39 raspberrypi weewx[15333] CRITICAL __main__:     ****

La verdad es que, llegados a este punto, los tres días que llevo datos no tienen valor alguno si hubiese que borrar la base de datos y empezar de cero. Porque como digo, el problema ahora mismo es que la estación sí envía los datos a wu y ecowitt, pero por alguna razón, está fallando en el envío al weewx (o weewx está siendo incapaz de obtenerlos mejor dicho)

Y otra cosa que me sorprende es que, la app ws view donde queda configurado la entrega de datos a wu, ecowitt y la raspberry pi, cuando accedía a la sección LOG, podría ver el chorro de números/letras cada varios segundos. Sin embargo ahora nada...

43
Pero sobre todo hay una cosa que no me gusta nada...

Código: [Seleccionar]
root@raspberrypi:/etc/weewx# ls
apache logrotate.d  meteoclimatic.ini rsyslog.d  skins  weewx.conf      weewx.conf.20211022230408 weewx.conf.dist
import logwatch     meteoclimatic.py scripts    udev   weewx.conf.20211021131321  weewx.conf.20211023200801 weewx-forecast.zip

Estos weewx.conf con referencias de fecha que son justo de los dos días que "no he querido borrar" me da muy mala espina. Recordemos que en teoría he borrado en la base de datos las lecturas del 20211020.

44
Incidencias en estaciones / Re:Nueva estación no actualiza datos
« en: 23 de Octubre del 2021, 23:01:11 pm »
Código: [Seleccionar]
● weewx.service - LSB: weewx weather system
   Loaded: loaded (/etc/init.d/weewx; generated)
   Active: active (exited) since Sat 2021-10-23 22:54:28 CEST; 6min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 14238 ExecStart=/etc/init.d/weewx start (code=exited, status=0/SUCCESS)

Oct 23 22:55:43 raspberrypi python3[14254]: weewx[14254] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 642, in post_loop
Oct 23 22:55:43 raspberrypi python3[14254]: weewx[14254] CRITICAL __main__:     ****      self._software_catchup()
Oct 23 22:55:43 raspberrypi python3[14254]: weewx[14254] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 707, in _software_catchup
Oct 23 22:55:43 raspberrypi python3[14254]: weewx[14254] CRITICAL __main__:     ****      origin='software'))
Oct 23 22:55:43 raspberrypi python3[14254]: weewx[14254] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 245, in dispatchEvent
Oct 23 22:55:43 raspberrypi python3[14254]: weewx[14254] CRITICAL __main__:     ****      callback(event)
Oct 23 22:55:43 raspberrypi python3[14254]: weewx[14254] CRITICAL __main__:     ****    File "/usr/share/weewx/user/forecast.py", line 1212, in update_forecast
Oct 23 22:55:43 raspberrypi python3[14254]: weewx[14254] CRITICAL __main__:     ****      elif time.time() - self.interval > self.last_ts:
Oct 23 22:55:43 raspberrypi python3[14254]: weewx[14254] CRITICAL __main__:     ****  TypeError: '>' not supported between instances of 'float' and 'NoneType'
Oct 23 22:55:43 raspberrypi python3[14254]: weewx[14254] CRITICAL __main__:     ****  Exiting.
~

45
Incidencias en estaciones / Re:Nueva estación no actualiza datos
« en: 23 de Octubre del 2021, 21:10:55 pm »
Pues, es raro porque aparentemente la plantilla sí está operativa en el link que indico:

http://naxos.synology.me/weewx/meteoclimatic.html

Pero dice: plantilla no encontrada.

Páginas: 1 2 [3] 4