-
-
Notifications
You must be signed in to change notification settings - Fork 95
Updated Freeze Charging & Exporting for LuxPower inverters #3261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated Freeze Charging & Exporting for LuxPower inverters #3261
Conversation
Updated inverter setup documentation for LuxPower inverters, including detailed instructions for Freeze Charging and Freeze Exporting configurations.
Removed automation turn off service from charge stop configuration.
fc15ee8 to
06b2cdb
Compare
7438801 to
8e25520
Compare
|
I appreciate that this isn't the right place for this. However, please accept my sincere apologies for the messiness of this PR. It results primarily from my ignorance of how GitHub works (I only learnt about pre-commit checks yesterday) but also from the death of my desktop computer which was running the latest version of Ubuntu. I have had to resort to the resurrection of a Mac dating back to 2013! |
|
Is there anything further I need to do to get this PR over the line ( @springfall2008 @gcoan )? |
|
Looks good, will merge it |
|
How should I proceed if I want to merge my existing configuration file with the new version? |
you'll have to copy the new predbat template and re-apply your configuration to it. There's no easy way to merge apps.yaml versions other than in file editor |
As @gcoan says but you don't necessarily need to replace the whole template, only the last couple of lines of the 'inverter:' section down as far as 'battery_voltage' |
|
Ok. I will try to put them side by side and work from there. Is the new config the "recommended" way to go as far as settings? |
It's up to you. Using the system charge and grid cut-off entities avoids any confusion with different values being set in apps.yaml and the inverter. |
|
It probably isn't the place to ask but what is the difference between Freeze Charging and Holding Charge? |
they are effectively the same https://springfall2008.github.io/batpred/what-does-predbat-do/#predbat-status |
In both cases the battery will never discharge. |
|
Thanks for the explanation. When you say that none of the power will come from the battery, I assume it is based on cost comparisons (ie exporting is more efficient that charging the battery?) |
|
Correct. I've been trialing this for a couple of months (with Octopus Flux and Agile import / fixed export) and I haven't seen Predbat Freeze charge during the most expensive import periods. |
|
Ok I have enabled it now by following the documentation and all seems ok. Except for one thing. In the documentation is says: The switch doesn't exist for me. |
Its not really a case of what the export rate is, freeze charge is used when the import rate is such that it is more economical to directly import from the grid to run the house (rather than deplete the battery), but its not cheap enough to make it worthwhile charging the battery. Running off grid means you don't incur the battery discharge and inverter conversion losses.
check the documentation https://springfall2008.github.io/batpred/customisation/ you will see this is an expert mode switch so you need to turn expert mode on first |
Look in the Predbat User Interface (UI) under 'Config', scroll down and you will see 'Set Charge Freeze' and also 'Set Export Freeze' |
|
Yes it is all setup now but as @gcoan said I had to enable expert to get that one to appear. I will monitor over the next few days to see how it behaves Thanks all for your patience and help 👍
PS: on a completely different subject. I noticed that the luxpower_app template is not using the new format for the carbon_intensity |
|
I've updated the documentation to highlight the need to turn expert mode on, and have changed ALL the templates for the new carbon intensity config: |
|
@ppmt Don't be alarmed if you see a few seconds of battery charging from the grid when Freeze charging starts. This is expected. It's caused by a delay between Predbat enabling the LuxPower AC Charge and the Stop AC Charge SoC% being set to the present battery SoC%. |
Geoffrey, it would be clearer still if we mention the need to go to the Web UI/Config to set Expert Mode to True and then Set Charge Freeze to True, rather than referring to the Predbat entity itself. Likewise at the end of the Freeze export section. Are you happy to do that? |
No The danger of being too prescriptive is it starts an endless journey into telling people where to click and what to do. Some people don't use the web interface, some don't even use Home Assistant. And there are lots and lots of places in the documentation where settings are described and cross referenced together and if we had to add more detail then the docs would be even longer than they are now! Inverter setup is already over 2500 lines long. I'm happy to point out that set charge freeze is an expert mode switch and you need to turn expert mode on first, but TBH even that is pushing it, the switch is described in the customisation section as being expert mode so that should have been enough. |
Ok. Understood. |

Description
This update refines the LuxPower documentation and example template to showcase an improved Freeze Charging configuration for LuxPower inverters.
Introducing a brief delay before modifying
scheduled_charge_enableresults in a more stable and predictable behaviour. This adjustment:maintain_freeze_charge_statusorsuppress_record_status_on_write_failentries inluxpower.yamlinverter.pyto suppress warnings orrecord_statusupdatesThis simplifies configuration, reduces maintenance overhead, and aligns the integration with best‑practice automation patterns.
Closing
Feedback is welcome, and I’m happy to adjust anything that helps this land smoothly.