KH7 - Force Charge/Discharge Modbus Issues
Posted: Wed Aug 06, 2025 10:19 pm
Hi everyone.
I'm looking for some advice on my hybrid setup, I've got an established HomeAssistant setup, got the NathanMarlor intergration working, but no matter what I do, I can't command a force charge or discharge.
I've got a KH7, and one EP11h, and 7kwp of PV.
My firmware is:-
Master 1.45
Slave 1.01
I'm using a waveshare POE device, and I'm getting live data into HA with no issues.
I'm on IOG, and I'd like to set the house batteries to charge with the car, firstly to stop them being dumped into the car overnight, but also to keep the batteries topped up and export as much solar as I can.
I've tried the following:-
Using Cloud2.0 - setting Charging Time windows, enabling charge from grid - Didnt work.
Using ModeScheduler - setting Force Charge period - Didnt work
Using HA - Setting Workmode to Force Charge - changes inverter to Back up workmode, but doesnt charge from grid
Using HA - Write Registers, 44000 =1, 44002 =-2000 - Didnt work, the write doesnt error, but when reading imediately after, the write hasnt saved.
Using HA - Read Registers - mapped and all matching the KH Series Modbus file https://github.com/nathanmarlor/foxess_ ... -Documents
As far as I can see, 44002 writing doesnt save any values, negative or positive
41000 has possible values of 0,1,2,3, but not Force Charge or Force Discharge
I'm really after some advice on where to go next - I've reached out to FoxESS but all they did was update the firmware and skirted any questions about modbus.
It feels like theres some hidden integer for charge/discharge power, and that mine is defaulting to zero, so even if the ForceCharge/Discharge commands are working, nothing happens because the power value is zero.
Thanks in advance for your input!
I'm looking for some advice on my hybrid setup, I've got an established HomeAssistant setup, got the NathanMarlor intergration working, but no matter what I do, I can't command a force charge or discharge.
I've got a KH7, and one EP11h, and 7kwp of PV.
My firmware is:-
Master 1.45
Slave 1.01
I'm using a waveshare POE device, and I'm getting live data into HA with no issues.
I'm on IOG, and I'd like to set the house batteries to charge with the car, firstly to stop them being dumped into the car overnight, but also to keep the batteries topped up and export as much solar as I can.
I've tried the following:-
Using Cloud2.0 - setting Charging Time windows, enabling charge from grid - Didnt work.
Using ModeScheduler - setting Force Charge period - Didnt work
Using HA - Setting Workmode to Force Charge - changes inverter to Back up workmode, but doesnt charge from grid
Using HA - Write Registers, 44000 =1, 44002 =-2000 - Didnt work, the write doesnt error, but when reading imediately after, the write hasnt saved.
Using HA - Read Registers - mapped and all matching the KH Series Modbus file https://github.com/nathanmarlor/foxess_ ... -Documents
As far as I can see, 44002 writing doesnt save any values, negative or positive
41000 has possible values of 0,1,2,3, but not Force Charge or Force Discharge
I'm really after some advice on where to go next - I've reached out to FoxESS but all they did was update the firmware and skirted any questions about modbus.
It feels like theres some hidden integer for charge/discharge power, and that mine is defaulting to zero, so even if the ForceCharge/Discharge commands are working, nothing happens because the power value is zero.
Thanks in advance for your input!