Skip to content

Provides Home Assistant sensors for Growatt inverters that you can connect directly using modbus protocol

License

Notifications You must be signed in to change notification settings

WouterTuinstra/Homeassistant-Growatt-Local-Modbus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hacs_badge

Home Assistant Growatt Local Integration

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

Protocol version

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

Additional functionality of this intergration

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.

Manual Installation by ssh

  1. Open the \share directory.
  2. 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.

Git clone method

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:

  1. Clone the repo.
git clone https://github.com/WouterTuinstra/Homeassistant-Growatt-Local-Modbus.git
  1. 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

About

Provides Home Assistant sensors for Growatt inverters that you can connect directly using modbus protocol

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages