homeassistant-solax-modbus

SolaX Power Modbus custom_component for Home Assistant (Supports some Ginlong Solis, Growatt, Sofar Solar, TIGO TSI & Qcells Q.Volt Hyb)

Stars
315
Committers
52

Bot releases are visible (Hide)

homeassistant-solax-modbus - X1-AC-Test-5

Published by wills106 over 2 years ago

Test for X1-AC with minimal reading of registers.

homeassistant-solax-modbus - 0.4.13

Published by wills106 over 2 years ago

Gen2, Gen3 & Gen4:

German Translation for the Configuration page.

Make modbus address configurable so that multiple inverters can be supported.
This will only work with systems that use an external modbus converter/proxy/adapter like the waveshare RS485 modbus adapter.

  • It is recommended (but not required) to reinstall the integration. People that want to use a non default modbus address MUST reinstall the integration

Gen2:

Added the following Sensors:

  • battery_input_energy (disabled by default)
  • battery_output_energy (disabled by default)

These are the cumulative energy into and out of the battery for use with the Energy Dashboard.
On first adding them to the dashboard you may see a massive spike in the hundreds or thousands of kWh depending on the age of your installation. But on following days it should only display the daily energy.

  • battery_package_number (disabled by default)
  • battery_soh (disabled by default)

I don't know if battery_package_number refers to the number of batteries connected to the BMS?
Battery_soh is the battery State of Health as a percentage, unsure how it calculates it though.

As Gen2 and Gen3 are tied together for most sensors battery_package_number & battery_soh will return Unknown on Gen3 if you enable them!

homeassistant-solax-modbus - X1-AC-Test-4

Published by wills106 over 2 years ago

homeassistant-solax-modbus - X1-AC-Test-3

Published by wills106 over 2 years ago

X1-AC-Test

To determine if X1-AC uses similar registers to the X3MIC Pro or not.

homeassistant-solax-modbus - X1-AC-Test-2

Published by wills106 over 2 years ago

X1-AC-Test

To determine if X1-AC uses similar registers to the X3MIC Pro or not.

homeassistant-solax-modbus - X1-AC-Test-1

Published by wills106 over 2 years ago

X1-AC-Test

To determine if X1-AC uses similar registers to the X3MIC Pro or not.

homeassistant-solax-modbus - X1-AC-Test

Published by wills106 over 2 years ago

X1-AC-Test

To determine if X1-AC uses similar registers to the X3MIC Pro or not.

homeassistant-solax-modbus - 0.4.12b-1 Experimental Release

Published by wills106 over 2 years ago

Gen2

Add missing sensors from 0.12.14b:

  • battery_package_number (disabled by default)
  • battery_soh (disabled by default)

I don't know if battery_package_number refers to the number of batteries connected to the BMS?
Assuming battery_soh is the battery State of Health as a percentage, unsure how it calculates it though.

As Gen2 and Gen3 are tied together for most sensors they will return Unknown on Gen3 if you enable them!

homeassistant-solax-modbus - 0.4.12b Experimental Release

Published by wills106 over 2 years ago

Experimental Release:

Gen2

Added the following Sensors:

  • sensor.solax_battery_input_energy (disabled by default)
  • sensor.solax_battery_output_energy (disabled by default)

This should be the cumulative energy into and out of the battery for use with the Energy Dashboard.
On first adding them to the dashboard you will have a massive spike in the hundreds or thousands of kWh depending on the age of your installation. But on following days it should only display the daily energy.

homeassistant-solax-modbus - 0.4.11

Published by wills106 over 2 years ago

Corrected Gen4 time window handling and typos

Corrections to resolve issue reported by @mickemartinsson (missing battery_input_energy_today & battery_output_energy_today) on Gen3_X3
Added total battery energy input and output (Gen3 & Gen4)

homeassistant-solax-modbus -

Published by wills106 over 2 years ago

Gen2, Gen3 & Gen4

Added a new button:

  • unlock_inverter

Gen2 & Gen3

Added the following sensors and selects:

  • discharger_start_time_1
  • discharger_end_time_1
  • discharger_start_time_2
  • discharger_end_time_2

"The discharge time allows you to use the battery only from the start time to the end time"
While the sensors read on Gen3 and you can alter the times I can't verify if it does anything on the Gen3. Might only apply to Gen2
(Does not force Discharge into the Grid)

Gen2

Removed the following sensors as they don't exist on Gen2

  • battery_input_energy_today
  • battery_output_energy_today
homeassistant-solax-modbus - 0.4.9

Published by wills106 over 2 years ago

Renamed and fixed sensors:

  • feedin_energy_total -> grid_export_total
  • consumed_energy_total -> grid_import_total
  • total_energy_to_grid -> total_yield

Fixed following:

  • normal_runtime
  • e_charge_total
  • eps_yield_total

General code cleanup.

homeassistant-solax-modbus - 0.4.8

Published by wills106 over 2 years ago

General code clean up.

sensor.solax_rtc now formated as datetime (still disabled by default)

Set the following to disabled by default:

Gen2, Gen3 & Gen4

  • sensor.solax_bms_connect_state

Gen 2 & Gen3

  • sensor.solax_charger_start_time_1
  • sensor.solax_charger_end_time_1
  • sensor.solax_charger_start_time_2
  • sensor.solax_charger_end_time_2

Gen3

  • sensor.solax_backup_charge_end
  • sensor.solax_backup_charge_start
  • sensor.solax_backup_gridcharge
homeassistant-solax-modbus - 0.4.7

Published by wills106 over 2 years ago

Thanks to @infradom "Charger Use Mode" corrected to report Feedin mode correctly on Gen4.

homeassistant-solax-modbus - 0.4.6

Published by wills106 over 2 years ago

Fixed Typo for Gen2 & Gen3
Visual time for 03:30 was showing as 03:39.

  • select.solax_charger_end_time_1
  • select.solax_charger_end_time_2
  • select.solax_charger_start_time_1
  • select.solax_charger_start_time_2
homeassistant-solax-modbus - 0.4.5

Published by wills106 over 2 years ago

Gen2, Gen3 & Gen4

Added:

  • Battery Awaken Button

Gen2 & Gen3

Added remaining charge times.
Now full 00:00 - 23:45 Resolution is 15mins

Gen4:

  • select.solax_charger_start_time_1
  • select.solax_charger_end_time_1
  • select.solax_charger_start_time_2
  • select.solax_charger_end_time_2
  • select.solax_discharger_start_time_1
  • select.solax_discharger_end_time_1
  • select.solax_discharger_start_time_2
  • select.solax_discharger_end_time_2

Times available 00:00 - 23:45 Resolution is 15mins

Future:

Change to a more elegant solution that can be encoded on the fly to allow greater resolution of times available.

Likely to set the following to disabled by default, due to them being duplicates of the time selects:

Gen2 & Gen3:

  • sensor.solax_charger_start_time_1
  • sensor.solax_charger_end_time_1
  • sensor.solax_charger_start_time_2
  • sensor.solax_charger_end_time_2

Gen4:

  • sensor.solax_charger_start_time_1
  • sensor.solax_charger_end_time_1
  • sensor.solax_charger_start_time_2
  • sensor.solax_charger_end_time_2
  • sensor.solax_discharger_start_time_1
  • sensor.solax_discharger_end_time_1
  • sensor.solax_discharger_start_time_2
  • sensor.solax_discharger_end_time_2
homeassistant-solax-modbus - 0.4.4

Published by wills106 over 2 years ago

Gen2 & Gen3
Padded the following with leading zeros to make them look more like real time entries:

  • sensor.solax_charger_start_time_1
  • sensor.solax_charger_end_time_1
  • sensor.solax_charger_start_time_2
  • sensor.solax_charger_end_time_2

Added the following selects:
(You need to manually add these to your Lovelace)

  • select.solax_charger_start_time_1
  • select.solax_charger_end_time_1
  • select.solax_charger_start_time_2
  • select.solax_charger_end_time_2

I have only implemented 00:00 - 06:45 so far. In 15min blocks.
Each one is hard encoded so I want to ensure these work as expect first, before doing the rest.
Once they are all finished I will set the above sensors to hidden as default.

This is a temporary stopgap till a more elegant solution can be made with encoding on the fly.

homeassistant-solax-modbus -

Published by wills106 over 2 years ago

Set the following to be hidden as default due to them being duplicates of number entries

  • sensor.solax_export_control_user_limit
  • sensor.solax_forcetime_period_1_maximum_capacity
  • sensor.solax_forcetime_period_2_maximum_capacity

New README.md

Initial Support for HACS