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

Páginas: 1 2 [3] 4 5 ... 10
31
WeeWX / Re:Tema para especialistas en BBDD weewx
« en: 15 de Mayo del 2020, 17:36:15 pm »
Buenas

Si ese era mi objetivo...
Mi BBDD tiene unos 110mb  de tamaño en 6 años y en ocasiones que hay que regenerar por una instalación nueva o hay "navegar" entre tanta línea para corregir algún dato erróneo pues la cosa hay que tomársela con paciencia.
Yo además,a pesar de la copia de seguridad a menudo,me da miedo que se corrupta la base de datos al tener tantos datos.
La duda es si dejo los archivos noaa de la anterior BBDD para poder acceder a ellos en cualquier momento desde la web,si al generar los nuevos se mantendran los anteriores al no tener weewx datos de donde generarlos... :-\

Entonces un rato igual pruebo y comienzo una nueva BBDD si consigo mantener los noaa anteriores  :;

32
WeeWX / Re:Tema para especialistas en BBDD weewx
« en: 15 de Mayo del 2020, 09:08:03 am »
Buenas
Retomando un poco el tema de las BBDD y viendo que la mía empieza a "engordar" después de 6 años...me preguntaba si es posible o conveniente empezar una nueva por ejemplo anualmente.
Dejar los archivos NOAA generados hasta la fecha y si al empezar y una nueva BBDD estos se mantendrían en weewx y no generarían inconsistencias en meteoclimatic. ???

Saludos

33
Otros Skins de Weewx / Re:Neowx
« en: 10 de Mayo del 2020, 11:35:34 am »
Perfecto  :)
Me ha costado un rato entender el funcionamiento pero con las herramientas que me has indicado de google es mas sencillo ya que puedes ver como queda,después es solo modificar el archivo css en la raspberry.

Es un "tinglao"... una parte se modifica en el skin otra en el index y ahora en el css  :;

Gracias  :aplaude1:

34
Otros Skins de Weewx / Re:Neowx
« en: 09 de Mayo del 2020, 20:47:42 pm »
Hola

Lo único que he encontrado sobre css en el archivo index es esto...no veo donde cambiar el color  :-\
Código: [Seleccionar]
<!-- CSS -->
    <link rel="stylesheet" href="weather-icons/css/weather-icons.min.css" type="text/css">
    <link rel="stylesheet" href="weather-icons/css/weather-icons-wind.min.css" type="text/css">
    <link rel="stylesheet" href="style.css" type="text/css">

¿Quizás sea añadir en esta parte de crd-content?
Código: [Seleccionar]
<!-- Main data -->
        <div class="row gutters row-gutters">
            <div class="col col-9">

                <div class="row gutters row-gutters">
                    <div class="col col-4 crd">

                        <h4><i class="wi wi-thermometer"></i> $Extras.Translation.out_temp</h4>

                        <div class="crd-content">
                            <span class="weatherdata">$current.outTemp</span>
                            <table class="meta">
                                <tr>
                                    <td>$Extras.Translation.high:</td>
                                    <td>$day.outTemp.max</td>
                                    <td>($day.outTemp.maxtime.format("%H:%M"))</td>
                                </tr>
                                <tr>
                                    <td>$Extras.Translation.low:</td>
                                    <td>$day.outTemp.min</td>
                                    <td>($day.outTemp.mintime.format("%H:%M"))</td>
                                </tr>
                            </table>


35
Otros Skins de Weewx / Re:Neowx
« en: 08 de Mayo del 2020, 21:15:29 pm »
Ok,gracias....algo he visto de css y roboto  *-* *-*
 Un rato pruebo  :aplaude1:

Saludos

36
Otros Skins de Weewx / Re:Neowx
« en: 07 de Mayo del 2020, 20:10:56 pm »
Hola
Estaba probando este skin y quería modificar el color de las líneas Max y Min,el dato registrado y la hora,ese color grisáceo que no se ve gran cosa.
Ya he probado modificando el archivo skin pero solo me cambia los colores de los gráficos, ya le he dado mil vueltas y no acierto ::)

Adjunto el skin y el archivo index...

Un saludo y gracias

37
WeeWX / Re:Nueva versión weewx 4.0.0
« en: 02 de Mayo del 2020, 13:39:28 pm »
Yo si he actualizado y no parece ir de mal  ;) ;)

38
WeeWX / Nueva versión weewx 4.0.0
« en: 30 de Abril del 2020, 21:00:51 pm »
Pues estaba haciendo unas pruebas para una segunda raspi con weewx y el script automático de jantoni y durante la instalación he visto pasar 4.0.0  :o :o
 
Novedades para los entendidos  *+*

 --------------------
 weewx change history
 --------------------

4.0.0 (30 Apr 2020)

Ported to Python 3. WeeWX should now run under Python 3.5 and greater, as
well as Python 2.7. Support for Python 2.5 and 2.6 has been dropped.

New facility for creating new user-defined derived types. See the Wiki
article https://github.com/weewx/weewx/wiki/WeeWX-V4-user-defined-types

WeeWX now uses the Python 'logging' facility. This means log, formats, and
other things can now be customized. Fixes issue #353.

Strings appearing in the data stream no longer cause a TypeError if they
can be converted to a number.

Strings can now be accumulated and extracted in the accumulators, making it
possible to include them in the database schemas.

The utility wee_reports now loads services, allowing it to use
user-supplied extensions. Fixes issue #95.

New default schema ("wview_extended") that offers many new types. The old
schema is still supported. Fixes issue #115.

Optional, more flexible, way of specifying schemas for the daily summaries.
The old way is still supported.

The install process now offers to register a user's station with weewx.com.

The package MySQL-python, which we used previously, is not always available
on Python 3. Ported the MySQL code to use the package mysqlclient as an
alternative.

The default for WOW no longer throttles posting frequency (the default used
to be no more than once every 15 minutes).

Added new aggregate types minsum, minsumtime, sum_le. PR #382.

Unit group group_distance is now a first-class group.

Added new tag $python_version.

Ported to Python2-PyMySQL package on OpenSUSE.

Added new aggregation types 'first' (similar to 'last'), 'diff' (the
difference between last and first value in the aggregation interval), and
'tderiv' (the difference divided by the time difference).

Created new unit group 'group_energy2', defined as watt-seconds. Useful for
high resolution energy monitors.

An observation type known to the system, but not in a record, will now
return a proper ValueTuple, rather than UnknownType.

Type "stormStart" was added to the unit system. Fixes issue #380.

Added new aggregation type 'growdeg'. Similar to 'heatdeg', or 'cooldeg',
it measures growing degree-days. Basically, cooldeg, but with a different
base. Fixes issue #367. Thanks to user Clay Jackson for guidance!

Ported OS uptime to OpenBSD. Fixes issue #428. Thanks to user Jeff Ross!

Catch SSL certificate errors in uploaders. Retry after an hour. Fixes issue
#413.

Wunderfixer has been ported to the new WU API. This API requires an API
key, which you can get from the WU. Put it in weewx.conf. Added option
--upload-only. Thanks to user Leon Shaner! Fixes issues #414 and #445.

Wee_import can now import Weather Display monthly log files.

Fixed problem where sub-sections DegreeDays and Trend were located under
the wrong weewx.conf section. Fixes issue #432. Thanks to user mph for
spotting this!

Added new parameters to the Weather Underground uploader. Fixes issue #435.

Added new air quality types pm1_0, pm2_5, and pm10_0 to the unit system.
Added new unit microgram_per_meter_cubed. Added new unit group,
group_concentration.

Plist for the Mac launcher now includes a log file for stderr.

Night-day transition in plots now uses shortest travel distance around
color wheel to minimize extra colors. Fixes issue #457. Thanks to user Alex
Edwards!

Fixed bug that causes plots to fail when both min and max are zero. Fixes
issue #463.

Fixed problem with sqlite driver that can lead to memory growth. See PR
#467. Thanks to user Rich Bell!

Fixed bug that caused windrun to be calculated wrongly under METRICWX unit
system. Fixes issue #452.

If a bad value of 'interval' is encountered in a record, the program will
simply ignore it, rather than stopping. Address issue #375.

Change in how the archive timespan is calculated in the engine. This allows
oddball archive intervals. Fixes issue #469.

NOAA reports are now more tolerant of missing data. Fixes issue #300.

Use of strftime() date and time format codes in template file names is now
supported as an alternative to the legacy 'YYYY', 'MM' and 'DD'. The legacy
codes continue to be supported for backwards compatibility. Fixes issue
#415.

New --calc-missing action added to wee_database to calculate and store
derived observations.

wee_import now calculates missing derived observations once all imported
data has been saved to archive. Fixes issue #443.

wee_import now tolerates periods that contain no source data. Fixes issue
#499.

wee_import now accepts strings representing cardinal, intercardinal and
secondary intercardinal directions in CSV imports. Partially fixes issue
#238.

The field delimiter character may now be defined for wee_import CSV
imports.

Ignore historical records if the timestamp is in the future.

Can now recover from MariaDB-specific database connection error 1927.

Changed the name of the unit "litre" to "liter", making its spelling more
consistent with "meter". The spelling "litre" is still accepted.

Systemd type changed from "simple" to "forking". Thanks to user Jaap de
Munck for figuring this one out!

The configuration file is now an optional argument when running weewxd
directly. This means most users will be able to use the simple command line
'sudo weewxd'.

Use correct log path for netbsd and openbsd in logger setup.

StdWXCalculate no longer calculates anything by default. Instead, types to
be calculated must be listed in weewx.conf. See the Upgrade Guide.

setup.py install no longer saves the old 'bin' subdirectory. Instead, it
simply overwrites it.

39
Ordenadores / Re:Nueva raspberry pi zero
« en: 28 de Abril del 2020, 20:14:34 pm »
Interesante la versión wifi incorporada  8)

Ya contarás que tal fuciona la conexión inalámbrica ya que el wifi de las raspi a mí nunca me ha ido bien con muchos cortes.La tengo por cable pero desde el "chamuscado" por tormenta,a través del rj 45 pasando por el usb y estropeando la consola pues estoy temblando  :-X :-X



40
Incidencias / Re:Desactivación estación ESCTB3900000039593F
« en: 26 de Abril del 2020, 12:42:21 pm »
Hola
Ya tengo la consola nueva funcionado y enviando datos,solo me falta corregir las inconsistencias generadas y meterme con la base de datos de weewx  :;

Solo decir por si alguien tenía curiosidad,las dos consolas pueden recibir los datos de la iss simultaneamente  *+*

Un saludo

41
WeeWX / Re:Nuevo script instalación automatizada
« en: 25 de Abril del 2020, 20:18:49 pm »
Si,cambié ahora el weewx.conf de la instalación limpia por uno de seguridad que tenía de antes de la catástrofe y ha empezado a funcionar  :o

Aunque de manera local sigo sin poder ver la web xxx.xxx.x.xxx/weewx

42
WeeWX / WMR300 y Nuevo script instalación automatizada
« en: 25 de Abril del 2020, 19:43:43 pm »
Buenas
Hoy por fin me ha llegado la wmr300 par cambiar la consola que se me había estropeado el usb por una tormenta.
Esta semana dejé preparada  una raspi actualizada por el scrip de Jantoni para la llegada de la nueva y todo perfecto en modo "simulator"  :aplaude1:.Total que conecto hoy la consola nueva a la raspi y hago el cambio de estación simulator a wmr 300 wee_config --reconfigure borro la base de datos pero no ha sido posible ver la web en ipraspi/weewx/ .El caso es que en modo simulator si funcionó  :(
He desinstalado weewx de nuevo,he vuelto a instalar el script y solo he conseguido ver la web en el navegador de la propia raspi con escritorio remoto.

Decir que la hora de la raspi y de la consola están las dos en cest y ya he instalado sudo apt-get install apache2
Con Bitvise he visto que las imágenes están en /var/www/html/weewx y el archivo index.html con el icono en mi caso de firefox que al pincharle se me abre en el navegador del pc aunque de una forma extraña,sin imágenes y solo los datos ,es decir incompleta.

Código: [Seleccionar]
root@raspberrypi:~# sudo tail -f /var/log/weewx.log
Apr 25 19:15:10 raspberrypi weewx[499]: manager: Added record 2020-04-25 19:14:00 CEST (1587834840) to database 'weewx.sdb'
Apr 25 19:15:10 raspberrypi weewx[499]: manager: Added record 2020-04-25 19:14:00 CEST (1587834840) to daily summary in 'weewx.sdb'
Apr 25 19:15:11 raspberrypi weewx[499]: wmr300: get history complete: count=4 last_index=229 history_end_index=230
Apr 25 19:15:11 raspberrypi weewx[499]: engine: Starting main packet loop.
Apr 25 19:15:29 raspberrypi weewx[499]: wmr300: history buffer at 0.61% (231)
Apr 25 19:20:14 raspberrypi weewx[499]: manager: Added record 2020-04-25 19:20:00 CEST (1587835200) to database 'weewx.sdb'
Apr 25 19:20:14 raspberrypi weewx[499]: manager: Added record 2020-04-25 19:20:00 CEST (1587835200) to daily summary in 'weewx.sdb'
Apr 25 19:20:18 raspberrypi weewx[499]: cheetahgenerator: Generated 8 files for report SeasonsReport in 3.71 seconds
Apr 25 19:20:20 raspberrypi weewx[499]: imagegenerator: Generated 14 images for SeasonsReport in 1.14 seconds
Apr 25 19:20:20 raspberrypi weewx[499]: copygenerator: copied 5 files to /var/www/html/weewx
Apr 25 19:25:14 raspberrypi weewx[499]: manager: Added record 2020-04-25 19:25:00 CEST (1587835500) to database 'weewx.sdb'
Apr 25 19:25:14 raspberrypi weewx[499]: manager: Added record 2020-04-25 19:25:00 CEST (1587835500) to daily summary in 'weewx.sdb'
Apr 25 19:25:15 raspberrypi weewx[499]: cheetahgenerator: Generated 8 files for report SeasonsReport in 1.14 seconds
Apr 25 19:25:16 raspberrypi weewx[499]: imagegenerator: Generated 14 images for SeasonsReport in 0.99 seconds
Apr 25 19:25:16 raspberrypi weewx[499]: copygenerator: copied 0 files to /var/www/html/weewx
Apr 25 19:30:14 raspberrypi weewx[499]: manager: Added record 2020-04-25 19:30:00 CEST (1587835800) to database 'weewx.sdb'
Apr 25 19:30:14 raspberrypi weewx[499]: manager: Added record 2020-04-25 19:30:00 CEST (1587835800) to daily summary in 'weewx.sdb'
Apr 25 19:30:16 raspberrypi weewx[499]: cheetahgenerator: Generated 8 files for report SeasonsReport in 1.15 seconds
Apr 25 19:30:17 raspberrypi weewx[499]: imagegenerator: Generated 14 images for SeasonsReport in 1.00 seconds
Apr 25 19:30:17 raspberrypi weewx[499]: copygenerator: copied 0 files to /var/www/html/weewx
Apr 25 19:35:14 raspberrypi weewx[499]: manager: Added record 2020-04-25 19:35:00 CEST (1587836100) to database 'weewx.sdb'
Apr 25 19:35:15 raspberrypi weewx[499]: manager: Added record 2020-04-25 19:35:00 CEST (1587836100) to daily summary in 'weewx.sdb'
Apr 25 19:35:16 raspberrypi weewx[499]: cheetahgenerator: Generated 8 files for report SeasonsReport in 1.20 seconds
Apr 25 19:35:17 raspberrypi weewx[499]: imagegenerator: Generated 14 images for SeasonsReport in 1.00 seconds
Apr 25 19:35:17 raspberrypi weewx[499]: copygenerator: copied 0 files to /var/www/html/weewx
Apr 25 19:40:14 raspberrypi weewx[499]: manager: Added record 2020-04-25 19:40:00 CEST (1587836400) to database 'weewx.sdb'
Apr 25 19:40:14 raspberrypi weewx[499]: manager: Added record 2020-04-25 19:40:00 CEST (1587836400) to daily summary in 'weewx.sdb'
Apr 25 19:40:15 raspberrypi weewx[499]: cheetahgenerator: Generated 8 files for report SeasonsReport in 1.11 seconds
Apr 25 19:40:16 raspberrypi weewx[499]: imagegenerator: Generated 14 images for SeasonsReport in 0.99 seconds
Apr 25 19:40:16 raspberrypi weewx[499]: copygenerator: copied 0 files to /var/www/html/weewx

43
Incidencias / Re:Desactivación estación ESCTB3900000039593F
« en: 18 de Abril del 2020, 21:12:03 pm »
Ok,gracias  ;) ;)

Se me ha complicado todo...el seguro,el périto,la falta de stock de la wmr300 y ahora el confinamiento  :;

44
Incidencias / Re:Desactivación estación ESCTB3900000039593F
« en: 18 de Abril del 2020, 08:48:35 am »
Hola
Me ha llegado un mensaje que se desactiva mi estación por falta de datos y la pérdida del sello de calidad.Como ya he comentado en anteriores post,debido a una tormenta se estropeo el puerto usb de la consola,así que manualmente he ido subiendo los datos.
El seguro en febrero porfín me pagaron la estación y por eso no he cambiado ni reparado la consola hasta que no me dieron solución.Seguido he buscado una estación igual ,para así tener recambios de la vieja pero ha sido dificil ya que como se ha comentado este modelo wmr300 está descatalogado.Al final he encontrado una particular pero nos ha pillado justo el confinamiento y no me la pueden enviar hasta que no levante el estado de alarma  :-[
¿debería volver ha pasar de nuevo la auditoría?... ya que como he comentado he seguido subiendo los datos manualmente para no perderlos   ::)

Un saludo

45
El que no juega,no gana... :; :; :; :; :; :; :;

Suerte entonces  O:-)

Páginas: 1 2 [3] 4 5 ... 10