-
-
Notifications
You must be signed in to change notification settings - Fork 122
Upgrading to Belchertown skin 1.0
Belchertown 1.0 has portions that have been completely rewritten and files renamed. It is not recommended to upgrade from an older version to 1.0.
Uninstall any old versions and install fresh with these instructions.
- Backup your weewx.conf just in case and save the
[[Belchertown]][[[Extras]]]you have since you will need those later. - Uninstall Belchertown with the
wee_extension --uninstall Belchertowncommand. Runwee_extension --listto make sure weewx thinks it's gone. - Manually check your
weewx/skinsfolder for theBelchertownandHighcharts_Belchertownfolders. Delete any or both folder if they still exist. - Then go to your
bin/userfolder and deletebelchertown.pyand deletebelchertown_highchartsSearchX.pyif they exist. - Then edit your weewx.conf and look for the
[StdReport]section. Within that section remove[[Belchertown]]and remove[[Highcharts_Belchertown]]skin sections. Save your[[Belchertown]]Extras so you can put them back after you install 1.0. - Download the Belchertown 1.0 zip file from https://github.com/poblabs/weewx-belchertown/releases and run
wee_extension --install weewx-belchertown-release-1.0.tar.gz - Reconfigure your
[[Belchertown]]Extras in weewx.conf, making surebelchertown_root_urlis not missing. - Restart weewx and wait for an archive interval for the site to be generated.
The majority of the changes in 1.0 involve the graphs. The graph system was 100% rewritten and is more efficient. The Highcharts_Belchertown subskin has been removed.
As a result 1.0 comes with 4 defaults graphs - which look different than previous versions. To add, change or remove graphs please read the Charts Wiki Page. It walks you through how to create the new graphs.conf file and begin editing your graphs to show all the custom observations you want to show.
Belchertown 1.0 a été entièrement ré-écrit et les fichiers ont été renommés. il est déconseillé de faire une mise à jour depuis une version précédente à la version 1.0
Désinstallez toutes les anciennes versions et faites une nouvelle installation avec les instructions suivantes :
-
Par sécurité, sauvegardez weewx.conf et conservez la sous-section
[[Belchertown]] [[[Extras]]]. Vous en aurez besoin plus tard. -
Désinstallez Belchertown avec la commande
wee_extension --uninstall Belchertown. Lancez ensuitewee_extension --listafin de vérifier que l'extension n'est plus présente. -
Contrôlez manuellement, le dossier weewx/skins, plus précisément les dossiers Belchertown et
Highcharts_Belchertown.
Supprimez les dossiers et le contenu existant. -
Ensuite, dans le dossier bin.user, supprimez les fichier
belchertown.pyetbelchertown_highchartsSearchX.pys'ils existent. -
Puis éditez le fichier weewx.conf et cherchez la section
[StdReport]. Dans cette section, supprimez les sections[[Belchertown]]et[[Highcharts_Belchertown]]. Sauvegardez toutefois[[Belchertown]] [[[Extras]]]afin de pouvoir restaurer ces données après l'installation de la version 1.0. -
Téléchargez le fichier Belchertown 1.0 et lancez
wee_extension --install weewx-belchertown-release-1.0.tar.gz -
Reconfigurez la section
[[Belchertown]] [[[Extras]]]du fichier weewx.conf, et vérifiez à minima quebelchertown_root_urlsoit bien présent. -
Redémarrez weewx et attendez qu'un cycle d'archivage se soit passé pour que le site soit régénéré.
La majorité des changements de la version 1.0 impacte les graphiques. Le système de graphiques a été ré-écrit à 100% et est plus efficient. Le sous-thème Highcharts_Belchertown a été supprimé.
Au final la version 1.0 contient 4 graphiques par défaut qui sont différents des versions précédentes. Pour ajouter, modifier ou supprimer des graphiques, lisez la page Charts Wiki. Cela vous expliquera comment écrire le nouveau fichier graphs.conf et de pouvoir commencer à pouvoir créer vos propres graphiques afin de diffuser vos observations personnalisées.
Belchertown 1.0 tiene partes de su código totalmente reescritas y ficheros renombrados. No es recomendable actualizar desde una versión anterior a la 1.0.
Desinstala cualquier versión anterior e realiza una instalación nueva con estas instrucciones.
- Haz un backup del fichero weewx.conf o guarda la sección
[[Belchertown]][[[Extras]]], lo necesitarás más tarde. - Desinstala Belchertown con el comando
wee_extension --uninstall Belchertown. Ejecutawee_extension --listpara asegurarte de que se ha desintalado. - Comprueba manualmente el directorio
weewx/skinspara comprobar que no existen los directoriosBelchertownyHighcharts_Belchertown. Si existen elimínalos. - En el directorio
bin/usereliminabelchertown.pyybelchertown_highchartsSearchX.pysi existen. - Ahora edita weewx.conf y busca la sección
[StdReport]. Elimina las secciones[[Belchertown]]y[[Highcharts_Belchertown]]. Guarda tu sección Extras[[Belchertown]]para poner después de la instalación de la versión 1.0. - Descarga Belchertown 1.0 y ejecuta
wee_extension --install weewx-belchertown-release-1.0.tar.gz. - Reconfigura tu
[[Belchertown]]Extras en weewx.conf, asegúrate de que no falta la variablebelchertown_root_url. - Reinicia el servicio weewx y espera que se genere el informe. Gráficas
La mayoría de los cambios en la versión 1.0 son en las gráficas. El sistema de gráficas fué reescrito y es más eficiente. El subskin Highcharts_Belchertown ha sido eliminado.
El resultado es que la versión 1.0 incluye 4 gráficas por defecto que se muestran diferente que en versiones anteriores. Para añadir, cambiar o eliminar gráficas por favor lee el Wiki de gráficos. Se explica como crear tu propio graphs.conf y comenzasr a editar tus gráficas para mostrar observaciones personalizadas.