Belchertown Skin v0.7
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
andrecords.inc.example
to show what you can do. Ifabout.inc
orrecords.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
sudo wee_extension --uninstall Belchertown
- Make sure you have no
Belchertown
folder in your skins folder. - Make sure
belchertown.py
andbelchertown_highchartsSearchX.py
are not in thebin/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.