Hi,
I’m trying to integrate two Solar Inverters into the energy tab of Home Assistant.
I have the following code the values of panourisolare_productie_huawai
and panourisolare_productie_fronius
are correct:
SOLAR Productie Fronius 6kw: 4206.0
SOLAR Productie Huawai 3kw 2241.0
sensor:
- platform: template
sensors:
panourisolare_productie_huawai:
device_class: power
friendly_name: "SOLAR Productie Huawai 3kw"
unit_of_measurement: "W"
value_template: "{{ states('sensor.sun2000l_3ktl_2101073801hvk7000518') | float }}"
panourisolare_productie_fronius:
device_class: power
friendly_name: "SOLAR Productie Fronius 6kw"
unit_of_measurement: "W"
value_template: "{{ states('sensor.power_photovoltaics_fronius_power_flow_0_192_168_1_184') | float }}"
- platform: integration
source: sensor.panourisolare_productie_huawai
name: SOLAR Productie Huawai 3kw
unit_of_measurement: Wh
# unit_prefix: k
round: 2
- platform: integration
source: sensor.panourisolare_productie_fronius
name: SOLAR Productie Fronius 6kw
unit_of_measurement: Wh
# unit_prefix: k
round: 2
However when I use the integrations to Energy, values are very different:
sensor.solar_productie_fronius_6kw: 881.351
sensor.solar_productie_huawai_3kw: 660.364
Any help is appreciated. Thanks!
1 post - 1 participant