HA integration to control mode scheduler without modbus
Posted: Wed Apr 08, 2026 7:17 am
Hi all.
I've created a moderately simple HA integration https://github.com/nicois/foxess-contro ... /README.md intended to allow people without modbus to avoid the pain of relying on the mode scheduler provided by the mobile app.
I won't try to repeat what the README says in detail, just the key features:
- you can tell the inverter to charge your battery within a defined window, ensuring you reach your target SoC with a minimum of grid power (ie: where possible, waiting as long as possible to allow solar maximum opportunity to provide what you need). It will switch to self-use afterwards
- you can instruct the inverter to force-discharge during a window at a configured rate until a SoC is reached, at which point it switches to self-use. The FoxESS force-discharge threshold does not do this, instead pulling from the grid when you least want it.
You have finer-grained control too if you want it, but these two "smart" features are probably most of what people are looking for.
I only just created this, and there is a big HACS backlog to be natively listed, so unfortunately you'll need to follow the instructions to add a custom repository.
Don't hesitate to list any feature requests or bugs. This is only a couple of days old, so will still have a few rough edges.
I've created a moderately simple HA integration https://github.com/nicois/foxess-contro ... /README.md intended to allow people without modbus to avoid the pain of relying on the mode scheduler provided by the mobile app.
I won't try to repeat what the README says in detail, just the key features:
- you can tell the inverter to charge your battery within a defined window, ensuring you reach your target SoC with a minimum of grid power (ie: where possible, waiting as long as possible to allow solar maximum opportunity to provide what you need). It will switch to self-use afterwards
- you can instruct the inverter to force-discharge during a window at a configured rate until a SoC is reached, at which point it switches to self-use. The FoxESS force-discharge threshold does not do this, instead pulling from the grid when you least want it.
You have finer-grained control too if you want it, but these two "smart" features are probably most of what people are looking for.
I only just created this, and there is a big HACS backlog to be natively listed, so unfortunately you'll need to follow the instructions to add a custom repository.
Don't hesitate to list any feature requests or bugs. This is only a couple of days old, so will still have a few rough edges.