Code Monkey home page Code Monkey logo

e3dc-homeassistant's Introduction

E3DC to Home Assistant

This is a custom configuration for Home Assistant to read data from an E3DC device via ModBus/TCP.

Installation

Copy the folder packages with it's contents to your Home Assistant server at the same level as the configuration.yaml file.

Be sure that you have activated Modbus in your storage.

Configuration

Add the following line to your configuration.yaml file to make sure, the packages are loaded:

homeassistant:
  packages: !include_dir_merge_named packages/

Edit the file packages/e3dc/modbus.yaml and add your E3DC device IP address.

Extra Config

If you want to add utility_meter for creating daily/weekly/monthly sensors for better graphs or exporting to prometheus you can add the the file extras/utility_meter.yaml into the packages folder.

Usage

Restart Home Assistant and you will find the sensors in the e3dc entity. Now you can use them in your automations or add the sensors to your dashboard. If you added HACS to your Home Assistant, you can also add the card called Power-Distribution-Card

To add the sensor to your Energy Dashboard use the following Sensors:

It is normal that some sensors are not available. This is because the E3DC device has not yet sent all the values. This can take up to 2 days.

Sensors

The following sensors are available:

  • e3dc_grid_export_power - Grid Export Power in Watt
  • e3dc_grid_import_power - Grid Import Power in Watt
  • e3dc_battery_charge_power - Battery Charge Power in Watt
  • e3dc_battery_discharge_power - Battery Discharge Power in Watt
  • e3dc_autarky - Autarky in % per day
  • e3dc_external_power - Power of an additional source in Watt
  • e3dc_own_consumption - Own Consumption in % per day
  • e3dc_emergency_power_state_text - emergency power state in text

Credits

This configuration Files are based on the work of Community-Contribution: E3DC in Energy Dashboard

Thangs to Roman for Sharing his work.

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.