Page 1 of 1
Charge period lovlace card issue
Posted: Wed Jan 22, 2025 3:15 pm
by Phil M
Afternoon All,
I've recently had a solar installation completed and have generally managed to link it to HA using modbus and the FoxESS_modbus integration by Nathan Marlor. My setup includes:-
- FoxESS KH7 inverter
8.8kWp solar array
Fox ESS 10kWh battery
Waveshare RS485 to Eth (B) gateway
I have got the energy dash working well but am having trouble with the charge period lovlace card. I've installed the addon and tried adding the card but there is no device listed in the dropdown so I can't complete the card or use the charge times function.
Can anybody shed any light on this or suggest a fix?
Thanks,
Phil
Re: Charge period lovlace card issue
Posted: Wed Jan 22, 2025 3:24 pm
by Dave Foster
Hi Phil, sadly the KH series doesn't expose the charge time registers and so the charge card will not work (which is a pain)
What i've done for other KH users is to create several timedate helpers i.e. a charge period 1 start, charge period 1 end, charge period 2 start, charge period 2 end and also toggles for charge period 1/2 enabled - then have an automation that if the toggle is enable and the start time is now(), turn on force charge wok mode and if the end time equals now() turn back into Self Use work mode.
If you need a hand/tips with any coding just shout.
Re: Charge period lovlace card issue
Posted: Wed Jan 22, 2025 3:57 pm
by Phil M
Dave, thanks for the reply. That's a shame really but I'll follow your suggestion and see what I can do.
Thanks Again!
Phil
Re: Charge period lovlace card issue
Posted: Wed Jan 22, 2025 8:55 pm
by Phil M
In case it's of any use for anybody in the future, I seem to have cracked it using the "Scheduler Card" integration from HACS. It gives the option to set any work mode in a single schedule and gives options for daily, week days, weekends etc. You can have as many "events" per day as required so could be used to force discharge at peak then force charge at off peak, with self use at all other times.
Hope this helps somebody.
Phil
Re: Charge period lovlace card issue
Posted: Mon Jan 27, 2025 3:46 pm
by WyndStryke
When you schedule a force-charge/force-discharge via the schedule card on your KH, do you see the charge current fluctuate wildly, or is it steady? The KH seems to behave oddly when commanded to force charge/discharge via the integration. Will wrote an automation as an alternative way of doing it.
https://github.com/nathanmarlor/foxess_ ... 2424973498
Re: Charge period lovlace card issue
Posted: Wed Jan 29, 2025 4:10 pm
by WyndStryke
WyndStryke wrote: Mon Jan 27, 2025 3:46 pm
... The KH seems to behave oddly when commanded to force charge/discharge via the integration. Will wrote an automation as an alternative way of doing it.
Having said that, my export MPAN has arrived, so I've now had a chance to try it myself.
The force export / force charge seems to work fine when run via the integration, no jumping, so presumably it was fixed and doesn't need his automations any more.
I was planning to look at the scheduler that you recommended, but instead I wrote my own predbat-lite clone last night to control the inverter (tailored to my specific tariff which is quite simple, and hardwired to my preferences, so not general purpose like the real thing). Mainly because I couldn't figure out how to get predbat into 'feed-in' mode.