Skip to content

Commit

Permalink
version 0.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
gjr80 committed Feb 22, 2017
1 parent b70af58 commit 6470de4
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 29 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The *Realtime gauge-data* extension can be installed manually or automatically u
1. Download the latest *Realtime gauge-data* extension from the *Realtime gauge-data* extension [releases page](https://github.com/gjr80/weewx-realtime_gauge-data/releases) into a directory accessible from the weeWX machine.

wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-realtime_gauge-data/releases/download/v0.2.5/rtgd-0.2.5.tar.gz
wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-realtime_gauge-data/releases/download/v0.2.6/rtgd-0.2.6.tar.gz

where $DOWNLOAD_ROOT is the path to the directory where the *Realtime gauge-data* extension is to be downloaded.

Expand All @@ -41,15 +41,15 @@ The *Realtime gauge-data* extension can be installed manually or automatically u

3. Install the *Realtime gauge-data* extension downloaded at step 1 using the *wee_extension* utility:

wee_extension --install=$DOWNLOAD_ROOT/rtgd-0.2.5.tar.gz
wee_extension --install=$DOWNLOAD_ROOT/rtgd-0.2.6.tar.gz

This will result in output similar to the following:

Request to install '/var/tmp/rtgd-0.2.5.tar.gz'
Extracting from tar archive /var/tmp/rtgd-0.2.5.tar.gz
Request to install '/var/tmp/rtgd-0.2.6.tar.gz'
Extracting from tar archive /var/tmp/rtgd-0.2.6.tar.gz
Saving installer file to /home/weewx/bin/user/installer/Rtgd
Saved configuration dictionary. Backup copy at /home/weewx/weewx.conf.20170215124410
Finished installing extension '/var/tmp/rtgd-0.2.5.tar.gz'
Finished installing extension '/var/tmp/rtgd-0.2.6.tar.gz'

4. Start weeWX:

Expand All @@ -65,13 +65,13 @@ This will result in the *gauge-data.txt* file being generated on receipt of each

1. Download the latest *Realtime gauge-data* extension from the Realtime gauge-data [releases page](https://github.com/gjr80/weewx-realtime_gauge-data/releases) into a directory accessible from the weeWX machine.

wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-realtime_gauge-data/releases/download/v0.2.5/rtgd-0.2.5.tar.gz
wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-realtime_gauge-data/releases/download/v0.2.6/rtgd-0.2.6.tar.gz

where $DOWNLOAD_ROOT is the path to the directory where the *Realtime gauge-data* extension is to be downloaded.

2. Unpack the extension as follows:

tar xvfz rtgd-0.2.5.tar.gz
tar xvfz rtgd-0.2.6.tar.gz

3. Copy files from within the resulting directory as follows:

Expand Down
17 changes: 16 additions & 1 deletion changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
v0.2.6
* updated docstring config options to reflect current library of available
options
* 'latest' and 'avgbearing' wind directions now return the last non-None
wind direction respectively when their feeder direction is None
* implemented optional scroller_text config option allowing fixed scroller
text to be specified in lieu of Zambretti forecast text
* renamed rtgd thread and queue variables
* no longer reads unit group config options that have only one possible unit
* use of mmHg, knot or cm units reverts to hPa, mile_per_hour and mm
respectively due to weeWX or SteelSeries Gauges not understanding the unit
(or derived unit)
* made gauge-data.txt unit code determination more robust
* reworked code that formats gauge-data.txt field data to better handle None
values
v0.2.5
* fixed error where altitude units could not be changed from meter
* rainrate and windrun unit groups are now derived from rain and speed units
Expand All @@ -8,7 +23,7 @@ v0.2.4
* pressures now formats to correct number of decimal places
* reworked temp and pressure trend formatting
v0.2.3
* Fixed logic error in windrose calculations.
* Fixed logic error in windrose calculations.
* Minor tweaking of windrose processing.
v0.2.2
* Added config option apptemp_binding specifying a binding containing appTemp
Expand Down
12 changes: 6 additions & 6 deletions install.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
#
# Installer for Realtime gauge-data
#
# Version: 0.2.5 Date: 21 February 2017
# Version: 0.2.6 Date: 22 February 2017
#
# Revision History
# 22 February 2017 v0.2.6
# - reworked Groups
# 21 February 2017 v0.2.5
# - trimmed a number of config options
# 20 February 2017 v0.2.4
Expand All @@ -36,7 +38,7 @@
from setup import ExtensionInstaller

REQUIRED_VERSION = "3.4.0"
RTGD_VERSION = "0.2.5"
RTGD_VERSION = "0.2.6"

def loader():
return RtgdInstaller()
Expand Down Expand Up @@ -81,13 +83,11 @@ def __init__(self):
'watt_per_meter_squared': '%.0f'
},
'Groups': {
'group_altitude': 'foot',
'group_pressure': 'hPa',
'group_rain': 'mm',
'group_speed': 'km_per_hour',
'group_temperature': 'degree_C',
'group_percent': 'percent',
'group_uv': 'uv_index',
'group_direction': 'degree_compass'
'group_temperature': 'degree_C'
}
}
},
Expand Down
30 changes: 15 additions & 15 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ gauge-data releases page (https://github.com/gjr80/weewx-realtime_gauge-data
a directory accessible from the weeWX machine.

wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-realtime_gauge-data
/releases/download/v0.2.5/rtgd-0.2.5.tar.gz
/releases/download/v0.2.6/rtgd-0.2.6.tar.gz

where $DOWNLOAD_ROOT is the path to the directory where the Realtime
gauge-data extension is to be downloaded.
Expand All @@ -59,15 +59,15 @@ a directory accessible from the weeWX machine.
3. Install the Realtime gauge-data extension downloaded at step 1 using the
*wee_extension* utility:

wee_extension --install=$DOWNLOAD_ROOT/rtgd-0.2.5.tar.gz
wee_extension --install=$DOWNLOAD_ROOT/rtgd-0.2.6.tar.gz

This will result in output similar to the following:

Request to install '/var/tmp/rtgd-0.2.5.tar.gz'
Extracting from tar archive /var/tmp/rtgd-0.2.5.tar.gz
Request to install '/var/tmp/rtgd-0.2.6.tar.gz'
Extracting from tar archive /var/tmp/rtgd-0.2.6.tar.gz
Saving installer file to /home/weewx/bin/user/installer/Rtgd
Saved configuration dictionary. Backup copy at /home/weewx/weewx.conf.20161123124410
Finished installing extension '/var/tmp/rtgd-0.2.5.tar.gz'
Finished installing extension '/var/tmp/rtgd-0.2.6.tar.gz'

4. Start weeWX:

Expand All @@ -77,10 +77,10 @@ a directory accessible from the weeWX machine.

sudo service weewx start

This will result in the gauge-data.txt file being generated on receipt of each
loop packet. A default installation will result in the generated gauge-data.txt
file being placed in the $HTML_ROOT directory. The Realtime gauge-data
extension installation can be further customized (eg file locations, frequency
This will result in the gauge-data.txt file being generated on receipt of each
loop packet. A default installation will result in the generated gauge-data.txt
file being placed in the $HTML_ROOT directory. The Realtime gauge-data
extension installation can be further customized (eg file locations, frequency
of generation etc) by referring to the Realtime gauge-data extension wiki.

Manual installation
Expand All @@ -91,14 +91,14 @@ gauge-data releases page (https://github.com/gjr80/weewx-realtime_gauge-data
a directory accessible from the weeWX machine.

wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-realtime_gauge-data
/releases/download/v0.2.5/rtgd-0.2.5.tar.gz
/releases/download/v0.2.6/rtgd-0.2.6.tar.gz

where $DOWNLOAD_ROOT is the path to the directory where the Realtime
gauge-data extension is to be downloaded.

2. Unpack the extension as follows:

tar xvfz rtgd-0.2.5.tar.gz
tar xvfz rtgd-0.2.6.tar.gz

3. Copy files from within the resulting folder as follows:

Expand Down Expand Up @@ -127,8 +127,8 @@ RealtimeGaugeData service to the list of process services to be run:

sudo service weewx start

This will result in the gauge-data.txt file being generated on receipt of each
loop packet. A default installation will result in the generated gauge-data.txt
file being placed in the $HTML_ROOT directory. The Realtime gauge-data
extension installation can be further customized (eg file locations, frequency
This will result in the gauge-data.txt file being generated on receipt of each
loop packet. A default installation will result in the generated gauge-data.txt
file being placed in the $HTML_ROOT directory. The Realtime gauge-data
extension installation can be further customized (eg file locations, frequency
of generation etc) by referring to the Realtime gauge-data extension wiki.

0 comments on commit 6470de4

Please sign in to comment.