Fronius inverter integration

You need to add the attributes as per my post above.

Basically you need to go to Configuration > Customizations, select the newly created entity, ensure you have the below attributes:

state_class: measurement
device_class: energy
unit_of_measurement: kWh
Last_rest: some timestamp

Looking at some other posts in another thread we may need to add

method: left

in order to get accurate figures

hello all, I’m having trouble working out how I can calculate my kWh usage… I can see it online but would like it in my HA setup…

image

I can see what I’m generating… also strange why it doesn’t line up with whats online

image

I’ve tried so many different options with sensors, integrations etc, but I can’t find how to get something simple like this…

image

I’m still very very new to HA as well… about 2 weeks into it I think haha…

Hi fellow Fronians :wave:!
Im currently working on a refactoring of the core Fronius integration to have it support UI config, renaming, devices, areas etc with minimal configuration.
Unfortunately I only have a SnapInverter (no Gen24) ,1 meter in my system and no storage, so there are lots of things I can’t test on a real installation.

Maybe someone here is interested in helping out with testing.
Currently inverter, meter and storage data is implemented and I’d only run it in test HA-Installations (it creates lots of entity_registry entries that lead to orphaned entities if something gets changed later).

Edit: see next post

Looking forward to hear what you think!

If you like to join development discussion head over to
https://github.com/nielstron/pyfronius/lissues/40

2 Likes

So the rewrite is finished now. Testing would still be appreciated.

2 Likes

It maybe a very basic question, but how do you get the inverter IP address? If I set a static IP address and use solar web when the wifi access point shuts down I can’t access the inverter only data via Solar.web

When the team came in to install the inverter I made note of the mac address of the wifi then set a reservation on my DHCP server so it would always get the IP I wanted it to have.
So much nicer than setting a static IP on the unit.

And if u can get data off solar.web then ur inverter has an IP address and is connecting to the internet… I would recommend going down the reserved IP via DHCP path.
or start off with a dhcp assigned address so you know what IP it gets to get onto it’s internal website.

hth :slight_smile:

Why does this happen? Doesn’t matter how you configure the IP address, when there is no connection you can’t connect.

Wifi point auto shuts down after one hour seems to be normal configuration btw also have smart meter installed

yeah na… def not normal… I monitor my fronius via prtg and it’s always connected via wifi

disregard the weird spikes yesterday about lunch time my PRTG server wasn’t happy haha

That may be true if you really use the inverter as wifi access point. This is meant for configuration. Later it should be connected to an external wifi access point or, better yet, via ethernet cable. But I guess its just a missunderstanding as I don’t think that the inverter has access to solar.web in access point mode.

That said, there is a “night mode” preventing the inverter to shut down when there is no solar production. This also enables meter readings at night.

What model do you use?

Hey there,

I had the same kind of error in my fronius symo. Datamanager disconnected from wifi multiple times a day. It was driving me mad, I also was able to trigger a disconnect with frequent polling.
Unfortunately i could not convince the installer to change the module, reasoning was “is it generating electricity or not?”…
I got this resolved by hardwiring it to lan.

possible that it could all be wifi signal? have you got inverter outside of the house contributing to potential wifi signal issues?

Had it outside. Next to an esp for reference, the esp never lose wifi, the fronius did constantly. The wifi endpoint was on the other side of the brick wall.

Check the inverter’s firmware - there were firmware versions circa 2019 in some locations where wifi connectivity was pretty poor.

1 Like

Hey :wave:!
The fronius integration is getting a big overhaul in the December release!

Beta testers would be highly appreciated.

And if anyone happens to have a battery or Ohmpilot connected via a Fronius device, it would be great if you could send me some data so I can set up unit-tests for it. Just ping me here or via discord!

3 Likes

i’ve to a solar system with power meter but no battery. happy to beta test. @farmio

1 Like

new config with update is working well but my cost never seems to update correctly.

if I look at the config


this is correct and mimics the amount in my solar web, but it just isn’t calculating the total cost correctly.

also I realised I don’t have a seperate meter for my hot water system… dang it

Where do you get the energy price from?

Your electricity bill should have all that… personally I couldn’t get much of HA power stuff working so went to pvputput.org