Giter VIP home page Giter VIP logo

evcc-to-idm's Introduction

evcc-to-idm

This is a small script that can be run to forward PV related data from evcc to an IDM Heatpump. This was tested with a IDM AERO ALM 10-24.

Screenshot of the IDM Navigator Pro overview showing PV data

The official Modbus documentation only lists address 74 (PV excess) and 78 (PV total). But it also describes that Smartfox is able to send more data via Modbus. Some searching on GitHub for example ipump-control and trying lead to finding the other addresses.

Preconditions

  1. a running mqtt broker for example Mosquitto MQTT
  2. evcc setup to send metrics to mqtt
mqtt:
  broker: 192.168.1.124:1883
  topic: evcc
  user: mqtt
  password: password!
  1. Modbus TCP enabled in IDM Navigator Pro Enabled Modbus TCP in GLT section in IDM Navigator UI

Setup

  1. clone the repository
  2. run bundle install
  3. set MODBUS_HOST, MODBUS_PORT and MQTT_URL to your values in evcc-to-idm.rb
  4. run bundle exec ruby evcc-to-idm.rb

To run this continously I have it running in a screen on a raspberry pi that runs other monitoring in my home.

How does this work

The relevant Modbus registers are:

  • 74 - PV excess power
  • 78 - PV total power
  • 82 - Home consumption
  • 84 - Battery power
  • 86 - Battery soc

If only 74/78 are reported a simple UI is shown only listing the PV power. If Battery and home is reported the UI shows all data in a nice graph as shown above.

The power pulled from the grid is calculated by the navigator software out of all reported values. For this to work it's important to report a 0 for 74 always otherwise the calculation seems to fail and nothing is reported for grid power.

evcc-to-idm's People

Contributors

soph avatar

Stargazers

Andreas Böhm avatar

Watchers

 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.