Hello,
Is it possible to create a graph showing wattage per string?
I have the Amperage and voltage per string.
So I can calculate the wattage the string is delivering.
Greetings,
Ward
Hello,
Is it possible to create a graph showing wattage per string?
I have the Amperage and voltage per string.
So I can calculate the wattage the string is delivering.
Greetings,
Ward
What I’d do, but I’m old school, there might be a direct way
Create some templates
- sensor:
- name: L1Power
unit_of_measurement: W
device_class: power
state_class: measurement
state: >
{{ states('sensor.inverter_pv_1_voltage') | float(0) * states('sensor.inverter_pv_1_current') | float(0) }}
- name: L2Power
unit_of_measurement: W
device_class: power
state_class: measurement
state: >
{{ states('sensor.inverter_pv_2_voltage') | float(0) * states('sensor.inverter_pv_2_current') | float(0) }}
Then you can graph them no issue
You may also want to consider power factor. The ratio between real and apparent power.
Thank you for the info, It didn’t work as you posted.
But I was able to create 2 separate helpers for this with template.
The important parts are
device_class: power
state_class: measurement
It will allow integration with energy dashboard and create long time statistics, to have graphics with the history shade like this
Interesting. One question tho, the output of the inverter in watt is different then the above calculation, by a lot. Possibly it would be good to add a “loss” to the calculation.
For me, the output is 225 Watts in the inverter and the calculation spits out 300 Watts.
This could easily be the power factor. I have some pf as low as 0.64.