Telldus2graphite

Fetches sensor values from Telldus Live and forwards them to Graphite

View project on GitHub

telldus2graphite

Fetches sensor values from Telldus Live and forwards them to Graphite.

NPM version Downloads Build Status

Sensors in Telldus Live ...

telldus

... will come out like this in Graphite

graphite

Install

npm install telldus2graphite

Setup

~/.telldus2graphite/config.json
{
  "telldusPublicKey": "...",
  "telldusPrivateKey": "...",
  "telldusToken": "...",
  "telldusTokenSecret": "...",
  "graphiteUrl": "plaintext://127.0.0.1:2003/",
  "format": "client.sensor.type",
  "logLevel": "INFO"
}

Formatting

  • client.sensor.type => home.freezer.temp (default)
  • client.type.sensor => home.temp.freezer
  • sensor.type => freezer.temp

Usage

crontab -e

Add this line to update sensors every minute

* * * * * node <path to>/telldus2graphite/node_modules/.bin/telldus2graphite