Growatt Local is a custom component for Home Assistant that connects directly to your Growatt inverter using the Modbus protocol and supports Serial, TCP and UDP communication layers to connect to your inverter
This repository is at this moment not part of HACS therefore requiring manual adding this custom repository to HACS.
This integration makes use of the config_flow and can be configured using the UI, so no configuration required using the configuration.yaml
The requirement to be able to uses this integration are:
- The communication layer and related parameters
- Modbus address of the device (Default value: 1)
- Used protocol version by your device
Currently there are 3 protocol versions supported with this integration:
- RTU Protocol version 3.15 used by older models that would support up to two strings
- RTU Protocol 2 version 1.24 used by newer models and larger devices including Storage and Hybrid inverters
- RTU Protocol for SPH Hybrid/Offgrid inverters version 0.11
Currently the communication layer (API) is included in this repository but following the guidelines of HASS there should be seperate repositories
Customizable control of the update rate of sensor values.
- A scan interval of all information.
- A seperate scan inverval of main power values
For inverters a optional switch can be set active if you want control when the inverter may produces power to the grid.
- Open the
\share
directory. - If you do not have a
custom_components
directory there, you need to create it.
Optionally, you can choose another directory, but be aware that the ssh add-on is running in a docker container, so changes may be lost on reboot.
This is a preferred method of manual installation, because it allows you to keep the git
functionality,
allowing you to manually install updates just by running git pull origin master
from the created directory.
Now you can clone the repository somewhere else and symlink it to Home Assistant like so:
- Clone the repo.
git clone https://github.com/WouterTuinstra/Homeassistant-Growatt-Local-Modbus.git
- Create the symlink to
growatt_local
in the configuration directory. If you have non standard directory for configuration, use it instead.
ln -s /share/custom_components/Homeassistant-Growatt-Local-Modbus/custom_components/growatt_local /config/custom_components/growatt_local