3.0.2 • Published 4 years ago

eliq2graphite v3.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

eliq2graphite

Fetches power consumption from ELIQ and forwards them to Graphite.

NPM version Downloads Build Status

Install

npm install eliq2graphite

Setup

Environment variables

eliqAccesstoken=...
format=eliq
hostedGraphiteKey=... (optional)
url=plaintext://127.0.0.1:2003/

Formatting

The format string can be anything, e.g home.power

Usage

eliq2graphite [--age number-of-hours] [--resolution hour|6min]

Options

  • -a, --age=number of hours (default 2 hours)
  • -r, --resolution=6min|hour|day (default 6min)
  • -n, --now
  • -h, --help (show this)

Examples

eliq2graphite is ideally run as a cron job

crontab -e

Fetch energy and average power:

... default settings: last 2 hours with 6 minutes resolution

*/6 * * * * node <path to>/eliq2graphite/.bin/eliq2graphite

... last 3 hours with 6 minutes resolution

*/6 * * * * node <path to>/eliq2graphite/.bin/eliq2graphite -a 3 -r 6min

... last 24 hours with 1 hour resolution

0 * * * * node <path to>/eliq2graphite/.bin/eliq2graphite --age 24 --resolution hour

... last 4 days with 1 day resolution

0 0 * * * node <path to>/eliq2graphite/.bin/eliq2graphite --age 96 --resolution day
3.0.2

4 years ago

3.0.1

5 years ago

1.2.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.2.10

9 years ago

0.2.9

9 years ago

0.2.8

9 years ago

0.2.7

9 years ago

0.2.6

10 years ago

0.2.5

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago