Coder Social home page Coder Social logo

jwerfel / smartthings-influx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eargollo/smartthings-influx

0.0 0.0 0.0 3.98 MB

A simple program to bring to Influx your SmartThings data through the SmartThings API. No SmartApp installation needed.

License: Apache License 2.0

Go 97.70% Dockerfile 2.30%

smartthings-influx's Introduction

smartthings-influx

A simple program to bring to Influx your SmartThings data through the SmartThings API. No SmartApp installation needed.

Getting started

If you have Docker and Docker Compose, you get started in just 3 steps.

  • Step 1: Create an SmartThings API token

Go to SmartThings API Token page and create a token. Make sure you give full access to devices.

  • Step 2: Place the token at the docker-compose-config.yml file

  • Step 3: Bring the stack up and see your Grafana chart

Run Docker Compose:

$ docker-compose up --build

Go to Grafana inteface and log with user admin and password password.

There is already a pre-provisioned Grafana dashboard to hold your SmartThings data. In Grafana go to Dashboards->Manage and there click on Smartthings.

Have fun!

Usage

Create the .smartthings-influx.yaml file either at your home folder or at the folder where you run the program:

apitoken: <put your SmartThings API token here>
monitor:
  - temperatureMeasurement
  - illuminanceMeasurement
  - relativeHumidityMeasurement
period: 120
influxurl: http://localhost:8086
influxuser: user
influxpassword: password
influxdatabase: database

Run the monitor option:

$ smartthings-influx monitor

smartthings-influx's People

Contributors

eargollo avatar jwerfel avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.