Code Monkey home page Code Monkey logo

tibber-exporter's Introduction

tibber-exporter

Tibber exporter for Prometheus. Exposes the current prices as well as the real time information from your connected tibber-pulse.

Building and running

Running requires a token from Tibber. You can get this in their online portal here: https://developer.tibber.com/settings/accesstoken

Container needs this token passed in the environment under TIBBER_TOKEN.

Typical build and run:

$ docker build -t tibber-exporter . 
$ docker run -e TIBBER_TOKEN=TOP_SECRET_TOKEN -it -p 9110:9110 -t tibber-exporter

The exporter should in theory handle multiple homes including multiple tibbe-pulse readers. I have not however had the luxury to test this. Pull requests welcome if this does not work.

Metrics

The following metrics are exposed:

metric type description
tibber_price_energy gauge Current energy price
tibber_price_tax gauge Current energy tax
tibber_price_total gauge Current total price
tibber_total_consumption_kwh_total counter Last meter active import register state
tibber_today_consumption_kwh_total counter Accumulated consumption since midnight
tibber_today_consumption_cost_total counter Accumulated cost since midnight
tibber_today_avg_power_watt gauge Average power since midnight
tibber_power_watt gauge Current power draw
tibber_power_factor gauge Current power factor
tibber_power_reactive_kvar gauge Current reactive consumption
tibber_current_a gauge Current power draw
tibber_potential_v gauge Current electric potential
tibber_pulse_signal_strength_db gauge Pulse Device signal strength

tibber-exporter's People

Contributors

pelleplutt 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.