/homeassistant-solax-modbus

SolaX Power Modbus custom_component for Home Assistant (Supports some Qcells Q.Volt Hyb)

Primary LanguagePython

hacs_badge

ko-fi

Octopus.Energy 🐙 referral code. You get £50 credit for joining and I get £50 credit.

homsassistant-solax-modbus

Release 0.5.9 onwards is only compatible with Home Asisstant 2022.07 onwards. For Home Assistant installation prior to 2022.07 please use Release 0.5.8

SolaX Power Modbus custom_component for Home Assistant

Support Modbus over RS485 & TCP (Pocket LAN / Pocket WiFi does not provide a Modbus connection)

You can have multiple instances of this Integration, just change the default Prefix from SolaX to something else. Ie SolaX Main or SolaX Southwest

Supports:

  • Gen2 Hybrid
  • Gen3 AC, Hybrid & Retrofit
  • Gen4 Hybrid
    • Qcells Q.VOLT HYB-G3-3P
  • X3 MIC / MIC PRO (Limited set of entities available)

Gen2, Gen3 & Gen4

  • Charge / Discharge rate of battery
  • Charger Start / End times
  • Charger Use Mode

Gen2 & Gen3

  • Allow Grid Charge
  • Charge periods in Force Time Use Mode
  • Force Discharge into Grid
  • Min Battery Capacity

Gen2, Gen3 & Gen4

  • Sensors support the "Energy" Dashboard in 2021.08.x and onwards.

Gen3

  • ForceTime Period 1 Max Capacity
  • ForceTime Period 2 Max Capacity

Gen4

  • Backup Discharge Min SOC
  • Backup Nightcharge Upper SOC
  • Charge / Discharge rate of battery
  • Charge and Discharge Period2 Enable
  • Discharger Start / End time
  • Export Control User Limit
  • Feedin Discharge Min SOC
  • Feedin Nightcharge Upper SOC
  • Manual Mode Select
  • Selfuse Discharge Min SOC
  • Selfuse Night Charge Enable
  • Selfuse Nightcharge Upper SOC

Untested: Non Hybrid Models ie Solar PV only

Documentation

For further Documentation please refer to the Wiki

Some of the topics that will be covered (WIP):

  • Gen2 & Gen3 Modes of Operation
  • Gen4 Modes of Operation
  • Gen4 Connection methods

Installation

Preferred Option

You can add this custom_component directly through HACS, if you have HACS installed on your Home Assistant instance.

Alternatively

Download the zip / tar.gz from the release page.

  • Extract the contents of solax_modbus into to your home-assistant config/custom_components folder.

If you manually clone the repository you may end up mid code update!

Copy the folder and contents of solax_modbus into to your home-assistant config/custom_components folder.

Post Installation

After reboot of Home-Assistant, this integration can be configured through the integration setup UI

From 0.6.0 the Configuration is split into separate views.

TCP

Serial

Any manual updates / HACS updates require a restart of Home Assistant to take effect.

  • Any major changes might require deleting the Integration from the Integration page and adding again. If you name the Integration exactly the same including the Area if set, you should retain the same entity naming bar any name changes in the release. (Refer to the release notes for any naming change)

If the Integration fails to load with the following error in your log "unrecognized inverter type - serial number : {your_serial_number_here}" Please see Discussion #26 providing the details asked for.

Inverter never connected to the Cloud / possibly after a firmware update:

  • If you can read values, but unable to adjust select / number you need to press the "Unlock Inverter" button.
  • Might need performing again following a full Power Cycle

Known Issues

  1. You can only have one connection to the inverter, so you can't use this and one of my yaml packages at the same time for writing to registers.
  2. Possible Warnings about blocking call in the event loop (in systems with serial modbus connection).
  3. Please check the Todo List under discussions for other known issues and what's being worked on.
  4. Release 0.5.9 onwards is only compatible with Home Asisstant 2022.07 onwards. For Home Assistant installation prior to 2022.07 please use Release 0.5.8