Fronius Binding : only min. charge rate possible but no max charge rate?

Hi,

system: openhabian v4.3.7/x64 on Raspberry 4/8G

Fronius Symo Gen24 10.0 Plus

I currently optimise my pv system and would like to set a “maximum charge rate” during the day. But if I use the “Force Battery Charging“ action so the rule in the inverter is set to “minimum charge rate“. Is it somehow possible to set a “maximum charge rate“ through the binding ? The inverter definitely supports these four limit types:

  1. max. charge rate
  2. min. charge rate
  3. max. discharge rate
  4. min. discharge rate

Hi,

I am the developer of the battery control integration in the Fronius binding.

When developing it, I was/am fully aware of the possibilities in the inverter, however I wanted to provide an easy-to-use API on the openHAB side to control the battery behaviour without requiring the user to think about the required numbers.
Hence I added what‘s currently there, but internally the code is able to set whatever you can do through the inverter UI.

I have already fulfilled requests of other users requiring more generic actions, I think now the time has come to expose the methods to allow more advanced stuff.

See openhab-addons/bundles/org.openhab.binding.fronius/src/main/java/org/openhab/binding/fronius/internal/api/FroniusBatteryControl.java at f817cb086a10502f9c96b9e25f5851bdb491b8b4 · openhab/openhab-addons · GitHub, exposing this method would allow to programatically add entries as in the inverter UI.
I could also expose the code that would allow to construct the time of use plan locally and set it at once instead of setting each new schedule entry individually.

WDYT? (Take a look at the linked method)

Hey, this method (addSchedule) looks exactly for what I’m looking for :slight_smile:

imo: if someone is able to handle openhab and a inverter so he should be able to use a function like addSchedule.

The same for the time plan: it would be great to get the possibility to set multiple individual time plans at the same time.

Yes, this method is actually pretty new and a result of recent refactorings.
I will create a PR soon™ to expose it as thing action.

1 Like

@florian-h05 this would be great :star_struck:

What do you think - can you also add these changes in the 4.3.x branch ? Not sure if there will ever be a v4.3.8 but anyone who’s interested/able can create a snapshot for himself :innocent: . I’m for the moment still on v4.3.7 and there’s no plan for me at the moment for a upgrade to 5.x

Speaking about the 4.3.x branch in the official repo:
Difficult, as 4.3.x only receives patch releases and such changes don’t qualify as patch.

But for sure I can backport this change to 4.3.x and publish a JAR, see Fronius battery control? - #124 by florian-h05 for example.

There likely is a 4.3.8 at some point, though it’s only a patch release so it won’t get enhancements.

Just FYI the soon™ above might not be before beginning of October.

Yes, I understand - no worries, that was only an idea. :slight_smile:

If I’m honest I already have build a special version of the Fronius binding which has a additional method for setting a maximum charge rate :wink: .

But for the future I’m delighted to get an upgraded Fronius binding maybe with version 5.1 (?)

Thank you for creating this binding

1 Like

I have just created a PR: [fronius] Expose BatteryControl::addSchedule as Thing action by florian-h05 · Pull Request #19352 · openhab/openhab-addons · GitHub

1 Like