Suggest setting the inverter’s Night Mode setting to ON. That will keep the inverter awake and processing data.
Hi All,
hope it is fine to “hijack” this old thread, but it helped me a lot on how to configure my fronius with the energy dashboard.
Only topic still open is how should I integrate the battery?
Energy dashboard requires:
But I don’t have values like these for my battery:
In the past I made a workaround like the following, but the values seem not to be fully accurate:
template:
- sensor:
- name: "fronius battery in"
unique_id: fronius_battery_in
unit_of_measurement: "kWh"
device_class: energy
state_class: measurement
state: >-
{% set value = (states('sensor.power_battery_fronius_power_flow_0_http_192_168_29_34') | float / 1000) | round(2) %}
{% if value < 0 %}{{ value * -1 }}{% else %}0{% endif %}
attributes:
last_reset: '1970-01-01T00:00:00+00:00'
- name: "fronius battery out"
unique_id: fronius_battery_out
unit_of_measurement: "kWh"
device_class: energy
state_class: measurement
state: >-
{% set value = (states('sensor.power_battery_fronius_power_flow_0_http_192_168_29_34') | float / 1000) | round(2) %}
{% if value > 0 %}{{ value }}{% else %}0{% endif %}
attributes:
last_reset: '1970-01-01T00:00:00+00:00'
And if there is some interest - I use the following sensors to have some visibility about new firmware version available:
sensor:
- platform: command_line
name: fronius firmware available web
command: 'wget "https://www.fronius.com/en/solar-energy/installers-partners/service-support/tech-support/software-and-updates/symo-gen24plus-update" -qO- | grep ".swu" | sed ''s#\(^.*href="\)\([^"]*GEN24[^"]*\.swu[^"]*\)\("[^>]*>\)\([^<]\+\)\(<.*$\)#{"url":"\2","name":"\4"}##g'' | head -n 1'
value_template: "{{ value_json['name'] }}"
scan_interval: 43200
json_attributes:
- url
- platform: rest
name: fronius swrevisions web
resource: http://192.168.29.34/status/version
value_template: "{{ value_json['devicename'] }}"
scan_interval: 43200
json_attributes_path: "$.swrevisions"
json_attributes:
- CoyoteControl
- CoyoteCore
- DEVICEGROUP
- GEN24
- GEN24ROW
- GEN24SYMO
- Kronos
- Rhea
- S10RW-pilot
- Zeus
- imx6sx-pilot
template:
- binary_sensor:
- name: fronius firmware update
state: >-
{% set latest = state_attr('sensor.fronius_firmware_available_web', 'url') | regex_replace('(^.*_)([0-9.]+.[0-9]+)(-.*$)','\\2') %}
{% set current = state_attr('sensor.fronius_swrevisions_web', 'GEN24') | regex_replace('^([0-9.]+)(-.*$)','\\1') %}
{{ latest > current }}
attributes:
current: "{{ state_attr('sensor.fronius_swrevisions_web', 'GEN24') | regex_replace('^([0-9.]+)(-.*$)','\\\\1') }}"
latest: "{{ state_attr('sensor.fronius_firmware_available_web', 'url') | regex_replace('(^.*_)([0-9.]+.[0-9]+)(-.*$)','\\\\2') }}"
Hello Martin. Regarding your post regarding missing entities. I have the opposite problem.
I have a Fronius Gen 24 inverter with BYD Battery Box. I get all data from the inverter but nothing from the battery. Your screenshot showing the “BYD Battery-Box Premium HV” indicates that I seem to be missing a device.
I only have the following…
Can you show me your device list for your system? Thanks.
What HA version and Fronius firmware version are you running?
What is the WattNode thing in your device list?
HA is 2022.2.9
Fronius … not sure how to tell to be honest (but there doesn’t seem to be any updates available)
The WattNode is a device that appears to be measuring the main circuit etc (ie. seems to be an alternative to the Fronius branded “smart meter”. I am wondering if that is the issue.
During the install (only yesterday), they didn’t ask me for wifi settings to put into the BYD Battery Box. Not sure if that should be talking to my network or whether all data comes via the Fronius Inverter.
Not sure for Gen24 - I guess you’ll see it in solar.web somewhere - there you should also be able to upgrade it. Or on its built-in web-UI. It should be something like 1.14.x
These batteries can be connected to a Fronius inverter and the data can then be read from the inverter then. They are connected via Modbus (probably through a LAN cable) so no Wifi data needed for the Battery.
Don’t know if they would also work standalone.
my device list looks like the following:
So really looks like it is not visible on your devices list.
Thanks.
I have the “Gen24” and the “unknown” devices but not the Smart Meter (because they installed this CCS Wattnode thing instead) and no BYD device at all.
I assume all of these devices are part of the Fronius integration.
My suspicion is that in order to get the BYD device to show, I need the Fronius Smart Meter rather than the Wattnode (which I think is just a CT clamp to Modbus interface rather than a “smart processor”)
I really am just looking for one more sensor … Battery Charge Percentage … which I can see via the Solar.Web app/website, so it must be “exposed” somehow.
Hi all, I’m using Fronius since one year ago, but now I have started to use the HA integration. I would like to change the frequency updating consumption data to use it for my EV charger. Do you know how to change from 10 seconds to 5 seconds?
Hi !
I’m afraid this is not going to be as straight forward as you’d like. See New Fronius UI Integration with Multi Inverters - #2 by farmio and the link provided there.
If you really need more frequent updates in HA (Inverter not controlling the charger directly / via its IO port) I’d probably go for Modbus as the HTTP-API is not super fast / reliable and the Modbus people say theirs is. See Integration of a Fronius Symo Gen 24 plus Inverter via Modbus TCP
This worked for me with Gen24+BYD:
I’m in the same situation. Did you fix it? Thanks
Can you share this? I’m not familiar programming
If you really need more frequent updates you are probably better off using the Modbus integration. Integration of a Fronius Symo Gen 24 plus Inverter via Modbus TCP
I included several entities of the same device on my automation and now I’m getting very awkward values (sky high values) on the Energy dashboard (for my own dashboards I’m getting values as expected).
Does it matter to update only one sensor vs updating them all via automation?
Updating one sensor of one endpoint - power_flow, inverter, etc. - updates all entities that get data from that endpoint.
But it shouldn’t matter for the energy dashboard how frequently these are updated 🤷
Jumping on the bandwagon
Just got a FSM installed. Below is my dashboard setup
Im bloody confused as to what this is now showing me compared to my Fronius app.
Where is the meter installed? Grid connection path or consumption path?
is says meter is installed Location 0