Skip to content

Belchertown Skin v0.9

Compare
Choose a tag to compare
@poblabs poblabs released this 01 Mar 00:14
· 1176 commits to master since this release
57cca92

Breaking Changes

  • BREAKING CHANGE - Updated all mqtt_* skin options to mqtt_websockets_* to reduce confusion. The skin needs MQTT Websockets in order to work. These variable names should help.

Other Changes and Fixes

  • A lot of work focused on locale for time formatting. All time should be auto-detected by the locale on your server and displayed in your locale format.
  • Charts hover tooltips are now in station's locale format.
  • Major bugfix for the rain charts. The old code was adding A LOT OF PLOTS. This resulted in slower chart generation time.
  • Forecast row is now JavaScript only and has been removed from the belchertown.py SLE. This makes it easier to manage in the future since it's only in 1 place now.
  • Updated almanac to work with weewx 3.9.0's new [Default] section within weewx.conf.
  • Added the option to show indoor temperature (inTemp) to the temperature charts. This option is disabled by default and is setup exactly like apparent temperature. Once you opt-in to show this data, it is only available for the day and week charts.
  • Added a manifest.json file which allows you to install your weather website like an "app" on your smart devices. Thanks user @WhiteNoseThunderPants for the initial work on this.
  • Added the matching Apple config so you can add your weather website like an "app" on your Apple devices.
  • Added $footer_disclaimer_text option to update the footer disclaimer. Thanks @biltmorelaker!
  • Added a robots.txt file.
  • Switched to the new Google Analytics method of tracking with gtag.js.
  • Added forecast windspeed next to the (existing) wind gust.
  • Updated windspeed forecast CSS on mobile.
  • Updated the records page for Consecutive Rain Days to show all time date range. Useful if your consecutive rain dates wrap around a new year and the math seems wrong (like https://BelchertownWeather.com shows)
  • Simplified the includes for the About page, Records page and home page. Before it had a lot of overhead to it, so now it's using a simple Cheetah #include. If you want to show something in these areas, you just need to create the .inc file and that's it. No options to set or anything. See the README for more information.
  • On the Pi page, added a timer to reconnect to MQTT if connection is lost to the MQTT broker.
  • Re-ordered some JavaScript functions due to improper grouping.
  • Fixed Pi page styles to match the 640x480 resolution for the PiTFT.
  • Fixed a bug on the Records page where certain custom observations were not in the station's locale formatting.
  • Fixed a bug certain users were seeing with UTF-8. Thanks user @spanishhighs!
  • Fixed a bug where if using a radar image (not windy.com, but a jpg, gif, png, etc.), it'll reload the image upon background updates.
  • Fixed a bug where the date of the weather records snapshot for "Today" and "Month of" on the home page didn't update if the page was automatically updated overnight into a new day or a new month.
  • Fixed a bug where rounding of rain and outTemp for custom Records page code wasn't honoring the number of decimal places from skin.conf.
  • Fixed a bug where the Highcharts timelines were in the viewer's timezone and not the station's timezone.
  • Fixed a bug where the Week and Month charts did not begin on a week before, or a month before (respectively).
  • Fixed a bug where the Year charts did not begin on January 1.
  • Fixed a bug where if there was missing data in the chart data, the chart would show a connecting line. Instead the correct behavior should be to show a gap which represents that data is missing.
    • Gaps will show if the following time ranges are missing in the chart:
    • Day chart: 5 minute gap
    • Week chart: 1 hour gap
    • Month: 24 hour gap
    • Year: 24 hour gap
  • Fixed a bug where the Facebook share button was using the O'Brien Labs Facebook App ID.

Install

If you are upgrading, while unlikely something will go wrong, please make sure you have a backup your configuration.

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

Then run

sudo wee_extension --install weewx-belchertown-0.9.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.