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

Latest commit

 

History

History
58 lines (43 loc) · 1.47 KB

README.md

File metadata and controls

58 lines (43 loc) · 1.47 KB

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