Skip to content

Commit

Permalink
v2.0.0b1
Browse files Browse the repository at this point in the history
  • Loading branch information
gjr80 committed Jul 27, 2020
1 parent 861a125 commit 928414f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 24 deletions.
8 changes: 4 additions & 4 deletions install.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
Installer for Bloomsky Driver
Version: 2.0.0 Date: 27 November 2019
Version: 2.0.0b1 Date: 27 July 2020
Revision History
27 November 2019 v2.0.0
27 July 2020 v2.0.0
- now WeeWX v4.0 python2/3 compatible
- added accumulator noop adder for field raining
31 May 2019 v1.0.0
Expand All @@ -33,8 +33,8 @@
from distutils.version import StrictVersion
from setup import ExtensionInstaller

REQUIRED_VERSION = "4.0.0a"
BLOOMSKY_VERSION = "2.0.0"
REQUIRED_VERSION = "3.7.0"
BLOOMSKY_VERSION = "2.0.0b1"


def loader():
Expand Down
22 changes: 10 additions & 12 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The BloomSky driver requires WeeWX v3.7.0 or greater. A BloomSky API key is also

1. Download the latest BloomSky driver extension from the [Bloomsky driver releases page](https://github.com/gjr80/weewx-bloomsky/releases) into a directory accessible from the WeeWX machine.

$ wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-bloomsky/releases/download/v1.0.0/bloomsky-1.0.0.tar.gz
$ wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-bloomsky/releases/download/v2.0.0/bloomsky-2.0.0b1.tar.gz

where *$DOWNLOAD_ROOT* is the path to the directory where the BloomSky driver extension is to be downloaded.

Expand All @@ -38,15 +38,15 @@ The BloomSky driver requires WeeWX v3.7.0 or greater. A BloomSky API key is also

1. Install the BloomSky driver extension downloaded at step 1 using the *wee_extension* utility:

$ wee_extension --install=$DOWNLOAD_ROOT/bloomsky-1.0.0.tar.gz
$ wee_extension --install=$DOWNLOAD_ROOT/bloomsky-2.0.0b1.tar.gz

This will result in output similar to the following:

Request to install '/var/tmp/bloomsky-1.0.0.tar.gz'
Extracting from tar archive /var/tmp/bloomsky-1.0.0.tar.gz
Request to install '/var/tmp/bloomsky-2.0.0b1.tar.gz'
Extracting from tar archive /var/tmp/bloomsky-2.0.0b1.tar.gz
Saving installer file to /home/weewx/bin/user/installer/Bloomsky
Saved configuration dictionary. Backup copy at /home/weewx/weewx.conf.20190523124410
Finished installing extension '/var/tmp/bloomsky-1.0.0.tar.gz'
Saved configuration dictionary. Backup copy at /home/weewx/weewx.conf.20200523124410
Finished installing extension '/var/tmp/bloomsky-2.0.0b1.tar.gz'

1. Select and configure the driver:

Expand Down Expand Up @@ -84,20 +84,19 @@ The BloomSky driver requires WeeWX v3.7.0 or greater. A BloomSky API key is also

$ sudo systemctl start weewx

This will result in the driver collecting data from the bloomsky API and emitting loop packets. The WeeWX log may be monitored to confirm operation. The BloomSky driver installation can be further customized (eg sensor mapping,
polling interval etc) by referring to the BloomSky driver extension wiki or the comments at the start of the BloomSky driver file *$BIN_ROOT/user/bloomsky.py*.
This will result in the driver collecting data from the bloomsky API and emitting loop packets. The WeeWX log may be monitored to confirm operation. The BloomSky driver installation can be further customized (eg sensor mapping, polling interval etc) by referring to the BloomSky driver extension wiki or the comments at the start of the BloomSky driver file *$BIN_ROOT/user/bloomsky.py*.

### Manual installation ###

1. Download the latest BloomSky driver extension from the [Bloomsky driver releases page](https://github.com/gjr80/weewx-bloomsky/releases) into a directory accessible from the WeeWX machine.

$ wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-bloomsky/releases/download/v1.0.0/bloomsky-1.0.0.tar.gz
$ wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-bloomsky/releases/download/v2.0.0/bloomsky-2.0.0b1.tar.gz

where *$DOWNLOAD_ROOT* is the path to the directory where the BloomSky driver extension is to be downloaded.

1. Unpack the extension as follows:

$ tar xvfz bloomsky-1.0.0.tar.gz
$ tar xvfz bloomsky-2.0.0b1.tar.gz

1. Copy the *bloomsky.py* file from within the resulting folder as follows:

Expand Down Expand Up @@ -163,5 +162,4 @@ polling interval etc) by referring to the BloomSky driver extension wiki or the

$ sudo systemctl start weewx

This will result in the driver collecting data from the bloomsky API and emitting loop packets. The WeeWX log may be monitored to confirm operation. The BloomSky driver installation can be further customized (eg sensor mapping,
polling interval etc) by referring to the BloomSky driver extension wiki or the comments at the start of the BloomSky driver file *$BIN_ROOT/user/bloomsky.py*.
This will result in the driver collecting data from the bloomsky API and emitting loop packets. The WeeWX log may be monitored to confirm operation. The BloomSky driver installation can be further customized (eg sensor mapping, polling interval etc) by referring to the BloomSky driver extension wiki or the comments at the start of the BloomSky driver file *$BIN_ROOT/user/bloomsky.py*.
16 changes: 8 additions & 8 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ names are used below:
releases page (https://github.com/gjr80/weewx-bloomsky/releases) into
a directory accessible from the WeeWX machine.

$ wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-bloomsky/releases/download/v1.0.0/bloomsky-1.0.0.tar.gz
$ wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-bloomsky/releases/download/v2.0.0/bloomsky-2.0.0b1.tar.gz

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

$ wee_extension --install=$DOWNLOAD_ROOT/bloomsky-1.0.0.tar.gz
$ wee_extension --install=$DOWNLOAD_ROOT/bloomsky-2.0.0b1.tar.gz

This will result in output similar to the following:

Request to install '/var/tmp/bloomsky-1.0.0.tar.gz'
Extracting from tar archive /var/tmp/bloomsky-1.0.0.tar.gz
Request to install '/var/tmp/bloomsky-2.0.0b1.tar.gz'
Extracting from tar archive /var/tmp/bloomsky-2.0.0b1.tar.gz
Saving installer file to /home/weewx/bin/user/installer/Bloomsky
Saved configuration dictionary. Backup copy at /home/weewx/weewx.conf.20190523124410
Finished installing extension '/var/tmp/bloomsky-1.0.0.tar.gz'
Saved configuration dictionary. Backup copy at /home/weewx/weewx.conf.20200523124410
Finished installing extension '/var/tmp/bloomsky-2.0.0b1.tar.gz'

4. Select and configure the driver:

Expand Down Expand Up @@ -106,14 +106,14 @@ Manual installation
releases page (https://github.com/gjr80/weewx-bloomsky/releases) into
a directory accessible from the WeeWX machine.

$ wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-bloomsky/releases/download/v1.0.0/bloomsky-1.0.0.tar.gz
$ wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-bloomsky/releases/download/v2.0.0/bloomsky-2.0.0b1.tar.gz

where $DOWNLOAD_ROOT is the path to the directory where the BloomSky driver
data extension is to be downloaded.

2. Unpack the extension as follows:

$ tar xvfz bloomsky-1.0.0.tar.gz
$ tar xvfz bloomsky-2.0.0b1.tar.gz

3. Copy the bloomsky.py file from within the resulting folder as follows:

Expand Down

0 comments on commit 928414f

Please sign in to comment.