forked from poblabs/weewx-belchertown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
changelog
136 lines (118 loc) · 11.6 KB
/
changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
0.9.1 March 9, 2019
* Fixed a locale bug with the windSpeed and windGust float values by using toString() instead of format(). This is backwards compatible with weewx 3.8.2
* Fixed a bug where MQTT AJAX page updates weren't in locale decimal. (e.g. comma instead of period for decimal). Can't use parseFloat() on it's own if the culture is a comma for decimals. Need to use toLocaleString(). This requires converting the string to an int, to a float, back to a string.
* Fixed a bug with the chart gapSize on the day charts to use the `archive_interval` and not an arbirary 5 minute setting.
* Fixed a bug with windDir vectors not being consistent.
* Fixed a bug with the forecast breaking the page if it wasn't enabled, but MQTT Websockets was.
* Fixed a bug with DarkSky visibility units, since they don't seem to provide this themselves. So it's their bug that I'm trying to work around.
* Now the charts use the system locale decimal point.
* Update non-MQTT page timestamp to use moment.js to fall in line with other datetime stamp locale formatting.
* On the front page, if both charts are hidden, hide the full row to save on whitespace.
* On the charts page hide the chart if it's hidden in skin options.
0.9 February 28, 2019
* !! 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.
* 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.
* 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 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.
0.8.2 January 1, 2019
* Fixed an error where the skin would fail when the date rolls to the New Year due to no data being in certain tables in the database yet.
* Added the ability to show any weather alerts provided by the DarkSky API. Weather alerts are off by default, use forecast_alert_enabled in weewx.conf skin options to enable it.
* New option to show cloudbase. You must have your database schema extended for the cloudbase observation to be calculated by weewx. Check the Belchertown skin wiki for details.
* Fixes an issue where the MQTT updates showed altimeter instead of barometer.
* Updated Google Analytics page to be in header based on Google recommendations.
* Updated Google Analytics to a more recent script block.
* Added a Google Analytics page view per MQTT update as per Google Recommendations on background updates.
0.8.1 December 7, 2018
* Fixes an edge case scenario where skin fails to generate due to N/A as a wind observation value.
* Fixes some false positive errors with belchertown_root_url or station_url being reported it's not set.
* On the front page, change the wording to Chart instead of Graphs above the chart region. Afterall, these are charts and not graphs. I should probably update everything to be "chart".
0.8 December 2, 2018
* A lot of metric conversion fixes. A lot.
* More metric conversions fixes.
* Now uses new option belchertown_root_url and falls back to station_url for the URL of your weather station. The CSS and JavaScript files are dependant on this setting.
* This new setting means you can run your station on a different URL than station_url. The station_url can be used to show your station on the weewx.com map. So the belchertown_root_url was added in case you did not want that, or if you want to run test sites, offline sites, or have Belchertown on a different folder or site all together than station_url.
* You can now select your own graph order and also can pick from 8 graphs to show in 6 positions. Details on the user guide on GitHub
* 4 Custom rows now available on index page for you to customize content. Check the readme on GitHub for more info on how to use these areas.
* Better fallback method if the earthquake data has no recent earthquakes.
* Added option to change DarkSky language. Use darksky_lang in configs.
* Add rainfall total line graph to year graphs.
* Show rainRate on day, week, month charts instead of bucket tips. This makes for a much more interesting graph.
* Remove rounding on the rainRate chart
* Added a windy.png icon, which is a clone of wind.png. Sometimes DarkSky wants wind.png and other times windy.png
* Added a Raspberry Pi kiosk page.
* This is handy if you want a 2nd console display using a [Raspberry Pi and a 3.5" TFT screen like this one](https://amzn.to/2z37wlV). An example of it in use [can be seen here](https://obrienlabs.net/redirecting-weather-station-data-from-observerip/#website).
* This page also does not have the MQTT timeout, so the Kiosk console display will update forever.
* Some other bug fixes and code optimization.
0.7 September 8, 2018
* Separate 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.
0.6 August 30, 2018
* Skip NULL rain values in highcharts generator.
* Updated rainRate value on the front page and records page.
* Fix all time record for barometer. It was showing dewpoint. Oops!
* Fixed a highcharts UTC graph error. Should prefer timezone offset now.
* Updated highcharts rain rounding to 2 decimals.
* Updated highcharts wind direction to have a hover and display the wind direction.
* Consolidated the getSocialShare and getNOAAdata into getAllTime, and renamed getAllTime to getData. Larger plan is to consolidate as much as possible to be able to minimize the number of SLE loops. This may or may not have a better performance, but I'll try and consolidate where it makes sense in an attempt at better performance.
* Added a version printout in syslog for easier troubleshooting.
* Removed about.inc and reports.inc from the installer because the installer was overwriting them. Please read the Readme on how to create these files.
0.5 August 27, 2018
* Fixed NOAA report conflict.
* Updated highcharts to reflect the station's UTC timezone offset.
* Front page MQTT live updates now optimized for metric and metricwx units.
* Now uses UTC offset for moment.js and "Data Received" timestamp when using MQTT.
* Fixed full moon icon.
0.4 August 23, 2018
* Better usage of getting the right label from the skin dict. This fixes the wrong windSpeed label in the DarkSky forecast row. Thanks Gary!
* Changes the way of determining the DarkSky visibility unit label values. Gets the unit from the API output, then sets the label. Fixes the wrong label when using "auto" for DarkSky units.
* Fixed a barometer rounding bug in the highcharts generator.
0.3 August 22, 2018
* Fixed a bug with the DarkSky URL.
* Removed an extra pre-requisites check.
* Updated the visibility unit check. DarkSky API does not return this in their output, so using a mixture of skin and weewx config settings, hopefully we can determine the unit you want.
* Fixed another static unit on the records page.
0.2 August 22, 2018
* Added units to the darksky api url with "auto" units as the default. Auto units automatically selects units based on your geographic location.
* Added a windy icon by remixing a couple images together.
* Updated records page units which had some hard coded units by mistake
* Fixed lowest windchill on the records page
* Fixed a formatting error with the sunrise and sunset auto-refesh
0.1 August 21, 2018
* Initial implementation