3.0.2 • Published 3 years ago

eliq2graphite v3.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
3 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

3 years ago

3.0.1

3 years ago

1.2.0

5 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.2.10

8 years ago

0.2.9

8 years ago

0.2.8

8 years ago

0.2.7

8 years ago

0.2.6

9 years ago

0.2.5

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago