Giter Club home page Giter Club logo

homeassistant_alphaess_modbus_tcp's Introduction

Integrate a ALPHAESS System to Home Assistant

Introduction

Since March 2023 we have at home a PV-System from AlphaESS.
Since years I'm using Home Assistant for my smarthome and tracking of all my entities in my home.
So the idea was to integrate the AlphaESS system to HomeAssistant.
The official API was not enough, the other solutions are interesting, but my Software-Developer-Heart says:
"There is a MODBUS TCP interface, this must be usable".
From now on, I tried to integrate the system with modbus.
And it is working :)

Compatibilty

✅ Modbus-TCP connection
✅ AlphaESS Smile Hi10 with 7,8kWh battery

Features

✅ Connection to the Inverter via Modbus TCP
✅ Setup of sensor entities inside of Home Assistant
✅ Setup of a automation and the helpers for setting the "Max Feed to Grid - Rate" (How many energy is given to the grid)
✅ Setup of template-sensor to provide the values to the energy dashboard
✅ Open for modifications, no integration or other complicated stuff. Simply YAML-file!
✅ No additional integrations or AddOns needed

Prerequisites

  • Home Assistant v2023.1 or greater
  • compatible AlphaESS-System with Modbus-TCP interface --> See instructions of your System

Installation

  • Download the YAML-file
  • Copy integration_alpha_ess.yaml into the folder which is used for packages inside of you HomeAssistant-Enviroment (e.g. folder "packages", is no packages already included in your configuration.yaml create a folder with the name "packages" in you config-folder)
  • Include this folder inside of your configuration.yaml with following lines
    homeassistant:
      packages: !include_dir_named packages
    
    NOTE: "packages" is the name of the folder you created or already using!
  • Setup the following values in your secrets.yaml
    alphaess_modbus_host_ip: 192.168.178.104 #TODO: Set ip adress of Alpha Ess Storage system
    alphaess_modbus_host_port: 502 #Set port of Alpha Ess system - default: 502
    alphaess_modbus_slaveId: 85 #Set slaveId of Alpha Ess system - default: 85
    
  • Check your configuration under the developer-tools
  • Perform a restart of your HomeAssistant

Usage

  • You will find your entities in the overview
  • For description of the entities, check the file integration_alpha_ess.yaml, the comments should be the explanation

Links

WARNINGS

  • Everything what is provided here is without a guarantee!
  • No support is promised by my side, i will help you, if i can!
  • Please be patient with writing registers, it can destroy your system!
  • Note, that only the Smile-Hi10-System is tested!
  • When there is a damage on your system, or you are loosing your guarantee, this is your problem. You are using this helper on your own risk!

homeassistant_alphaess_modbus_tcp's People

Contributors

snitzelweck92 avatar wfa001 avatar

Stargazers

 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.