SolaX Power Modbus custom_component for Home Assistant (Supports some Ginlong Solis, Growatt, Sofar Solar, TIGO TSI & Qcells Q.Volt Hyb)
Bot releases are visible (Hide)
Published by wills106 over 1 year ago
Solis:
Moved the following to write_method = WRITE_DATA_LOCAL,
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:
Sofar:
SolaX Gen4:
Published by wills106 over 1 year ago
Solis:
Moved the following to write_method = WRITE_DATA_LOCAL,
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
Published by wills106 over 1 year ago
Solis:
Moved the following to write_method = WRITE_DATA_LOCAL,
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.
Published by wills106 over 1 year ago
Solis:
Moved the following to write_method = WRITE_DATA_LOCAL,
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,
Published by wills106 over 1 year ago
Solis:
Moved the following to write_method = WRITE_DATA_LOCAL,
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.
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:
SensorDeviceClass.BATTERY
from DEVICE_CLASS_*
migrationSolaX Gen4:
Sofar:
Added Button:
Added Number:
Added Sensors:
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"
Published by wills106 over 1 year ago
Warning
This is untested so be careful
Sofar:
Test to see if the following work:
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"
Published by wills106 over 1 year ago
Sofar:
Simple test to see if the following work:
Published by wills106 almost 2 years ago
Changes since 2023.01.2
Sofar:
Sofar_old:
Corrected (Breaking Change?):
Migrated to:
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?):
Migrated to:
SolaX Gen4:
Corrected:
Published by wills106 almost 2 years ago
Sofar:
Solis:
Published by wills106 almost 2 years ago
General:
Solis:
Migrated to:
SolaX General:
Migrated to:
New Supported Inverters:
SolaX Gen3 & Gen4 AC / Hybrid
SolaX Gen3:
Potentially it will allow to Inverter to wake up and charge.
Follow the Wiki for the logic in how to force a Grid Charge.
Published by wills106 almost 2 years ago
SolaX:
Published by wills106 almost 2 years ago
Solis:
Published by wills106 almost 2 years ago
SolaX Gen3:
Potentially it will allow to Inverter to wake up and charge.
Follow the Wiki for the logic in how to force a Grid Charge.
Published by wills106 almost 2 years ago
SolaX:
SolaX Gen4:
Published by wills106 almost 2 years ago
SolaX General:
Migrated to:
SolaX Gen3 & Gen4 AC / Hybrid
Published by wills106 almost 2 years ago
General:
Solis:
Published by wills106 almost 2 years ago
First release of the New Year 🎉
General:
SolaX General:
SolaX AC & Hybrid:
SolaX Gen4:
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:
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
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:
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