Non Essentials draining batteries when the PV drops off

This is pretty much what I do, but with Home Assistant. Which I agree is out of the reach of this mythical Pensioner that is now the target user :stuck_out_tongue: (I’m honestly less concerned about the pensioner and more about my inlaws-in-the-medical-industry)

I also don’t think you need to solve all of the issues mentioned in this thread - 80-20 approach. I like @Louisvdw idea of “Limit battery use” - what about just making it a “between time X and time Y”? That way the system doesn’t need to “figure out” when it is daytime.

In that case, the existing Scheduled charging functionality is already sufficient. It also already supports feeding PV to the loads once it goes over the target SOC (as long as it is also above the active MinSoc). And should the batteries fill up during such a slot, it behaves the same way as “Keep batteries charged”, with the PV going to the loads.

Just to add my 2 cents here.

Firstly, I only charge my batteries from solar.
A couple of months ago I came to the conclusion that I am pushing my system unnecessarily hard. Meaning, “why am I seeing how much I can pull from the batteries” etc.

I came to the conclusion that if I divide my daily production from PV by 24hrs and then set my “Max inverter power” to that figure, the system runs harmoniously the entire 24hrs (not pushing any of the systems limits) I am sure the system will also last much longer utilizing it this way.

1 Like

This is something roughly similar to what I do, except I do run my inverter’s capacity at the PV generated during the day time (plus an offset if I’m willing to discharge the batteries a little). During night time I cap it so that my batteries reach my min SoC roughly at sunrise.

As @plonkster noted once, the inverter does have a standing power draw, so it might be more efficient to run the batteries down to zero as quickly as you are comfortable with, and then let the inverter go into standby mode (consuming much less).

I find that I enjoy a balance of the two. Don’t want to sit with min SoC batteries at 02:00 and then unplanned loadshedding kicks in…

Any progress on this yet Sir? Lots of us use HA to control things. This would garner you a Whiskey by Xmas. :blush:


Understand, I’m not afraid to run bleeding edge software. Do it all the time, Release Candidate on Venus.

Also understand I use a very teeny bit of HA, just to increase my SOC and a bit of NodeRED on HA, to match inverter to panel watts, to do what GVC does, spread the battery usage over 24h.

Realized my SOC automation stopped. Weeks ago, so cannot restore that backup.

HA updates ALL THE TIME. I did not notice anything at first, though it was me, again but no prob, how else do you learn. Then I remembered I did not change anything.

So I’m getting really REALLY gatvol of HA breaking things on updates, a lot of the time.

And then when you Google, the answers given have too much Keyboard Warrior “power” in them, the gems, if you have the time, being deeply hidden. But they are scarce. Who wants to post answers when most replies are not newbie-friendly?

So I’m learning very hard en very fast towards NodeRed, running on the Venus direct.

1 Like

Been there, done that. Had to do a few restores as well.

My strategy is to defer all HA updates, we can now pause them. I do a backup prior to allowing updates to happen, standard best practise for me now. Not had any failures the last couple of months. Since my philosophy is to not tinker as far as possible, and make all the smart home systems so wifey can manage on her own, any ‘programming’ is a non starter. Grandma style :slight_smile:


I dunno about them, because you when do eventually need to update you will have a huge amount of breaking changes as opposed to making some small changes once a month

I only defer the updates until I have made the manual backup. Every few weeks, I do the updates and obviously the backup prior…


Since acquiring the mini-PC from @Deon_in_ZA , I’m running a standard Debian again with HA in a docker container (mostly because I was unsure if the UEFI support is good enough for stock HassOS). I also tried to run mqtt as a docker instance, but it was easier to just run mosquitto directly on Debian. As a result… no automatic updates :slight_smile:

It is an option yes, also tried that.

When you do update, as Calypso said, you have a ton of issues hitting you in one go, depending on what they changed and what you use of those changes.

When compared to Victron updates, also sometimes an issue now and then if you are Release Candidate, one realizes that HA still has a way to go ito how they do updates, and when things break, how to help people fix it fast.

I’ve probably not updated HA for a year. Mine is definitely not automated. Since the last update broke my automations, I decided not to update unless the update would have a feature I want or fix something that is broken.


This has always been a nightmare. In industrial automation it was a major event to run updates. Often it wasn’t possible to have a fallback position so one would have to bite the bullet and hope…
But as mentioned you have to do updates (sometimes) since it’s irresponsible not to.
I was at the Letseng diamond mine in Lesotho on one occasion and did a firmware update on their PLC. It failed and I couldn’t go back since the program was gone. Panic! I recall I had to do some hardware reset to get it’s brain working again. This plant lived and died on this system but they didn’t have a spare CPU. Amazing!

1 Like

A bit like this from xkcd.



So true! I’ve had this experience myself. Because you have been keeping the show going for years (and couldn’t bill for the service) they think this will go on forever.
The other day I was being squeezed by a ‘project engineer’ who was trying to complete a job before he left this company. He clearly wanted to complete the installation (plug the gizmo in) and say he’d done his bit. Pity that the system still didn’t work but no problem for him. I let rip in an email and now there’s no speaks: everyone ‘very disappointed’ in my behaviour…

I myself don’t have the skill yet, but apparently, “they” say, there is a way to tell someone to go to hell in such a decent nice way, that they look very much forward to the trip. :slight_smile:

Well, yesterday I told someone that I envy the people who have never met him.

Epic reply Plonk, epic reply! :rofl:

I’ve started dreading the Home Assistant updates too. More recent problem is that something using a cloud service breaks - last time it was my Text to Speech functionality in Google Homes. It was fixed but had to update HA to get there.

The HA updates forces the custom components which I use to be updated, and there aren’t always updates available.

If there are updates available I sometimes have to reconfigure things (such as my Person recognition system because the Frigate guy have also massively updated things on his side).

Getting annoying…


So I found WHY my automations stopped … happenstance across this teeny oneliner:

It seems to be a common issue with automations created through the UI. Luckily, the fix is easy - remove the attribute: unit_of_measurement lines. (… in automation.yaml)