Energy Dashboard #175
Replies: 2 comments 4 replies
-
Unfortunately it's a known issue that the battery import and export energy counters aren't accurate (because they reset themselves randomly) and don't behave like true energy counters. See this wiki note: https://github.com/WillCodeForCats/solaredge-modbus-multi/wiki/Known-Issues |
Beta Was this translation helpful? Give feedback.
-
I have implemented the soleredge_modbus integration. And it seems to work (data is flowing in). But I have a few difficulties in creating a working dashboard. I have taken the template example from this document: https://github.com/WillCodeForCats/solaredge-modbus-multi/wiki/Template-Sensors-for-Power-and-Energy but for some reason, it is not loaded. Also have restarted HA. I assume I missing something in the config file. Below is the completed configuration.yml file:
I hope someone can assist on this? Many thx! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I decided to populate the energy dashboard with some of the sensors from this integration. Quickly I realised that picking one or more to populate "Solar Production" was problematic and led to double counting as battery consumed by the house is also counted in the inverter AC Energy kWh sensors as the DC power from the battery is converted to AC by the inverter.
I have three inverters and two batteries, so next I tried summing the inverters less the battery export in a template and using that instead:
template:
- sensor:
- name: "Solar Output kWh"
unit_of_measurement: 'kWh'
state: >
{% set I1 = states('sensor.solaredge_i1_ac_energy_kwh') | float %}
{% set I2 = states('sensor.solaredge_i2_ac_energy_kwh') | float %}
{% set I3 = states('sensor.solaredge_i3_ac_energy_kwh') | float %}
{% set B1 = states('sensor.solaredge_b1_energy_export') | float %}
{% set B2 = states('sensor.solaredge_b1_energy_export_2') | float %}
{{ ((I1 + I2 + I3) - (B1 + B2)) }}
device_class: energy
state_class: total_increasing
This is much better but it seems it can go backwards slightly when battery usage is higher than solar production. I can see negatives when there is no sun of up to 0.08kWh per hour, not much in the grand scheme of things but looks odd on a production graph. Could this be rounding issues?
Is there a better way to get this value looking correct, or what is everyone else putting in their energy dashboard solar section if they also have a battery?
Beta Was this translation helpful? Give feedback.
All reactions