Page 1 of 1

Use Home Assistant to control force discharge down to 30%

Posted: Fri Aug 14, 2026 8:05 am
by andrewd
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%

Posted: Fri Aug 14, 2026 10:21 am
by MaterialBarracuda48
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%

Posted: Fri Aug 14, 2026 11:03 am
by andrewd
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%

Posted: Fri Aug 14, 2026 3:38 pm
by MaterialBarracuda48
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%

Posted: Fri Aug 14, 2026 4:07 pm
by andrewd
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%

Posted: Fri Aug 14, 2026 4:32 pm
by MaterialBarracuda48
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%

Posted: Fri Aug 14, 2026 4:37 pm
by andrewd
Thanks, screenshot attached.

Re: Use Home Assistant to control force discharge down to 30%

Posted: Fri Aug 14, 2026 4:48 pm
by MaterialBarracuda48
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%

Posted: Fri Aug 14, 2026 4:56 pm
by andrewd
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%

Posted: Fri Aug 14, 2026 5:06 pm
by MaterialBarracuda48
Best of luck, hopefully it works for you.

Re: Use Home Assistant to control force discharge down to 30%

Posted: Fri Aug 14, 2026 5:07 pm
by andrewd
Thank you for your help. Much appreciated.