Code Monkey home page Code Monkey logo

sepicker's Introduction

sepicker

๐Ÿ“Š Monitoring for the STIEBEL ELTRON Heat Pump

Actions Status

Dashboard

Table of Contents

Requirements

Installation

  • Download the latest release
    wget https://github.com/danielbayerlein/sepicker/releases/latest/download/package.zip
  • Unzip the package
    unzip package.zip
  • Install the dependencies
    pip3 install -r requirements.txt

Cron Job

To collect the data every x minutes, it's necessary to create a cron job. This is an example to query the data every two minutes:

*/2 * * * * /home/pi/sepicker/bin/sepicker

Database

Execute the seed file via MySQL command line or copy the query into your MySQL shell.

Grafana (optional)

With Grafana you can create your own dashboard with widgets or use the existing template.

Config

The configuration for the CAN bus and for the data to be queried is located in config.yml. The database configuration is located in .env.

CAN bus

File: config.yml

Example

can:
  interface: can0
  sender: 680

Description

  • interface: CAN bus interface
    • can0
  • sender: Sender ID
    • 680

Data

File: config.yml

See http://juerg5524.ch/data/ElsterTable.inc for the indexes.

Example

data:
  - name: AUSSENTEMPERATUR
    index: 180.000c
    format: dec_val
  - name: QUELLENTEMPERATUR
    index: 180.01d4
    format: dec_val
  - name: FEHLER
    index: 180.0001

Description

  • name: Name for the data point
    • AUSSENTEMPERATUR
  • index: Receiver and Register separated by a dot
    • 180.000c
  • format (optional):
    • dec_val
    • mil_val
    • little_endian

Database

File: .env

Rename the .env.example file to .env or create it with the following content:

DB_DATABASE=heat-pump
DB_HOST=127.0.0.1
DB_USER=root
DB_PASSWORD=

Resources

License

Copyright (c) 2020-present Daniel Bayerlein. See LICENSE for details.

sepicker's People

Contributors

danielbayerlein avatar dependabot-preview[bot] avatar dependabot[bot] avatar fknipp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

olegel fknipp

sepicker's Issues

wget path expired

Hi Daniel,
your prog seems to be very useful but your wget path goes to nowhere. Can you please update the path to the package? Any advices for usage in docker under synology?

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.