Use Home Assistant to control force discharge down to 30%
Hi all,

I would be grateful if someone could assist point me in the right direction on this.

I am looking to use HA to set a daily force discharge from 1600-1900hrs and have it change the mode to self use once the battery SoC hits 30%. I have tried using automations but cant seem to get it to work. I am sure I am missing a simple trick.

KH07 Inverter
EQ4800 master and 2 slaves.
Re: Use Home Assistant to control force discharge down to 30%
Can you share an image of your automation?

Example...
HA IOG Off Peak.png
Re: Use Home Assistant to control force discharge down to 30%
I don't appear to be able to post it. That said it I haven't made meaningful progress anyway.
Re: Use Home Assistant to control force discharge down to 30%
So something similar to this... (except this reads as 'above' or 'below' for SoC)
HA Discharge.png

1. Set a time for 16:00

2. Have the And if check for SoC values above 30% (so that is does not begin to discharge if battery is lower)
I have it set to check for 3hrs, that should take you to 19:00

3. Set work mode on inverter to discharge


You will then need to recreate the above again, except you have it check for a below SoC, 30% and have it change work mode to Self-use. I am not an expert, but you can try to set something up, and test it out.
Re: Use Home Assistant to control force discharge down to 30%
Thank you. I am giving it a try now, but I keep getting an error which is that when ever I include the battery SoC I get a red X saying condition not met (despite it matching your example.
Re: Use Home Assistant to control force discharge down to 30%
Here is a post on how to attach screenshots
viewtopic.php?p=14205#p14205

I don't have a lot of HA experience, but you can at least post image now if needed.
Re: Use Home Assistant to control force discharge down to 30%
Thanks, screenshot attached.
Attachments:
Screenshot 2026-08-14 at 16-36-37 Automations – Home Assistant.png
Re: Use Home Assistant to control force discharge down to 30%
Check this video, note exactly what is pressed.
Also might be worth just doing 'Above' 30%

Then on 2nd automation, with same time, have it set to 'below' 30%, and set different work mode of course.
HA SoC.zip
(2.54 MiB) Downloaded 2 times
Re: Use Home Assistant to control force discharge down to 30%
Thanks, but that is exactly what I have done and it still gives me a warning saying the condition has not passed. Something must be causing an issue somewhere, I'll disconnect and reconnect everything and reboot home assistant and my inverter over the weekend and see if that clears it.
Re: Use Home Assistant to control force discharge down to 30%
Best of luck, hopefully it works for you.
Re: Use Home Assistant to control force discharge down to 30%
Thank you for your help. Much appreciated.
Post Reply