Git Product home page Git Product logo

shelly-em-reader's Introduction

shelly-em-reader

shelly energy meter reader, which grabs the data from the device and put these information into a influx db (the influx API v2 is used, which is compatible with Influxdb2 and Influxdb 1.x).

Docker Image

You can find the Docker image on Docker Hub

If you want to run a container, you can use the command docker run pendl2/shelly-em-reader

There are different tags available for common processor architectures:

  • latest
  • the project-version itself

Configuration

Docker Environment Variable Default Description
SHELLY.HOST shelly-3em The hostname or ip of the shelly 3em device
LOG.LEVEL INFO Log Level, can be switched to debug, for detailed information
POLL.TIME.MS 10000 Poll Time in ms
INFLUXDB.HOST localhost The host where the influx service is running
INFLUXDB.PORT 8086 The port where the service is running
INFLUXDB.BUCKET home The bucket
INFLUXDB.ORG pendulum The organisation which is sent to the InfluxDB
INFLUXDB.USER.TOKEN If this environment is set, the token will be added to the request, if not, no authentication is used

Example: setting the host 0.0.0.0 via environment: sudo docker run -e SHELLY.HOST=0.0.0.0 pendl2/shelly-em-reader

Multi-Container Configuration

I created a multi-container configuration, which contains:

  • InfluxDb
  • Grafana
  • Shelly Energy Meter Reader (this project)
  • Fronius Energy Consumption (other project)

You can find the details in the following repo: Multi Container Project

You can easily define dashboards with grafana, here is an example of my dashboard:

Grafana PV Dashboard

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.