Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

Commit

Permalink
scm: updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
helgew committed Aug 23, 2021
1 parent c7dd2dc commit 173977a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ All external API dependencies are managed via maven, which is needed for compila
Usage
=============

You can compile the downloader application yourself or download the latest version (1.1)
You can compile the downloader application yourself or download the latest version (1.2-SNAPSHOT)
from the `github repository <https://github.com/helgew/emporia-downloader/releases>`_.

Compilation
Expand Down Expand Up @@ -115,15 +115,15 @@ InfluxDB-related settings) are configured in ``config.properties``.
Continuously download per-second datapoints starting 3 hours ago, saving data to InfluxDB
-----------

``java -jar emporia-downloader.1.1.jar --config config.properties``
``java -jar emporia-downloader.1.2-SNAPSHOT.jar --config config.properties``

This assumes that InfluxDB specific parameters are configured in ``config.properties`` and that
all other parameters are left as defaults.

Continuously download hourly datapoints starting yesterday, saving data to InfluxDB
-----------

``java -jar emporia-downloader.1.1.jar --scale h --history 1d``
``java -jar emporia-downloader.1.2-SNAPSHOT.jar --scale h --history 1d``

In this case, the downloader will download and save the historical data and then go into a
continuous loop where it will sleep for an hour and then download new data. All data saved to
Expand All @@ -132,7 +132,7 @@ InfluxDB will be in Kilowatt-hours.
Print the last hour of per-second data to STDOUT only and quit
-----------

``java -jar emporia-downloader.1.1.jar --history 1h --raw --sleep 0``
``java -jar emporia-downloader.1.2-SNAPSHOT.jar --history 1h --raw --sleep 0``

The downloader will download and print in JSON format the per-second usage for
each device going back by an hour. The data shown will be in Kilowatt-hours but any data saved to
Expand Down

0 comments on commit 173977a

Please sign in to comment.