Coder Social home page Coder Social logo

ecobee-exporter's Introduction

ecobee_exporter

Ecobee exporter for metrics in Prometheus format

This is a fork of https://github.com/billykwooten/ecobee-exporter, see there for more details and to check out the great work Billy Wooten is doing!

Changes

I made following changes in my fork:

  • Added holdTempMetric metrics
  • Added hvacInOperation metrics (limited to "CompCool1", "AuxHeat1", "Fan" as that is all I need)

Usage

Please see Billys repository for detailed instructions.

To run with docker-compose, following steps are necessary to get it up and running. There might be better and/or more elegant ways, but this is how I id dit id ;)

  1. Add following to your docker-compose file (adjust based on your needs)
  ecobee-exporter:
    container_name: ecobee-exporter
    image: billykwooten/ecobee-exporter
    restart: unless-stopped
    ports:
      - 9098:9098
    environment:
      - ECOBEE_APPKEY=<ADD APP KEY HERE>
    volumes:
      - ./data/ecobee:/db
    stdin_open: true
    tty: true
  1. Run docker-compose up -d && docker attach ecobee-exporter
  2. Open a browser and go to http://localhost:9098/metrics
  3. Docker will now print a pin like Pin is "ABCD-EFGH"
  4. Go to https://www.ecobee.com/consumerportal/index.html#/my-apps
  5. Register your app pin from step 4
  6. Confirm completion by clicking the enter key in the attached terminal
  7. Remove or comment out stdin_open & tty in the docker-compose file and restart via docker-compose up -d

ecobee-exporter's People

Contributors

billykwooten avatar bordershot avatar dtrumpfheller avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

bordershot

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.