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

Temperature logging with InfluxDB

Notifications You must be signed in to change notification settings

hojt/tempr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tempr

Proof-of-concept setup with TICK-stack.

Logging of temperatures from Telldus Live with Telegraf, stored in InfluxDB, visualization with Chronograf and optionally processing with Kapacitor.

N.B: All security-related features (authorization, authentication, etc) are disabled in this setup. Keep this as far as possible away from any production-like use.

Prerequisites

Get started

  1. Save OAuth tokens to ./telldus/telldus-secrets.json (se details below)
  2. docker-compose up
  3. Access Chronograf GUI @ http://localhost:8888 (substitute localhost for docker host IP)
  4. Configure Chronograf's InfluxDB connection to http://influxdb:8086
  5. Configure Chronograf's Kapacitor conneciton to http://kapacitor:9092

Configure

  1. Configure graphs and dashboards in Chronograf GUI @ http://localhost:8888 (substitute localhost for docker host IP)

Save OAuth tokens

  1. Get OAuth tokens from api.telldus.com from your Telldus Live account
  2. Create file ./telldus/telldus-secrets.json using template below
  3. Replace "...":s with your token data
{
  "telldusPublicKey": "...",
  "telldusPrivateKey": "...",
  "telldusToken": "...",
  "telldusTokenSecret": "..."
}