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 - 2023.01.5 Beta 5

Published by wills106 over 1 year ago

Solis:

  • Added Button "Update Charge/Discharge Times"

Moved the following to write_method = WRITE_DATA_LOCAL,

  • Timed Charge Start
  • Timed Charge End
  • Timed Discharge Start
  • Timed Discharge End

Changing the times by them selves don't write to the Inverter, once you have finished setting all times, you press the Button "Update Charge/Discharge Times" The values will then be written to the Inverter in a write_registers block of multiple registers being written at once.

Beta 2 Changes:

Decoupled number / sensor entities.
Set number entities to initvalue = 0,

Beta 3 Changes:

Tried to couple number and sensor entities back together, so you can see changes made from the Inverter.

Beta 4 Changes:

Changed log level in __init__.py

Beta 5 Changes:

General:

  • Corrected loading of local data for non SolaX gen4 Inverters

Sofar:

  • Additional debugging to understand why "Passive Mode Battery Charge/Discharge" doesn't return int before writing to the Inverter.

SolaX Gen4:

  • Add 2 remotecontrol modbus power modes: Self_Use and Feedin_Priority emulations
homeassistant-solax-modbus - 2023.01.5 Beta 4

Published by wills106 over 1 year ago

Solis:

  • Added Button "Update Charge/Discharge Times"

Moved the following to write_method = WRITE_DATA_LOCAL,

  • Timed Charge Start
  • Timed Charge End
  • Timed Discharge Start
  • Timed Discharge End

Changing the times by them selves don't write to the Inverter, once you have finished setting all times, you press the Button "Update Charge/Discharge Times" The values will then be written to the Inverter in a write_registers block of multiple registers being written at once.

Beta 2 Changes:

Decoupled number / sensor entities.
Set number entities to initvalue = 0,

Beta 3 Changes:

Tried to couple number and sensor entities back together, so you can see changes made from the Inverter.

Beta 4 Changes:

Changed log level in __init__.py

homeassistant-solax-modbus - 2023.01.5 Beta 3

Published by wills106 over 1 year ago

Solis:

  • Added Button "Update Charge/Discharge Times"

Moved the following to write_method = WRITE_DATA_LOCAL,

  • Timed Charge Start
  • Timed Charge End
  • Timed Discharge Start
  • Timed Discharge End

Changing the times by them selves don't write to the Inverter, once you have finished setting all times, you press the Button "Update Charge/Discharge Times" The values will then be written to the Inverter in a write_registers block of multiple registers being written at once.

Beta 2 Changes:

Decoupled number / sensor entities.
Set number entities to initvalue = 0,

Beta 3 Changes:

Tried to couple number and sensor entities back together, so you can see changes made from the Inverter.

homeassistant-solax-modbus - 2023.01.5 Beta 2

Published by wills106 over 1 year ago

Solis:

  • Added Button "Update Charge/Discharge Times"

Moved the following to write_method = WRITE_DATA_LOCAL,

  • Timed Charge Start
  • Timed Charge End
  • Timed Discharge Start
  • Timed Discharge End

Changing the times by them selves don't write to the Inverter, once you have finished setting all times, you press the Button "Update Charge/Discharge Times" The values will then be written to the Inverter in a write_registers block of multiple registers being written at once.

Beta 2 Changes:

Decoupled number / sensor entities.
Set number entities to initvalue = 0,

homeassistant-solax-modbus - 2023.01.5 Beta 1

Published by wills106 over 1 year ago

Solis:

  • Added Button "Update Charge/Discharge Times"

Moved the following to write_method = WRITE_DATA_LOCAL,

  • Timed Charge Start
  • Timed Charge End
  • Timed Discharge Start
  • Timed Discharge End

Changing the times by them selves don't write to the Inverter, once you have finished setting all times, you press the Button "Update Charge/Discharge Times" The values will then be written to the Inverter in a write_registers block of multiple registers being written at once.

homeassistant-solax-modbus - 2023.01.4

Published by wills106 over 1 year ago

General:

  • Migrated to native_unit_of_measurement = UnitOf123.XYZ, for example POWER_WATT = UnitOfPower.WATT,
    Closes #288

  • Changed value_functions for write_multiple to use tuples instead of dictionary

Solis:

  • Fixed missing SensorDeviceClass.BATTERY from DEVICE_CLASS_* migration

SolaX Gen4:

  • More accurate remotecontrol battery_control computation

Sofar:

Added Button:

  • "Passive Mode Battery Charge/Discharge"

Added Number:

  • "Passive Mode Battery Power"

Added Sensors:

  • "Passive Mode Timeout" (Disabled by default)
  • "RO Passive Mode Gdes"
  • "RO Passive Mode Battery Power"
  • "RO Passive Mode Upper"
  • "System State"
  • "Waiting Time"

Warning
This isn't fully tested so be careful
Was in 2023.01.4 Beta, but needed to push out other fixes

Before trying out Battery Charge / Discharge can you please note down the following:
"Passive Mode Timeout" (Disabled by default)
"RO Passive Mode Gdes"
"RO Passive Mode Battery Power"
"RO Passive Mode Upper"

To Force Charge / Discharge the battery from the Grid:
Set number "Passive Mode Battery Power" to desired charge / discharge rate. (Positive = Charge from Grid, Negative = Discharge to Grid)
Set select "Charger Use Mode" to "Passive Mode"
Press button "Passive Mode Battery Charge/Discharge"
To end function return select "Charger Use Mode" to "Self Use"

Number "Passive Mode Battery Power" isn't real-time, it only functions after pressing button "Passive Mode Battery Charge/Discharge"
To change the rate you need to change the number and then press the button again.

Do not attempt to press Button "Passive Mode Battery Charge/Discharge" with select "Charger Use Mode" in any mode other than "Passive Mode"

homeassistant-solax-modbus - 2023.01.4 Beta 2

Published by wills106 over 1 year ago

Warning
This is untested so be careful

Sofar:

Test to see if the following work:

  • "Remote Control" - Actually System On / Off (ie turns the Inverter on / off
  • "Charger Use Mode"
  • "EPS Control"

Beta 2 Changes:

Before trying out Battery Charge / Discharge can you please note down the following:
"Passive Mode Timeout" (Disabled by default)
"RO Passive Mode Gdes"
"RO Passive Mode Battery Power"
"RO Passive Mode Upper"

I am expecting them all to be set to zero.

Warning
This is untested so be careful

To Force Charge / Discharge the battery from the Grid:
Set number "Passive Mode Battery Power" to desired charge / discharge rate. (Positive = Charge from Grid, Negative = Discharge to Grid)
Set select "Charger Use Mode" to "Passive Mode"
Press button "Passive Mode Battery Charge/Discharge"
To end function return select "Charger Use Mode" to "Self Use"

Number "Passive Mode Battery Power" isn't real-time, it only functions after pressing button "Passive Mode Battery Charge/Discharge"
To change the rate you need to change the number and then press the button again.

Do not attempt to press Button "Passive Mode Battery Charge/Discharge" with select "Charger Use Mode" in any mode other than "Passive Mode"

homeassistant-solax-modbus - 2023.01.4 Beta 1

Published by wills106 over 1 year ago

Sofar:

Simple test to see if the following work:

  • "Remote Control" - Actually System On / Off (ie turns the Inverter on / off
  • "Charger Use Mode"
  • "EPS Control"
homeassistant-solax-modbus - 2023.01.3

Published by wills106 almost 2 years ago

Changes since 2023.01.2

Sofar:

  • Added "Heatsink Temperature 1" for PV only Inverters

Sofar_old:

Corrected (Breaking Change?):

  • ActivePower units of measurement.
  • Reactive Power units of measurement.

Migrated to:

  • NumberDeviceClass
  • SensorDeviceClass
  • SensorStateClass

Solis:

Added support for Inverters starting '0602'
Added 'sleepmode = SLEEPMODE_LASTAWAKE' to "Battery Charge Today" / "Battery Discharge Today" to prevent the Energy Dashboard resetting.

Solis_old:

Corrected (Breaking Change?):

  • ActivePower units of measurement.
  • Reactive Power units of measurement.

Migrated to:

  • NumberDeviceClass
  • SensorDeviceClass
  • SensorStateClass

SolaX Gen4:

Corrected:

  • "backup_discharge_min_soc" min value
  • "backup_nightcharge_upper_soc" min value
homeassistant-solax-modbus - 2023.01.3 Beta 1

Published by wills106 almost 2 years ago

Sofar:

  • Added "Heatsink Temperature 1" for PV only Inverters

Solis:

  • Added support for Inverters starting '0602'
  • Added 'sleepmode = SLEEPMODE_LASTAWAKE' to "Battery Charge Today" / "Battery Discharge Today" to prevent the Energy Dashboard resetting
homeassistant-solax-modbus - 2023.01.2

Published by wills106 almost 2 years ago

General:

  • Reduced logging level when registers skip a read.

Solis:

  • Added 'SLEEPMODE_LASTAWAKE' to "Power Generation Total" to prevent it dropping to zero and causing the "Energy Dashboard" to reset.
  • Added Serial starting '160F'

Migrated to:

  • NumberDeviceClass
  • SensorDeviceClass
  • SensorStateClass

SolaX General:

Migrated to:

  • NumberDeviceClass
  • SensorDeviceClass
  • SensorStateClass

New Supported Inverters:

  • Added serial starting 'MC502T' for X3 MIC
  • Added MAX_CURRENTS & MAX_EXPORT for Gen4 'H34C' Inverters

SolaX Gen3 & Gen4 AC / Hybrid

  • Added Meter 2 sensors

SolaX Gen3:

  • Changed number.solax_grid_export_limit to -6000 & +6000

Potentially it will allow to Inverter to wake up and charge.
Follow the Wiki for the logic in how to force a Grid Charge.

homeassistant-solax-modbus - 2023.01.2 Beta 6

Published by wills106 almost 2 years ago

SolaX:

  • Added serial starting 'MC502T' for X3 MIC
homeassistant-solax-modbus - 2023.01.2 Beta 5

Published by wills106 almost 2 years ago

Solis:

  • Added Serial starting '160F'
homeassistant-solax-modbus - 2023.01.2 Beta 4

Published by wills106 almost 2 years ago

SolaX Gen3:

  • changed number.solax_grid_export_limit to -6000 & +6000

Potentially it will allow to Inverter to wake up and charge.
Follow the Wiki for the logic in how to force a Grid Charge.

homeassistant-solax-modbus - 2023.01.2 Beta 3

Published by wills106 almost 2 years ago

SolaX:

  • Corrected incorrect state_class

SolaX Gen4:

  • Removed remaining export_limit code.
homeassistant-solax-modbus - 2023.01.2 Beta 2

Published by wills106 almost 2 years ago

SolaX General:

Migrated to:

  • NumberDeviceClass
  • SensorDeviceClass
  • SensorStateClass

SolaX Gen3 & Gen4 AC / Hybrid

  • Added Meter 2 sensors
homeassistant-solax-modbus - 2023.01.2 Beta 1

Published by wills106 almost 2 years ago

General:

  • Reduced logging level when registers skip a read.

Solis:

  • Added 'SLEEPMODE_LASTAWAKE' to "Power Generation Total" to prevent it dropping to zero and causing the "Energy Dashboard" to reset.
homeassistant-solax-modbus - 2023.01.1

Published by wills106 almost 2 years ago

First release of the New Year 🎉

General:

  • Altered plugin_path to work on different Installation types.

SolaX General:

  • Added support for Inverters starting 'PRE'

SolaX AC & Hybrid:

  • Added RTC Sync button

SolaX Gen4:

homeassistant-solax-modbus - 2022.12.14 Beta 4

Published by wills106 almost 2 years ago

Due to the number of breaking changes in the 2022.12.1 code, when upgrading from 0.6.4 you need to remove the Integration from the Integration page before updating, then re add the Integration following restarting Home Assistant.

Sofar:

  • Added "Update Charge/Discharge Times" Button
  • Added error FFFB - FFFF to "RO Timing ID"

The following need to be set before pressing "Update Charge/Discharge Times" Button

'timing_id'
'timing_charge'
'timing_charge_start_time'
'timing_charge_end_time'
'timing_discharge_start_time'
'timing_discharge_end_time'
'timing_charge_power'
'timing_discharge_power'

They should default to the corresponding 'ro_' sensors

homeassistant-solax-modbus - 2022.12.14 Beta 3

Published by wills106 almost 2 years ago

Due to the number of breaking changes in the 2022.12.1 code, when upgrading from 0.6.4 you need to remove the Integration from the Integration page before updating, then re add the Integration following restarting Home Assistant.

Sofar:

  • Added "Update Charge/Discharge Times" Button
  • Added error FFFB - FFFF to "RO Timing ID"

The following need to be set before pressing "Update Charge/Discharge Times" Button

'timing_id'
'timing_charge'
'timing_charge_start_time'
'timing_charge_end_time'
'timing_discharge_start_time'
'timing_discharge_end_time'
'timing_charge_power'
'timing_discharge_power'

They should default to the corresponding 'ro_' sensors