Skip to content

Belchertown Skin v0.7

Compare
Choose a tag to compare
@poblabs poblabs released this 08 Sep 18:41
· 1421 commits to master since this release

A lot of changes in this skin. Please read all instructions below!

Changes

  • Separated Highcharts from the main skin into its own skin. In testing this has shown to speed up skin generation times. Strongly advise you to uninstall Belchertown skin, and install 0.7 as a new skin. Also, be sure to have a backup of your skin customizations
  • The highcharts extension gets its options from the Belchertown main skin. Keep your highcharts options under Belchertown's main Extras section.
  • Moved highcharts timespans to our own intervals and not using the timespan intervals.
  • Better handling of default about and records page. Now includes an about.inc.example and records.inc.example to show what you can do. If about.inc or records.inc is missing, then the skin will show some default information rather than throwing an error.
  • Moved the forecast and earthquake functions into the main getData() class.
  • Adjusted .wind. on the records page to .windGust. which should fix the errors that have been reported.
  • Moved the moment.js utcOffset back to minutes instead of hours.
  • If no earthquake data is available in your region, we now display that information as "No recent earthquake data available!". If this affects you, you can expand your earthquake_maxradiuskm.
  • Cleaned up a lot of old code from the Highcharts extension included in this skin.

Uninstall v0.6 and older

If you have v0.6 or older installed, please backup your custom skin configurations and uninstall the skin completely. This is because I had to break apart the skin into 2 skins. One for the charts, and one for the website.

NOTE: If your weewx is in /home/weewx, you can find wee_extension at /home/weewx/bin/wee_extension

  1. sudo wee_extension --uninstall Belchertown
  2. Make sure you have no Belchertown folder in your skins folder.
  3. Make sure belchertown.py and belchertown_highchartsSearchX.py are not in the bin/user folder

Install

wget https://github.com/poblabs/weewx-belchertown/archive/weewx-belchertown-0.7.tar.gz

Then run

sudo wee_extension --install weewx-belchertown-0.7.tar.gz

Configure the weewx.conf pre-requisites and restart weewx when done.


Issues?

Please report any issues you find here. This helps me keep track of them.