Fronius Modbus Integration

To make it easier to use control a Fronius Gen24 inverter with battery storage and smart meter I’ve created a new custom integration:

Notes:

  • Still working on getting the integration into HACS repository, so if you want to use you need to copy it manually.
  • The integration provides a basic set of data points needed for monitoring and controlling the battery storage.
  • Only tested Gen24 inverter with battery storage system. In theory it should work without battery storage too.

As it is my first integration expect some breaking changes to come…

Any ideas for improvement are welcome!

4 Likes

Do you have any screenshots or examples that showcase what can be achieved with this integration?

I would also be interested in more information about this :slight_smile:

Here are some screenshots of the devices created by the integration, starting with the Battery Storage:

And showing the actions for the battery storage:

Inverter device:

Meter device:

1 Like

Thanks! It looks awesome! Hate to be that person :man_facepalming:, but I did flag an issue on GitHub. Seems like I can’t add the inverter :sweat_smile:. Think you could work your magic on that? :pray:

Hi, I have the same problem as Klangen82. Do you have any idea, what’s the problem?

I’ve started to add some description on the data points and what the actions do:

To make it clearer I will add another table to show which setting is being used by the various actions.

Hi :wave:!
Just out of curiosity:
My Symo Snap-in Inverter also has a Modbus interface. According to the documentation, this is “SunSpec” compatible SunSpec Modbus Specifications - SunSpec Alliance .

  • Would you happen to know if all Fronius inverters / Dataloggers support Modbus - and have compatible registers?
  • Further, are those SunSpec specifications defining exact registers so those are fully compatible with your integration?
  • If so, could a generic “SunSpec Modbus” integration do the same as yours - or are there vendor / Fronius specific details that have to be considered?

If you need someone to test this on non-Gen24 Symo inverters, I’d be happy to help.

Also, as the maintainer of the current Fronius Core Integration, I’d be happy to help if you are interested in bringing this to HA Core.

Btw.

current Core Integration doesn’t use cloud, but local json API :wink:

Hi!

This looks like a great and useful integration! Unfortunately, I’m having trouble using the “Grid Charge Power” function – nothing happens when I change that parameter. The charging is stuck on 500 W.

I have set “Storage Control Actions” to “Charge from Grid” and then tried to limit how many watts it should charge with. However, there is no effect when I adjust the slider.

Could this be related to the “Max Charging Power” sensor? For some reason, it shows -24,576 W for me.

Primo GEN24 6.0
Firmware: 1.30.7-1

I’m working on a new version that is more intuitive to use. Currently the order of changing settings needs to be followed.

Just pushed out a new version with reworked Storage Control Mode behavior. The relevant inputs can be changed when the mode is active. See the documentation which controls are used and which are ignored in the various modes. Hopefully this makes it more intuitive to use the controls.

Unfortunately I didn’t have enough time and enough sun light :slight_smile: to test all scenarios.

@Farmio to answer your questions:

  • So far I know more Fronius inverters support Modbus and they should be mostly compatible.
  • The integration uses SunSpec format for Inverter and Meter data, but for actually controlling the registers it seems Fronius specific. At least the SunSpec integration cannot control it.

It would be great to integrate this into current Fronius Core integration, but it will be good to get storage controls solid first.

What inverter do you exactly have? I can add it to list of supported inverters so you can test if it works.

I have two non-Hybrid SnapIn Inverters on two different grid interconnection points: a Symo 5 and a Symo 20. Both connected to a Fronius SmartMeter. No battery, no Ohmpilot.

Just pushed out a new releases with the following changes:

  • Added control for discharging the battery to the grid
  • Disabled check for Gen24 inverters, so allowing to test the integration with other types of Fronius inverters.
  • Minor bug fixes/tweaks

This is just great, I was getting crazy remembering each evening to start the charging from grid manually… I’ll definitely test this.
May I ask you some screenshot a for comparing the integration and the fronius local interface?

I usually define only the minimum change rate to like 1000 W for 4-5 h during the night so I charge into the battery the 5kWh I’ll Need during a cloudy day. Is the logic the same?