telldus2graphite
Fetches sensor values from Telldus Live and forwards them to Graphite.
Sensors in Telldus Live ...
... will come out like this in 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