Fronius Gen24 with Storage and Inverter Control#3755
Open
vision1727 wants to merge 3 commits into
Open
Conversation
sfeilmeier
requested changes
Jul 13, 2026
|
|
||
| public enum BatteryState implements OptionsEnum { | ||
| UNDEFINED(-1, "Undefiniert"), | ||
| OFF(1, "Aus"), |
Contributor
There was a problem hiding this comment.
Names are generally in English language
| } | ||
|
|
||
| @Override | ||
| public int getValue() { return this.value; } |
Contributor
There was a problem hiding this comment.
Please apply Coding guidelines for standard formatting etc. https://openems.github.io/openems.io/openems/latest/development/coding-guidelines.html
| import org.osgi.service.metatype.annotations.ObjectClassDefinition; | ||
|
|
||
| @ObjectClassDefinition(// | ||
| name = "ESS Fronius Gen24 Battery with int+SF ", // |
Contributor
There was a problem hiding this comment.
Name and webconsole_configurationFactory_nameHint have to correlate - see other implementations
| .accessMode(AccessMode.WRITE_ONLY)// | ||
| .unit(Unit.NONE)), // | ||
|
|
||
| // SELF_CONSUMPTION_ACTIVATION(Doc.of(OpenemsType.INTEGER) // |
| } | ||
| ) | ||
| @GenerateTargetsFromReferences("Modbus") | ||
| public class BatteryInverterFroniusGen24Impl extends AbstractSunSpecBatteryInverter |
Contributor
There was a problem hiding this comment.
A Battery-Inverter in OpenEMS is meant to be used by GenericEss. This will unfortunately require a lot of refactoring.
Author
There was a problem hiding this comment.
Thx for reviewing. Working on changes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Created another version of a controller for the Fronius Gen24.
it is running some time now and looks good.
for the Controller the base was a SMA Stpse.
I hope it is created the right way. :-)
The components gen24, charger and battery are new.
in the original of meter I added support for Sunspec int + SF.