How to prevent my FoxEss H1 injection power into the grid
Hello,

Because this is my first visit to the forum, I like to introduce myself:
I am Eduard, I live in Belgium, more precise, in Antwerp. Because I am a retired electronic engineer, my knowledge about electronics and computers is somewhat outdated.
In summer 2022 we bought 16 solar pannels, a FoxEss H1 inverter, a 10 kWh FoxEss battery.
The enterprise who installed the system is out of business since 2024.
After their bankrupt declaration I removed the internet connection from the inverter to prevent undesired access. Now, the inverter is connected to Home Assistant by means of RTU Modbus.
Home Assistant is hosted on a HAgreen. An USB to Modbus converter is used to link the inverter to the HAgreen microcontroller.

On the internet I found nice Youtube films made by Will Eccles. With the Natan Marlor FoxEss integration changing workmode, charging and discharging are working fine. Thanks for spreading this knowledge.

There is still a feature that I didn’t find. How to stop injecting to the grid during multiple hours.
Once the battery is full, solar power is injected in the grid. How can we stop that in times op negative kWh prices?

Sincerly,

Eduard
Re: How to prevent my FoxEss H1 injection power into the grid
You should be able to set export power to 0W now using the modbus from nathan.

Check in Settings -> Devices and services -> FoxESS - Modbus, and click 1 device on that box/
You should then see a list of entries that can be adjusted.

If you have this available, then you just need to build and automation to adjust your export.


Example picture showing the value you are looking for...
viewtopic.php?p=17369#p17369
Re: How to prevent my FoxEss H1 injection power into the grid
Thank You very much,

I'll try that as soon as possible. Next week for sure.

Greetings,
Eduard
Re: How to prevent my FoxEss H1 injection power into the grid
It exists on my KH7, you will have to look to see if you can adjust values on your inverter.

Best of luck!
Re: How to prevent my FoxEss H1 injection power into the grid
Hello MaterialBarracuda48,

I found no parameter that can be adjusted to limit the power injection to the grid. May-be the firmware or the programs are outdated. The only parameters I consider for managing power are: Work Mode, Force Charge[kW], Force Discharge[kW]. The FoxEss-Modbus has version 1.13.6 / H1-5.0-AUX, HAcore 2026.4.3, HA operating system 17.2

Is there a way to verify if stopping the injection is possible by modbus?

Sincerely,
Eduard
Re: How to prevent my FoxEss H1 injection power into the grid
MaterialBarracuda48 wrote: Sun Jul 12, 2026 6:08 pm Check in Settings -> Devices and services -> FoxESS - Modbus, and click 1 device on that box/
You should then see a list of entries that can be adjusted.
Do you have a picture available to share at this location mentioned?


Also you can check your Inverter FW against this list, and you might be able to view FW update in the FoxCloud2.0 App.
viewtopic.php?p=8069#p8069


I think there is another way to adjust, as it depends on your available controls... you may have to read a register directly and write values into the export memory (if you can reach address)
Re: How to prevent my FoxEss H1 injection power into the grid
User nicois on this forum as created an alternative tool that might help.
https://github.com/nicois/foxess-control

For now I recommend you stick with current control method, but if this does not work, you might want to swap things over.

There was a thread from a few days ago, where someone was injecting values into the memory directly via register... I will see if I can dig it up (and see if it applies to you)


EDIT: Thread found, but not same inverter... however the process might be the same.
If you can locate the export register, then you can read/write the values AFAIK.
viewtopic.php?p=16977#p16977
Post Reply