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 :)
:white_check_mark: Modbus-TCP connection\ :white_check_mark: AlphaESS Smile Hi10 with 7,8kWh battery
:white_check_mark: Connection to the Inverter via Modbus TCP\ :white_check_mark: Setup of sensor entities inside of Home Assistant \ :white_check_mark: Setup of a automation and the helpers for setting the "Max Feed to Grid - Rate" (How many energy is given to the grid)\ :white_check_mark: Setup of template-sensor to provide the values to the energy dashboard\ :white_check_mark: Open for modifications, no integration or other complicated stuff. Simply YAML-file!\ :white_check_mark: No additional integrations or AddOns needed
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)configuration.yaml
with following lines
homeassistant:
packages: !include_dir_named packages
NOTE: "packages" is the name of the folder you created or already using!
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
integration_alpha_ess.yaml
, the comments should be the explanation