Hello together,
I’m facing the following problem. I have 2 Fronius PV inverters in my house. A Gen24 with a battery attached and a regular Symo 15.
I already need to query some parameters via REST from the GEN24, because the default Fronius integration is not providing me the single PV power, what I need to calculate the single PV energy per time period.
This works fine for the GEN24, but the SYMO 15 is giving me some headaches, because this inverter is just online/available while it’s generating power. That’s a problem for HA.
That’s my current code to query the parameter:
rest
- resource: "http://10.0.0.6/solar_api/v1/GetPowerFlowRealtimeData.fcgi"
scan_interval: 1
timeout: 1
sensor:
- name: "fronius_symo_15_0_3_m_pv_power"
value_template: >
{% if value_json and value_json.Body.Data.Site.P_PV is not none %}
{{ value_json.Body.Data.Site.P_PV }}
{% else %}
0
{% endif %}
unit_of_measurement: "W"
device_class: power
This works, when the inverter is online while starting HA, but as soon as the inverter goes offline, HA is returning me the timeout ERROR in the log and not showing the entity again, what is a problem the next day, because the entity will not return to live, just after a HA restart.
Is there any way to ignore (timeout) errors and just do endless retries?
Best regards
Raphael