it seems all it is working fine now. I change some rounds in sensor.py and in fronius.house_load_pos to avoid decimals
So, Watts are integers and Energy with 1 decimal.
it seems all it is working fine now. I change some rounds in sensor.py and in fronius.house_load_pos to avoid decimals
So, Watts are integers and Energy with 1 decimal.
Hi Marcus,
Did you resolve the problem with System option at scope position? When I put this option in configuration all Fronius entities become unavailable.
Hi Jurand,
I’m trying to remember what I did exactly. Below is my current working config.
The issue was with the physical Fronius inverter’s configuration - not HA.
I emailed Fronius support and they remotely changed something on the actual inverter’s data logger.
sensor:
- platform: fronius_inverter
ip_address: 192.168.0.xxx
powerflow: True
power_units: kW
units: kWh
smartmeter: true
smartmeter_device_id: 0
Thanks for your answer. I will check your configuration first, if it doesn’t work I contact Fronius.
Is there any major advantage of using fronius_inverter instead of the fronius platform?
I just installed an array of PV panels paired with a Fronius Primo inverter. I’m now in the process of configuring my Home Assistant to fetch the data of the power production.
I’m using the fronius platform and the names of the sensors that are automatically generated are a bit cumbersome, with the http_IP on it.
Is there a way to rename these sensors? I cannot do it on the GUI as these are read only entities, and the core.entity_registry file does not have these entities either.
I’m trying to setup the new Energy feature in HA 2021.8 but the Fronius daily energy sensor is not showing up in the dropdown menu. I have all the required attributes set as far as I can tell.
Any ideas what I need to do to get this working?
Do you use the builtin fronius integration? Have you updated to latest HA (2021.8.8 currently)?
You should be able to select the entity without any customization.
I’d use total / lifelong energy instead of daily. This avoids race conditions at midnight.
I assume you’re using the HACS integration not the official one. It could have to do with this. Basically the integration author needs to change some configurations behind the scenes:
The official fronius platform works just fine for me. I’ve no idea how to update the sensor names though, sorry.
Yep, I’m using the HACS one by Safepay which this thread is mostly related to. Hopefully he can sort it out, there is already an issue on the Git repo now that I look.
Just a note on this. In the meantime I have created an integration entity in HA to calculate energy from the Fronius power data. Once adding the device_class etc attributes to it I can use this in the Energy panel. It’s only a work-around as this figure should be the same as the energy entity coming from the Fronius directly…
Would you be able to supply the code for the integration you have created as I am trying to incorporate my Fronius inverter into energy monitoring and honestly do not know where to start. Thanks.
sensor:
- platform: integration ### Calculate energy from power
source: sensor.fronius_ac_power
name: energy_fronius_produced_today
unit_prefix: k
round: 2
Thanks Dave for the syntax. Unfortunately entity created does not appear in the Energy dropdown selection. It shows though as an entity in Developer tools. Have restarted HA. Sorry to be a pain, but any suggestions?
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…
I can see what I’m generating… also strange why it doesn’t line up with whats online
I’ve tried so many different options with sensors, integrations etc, but I can’t find how to get something simple like this…
I’m still very very new to HA as well… about 2 weeks into it I think haha…
Hi fellow Fronians !
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
So the rewrite is finished now. Testing would still be appreciated.
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