home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.66k stars 29.95k forks source link

EnergyDashboard - Missing Information - Self-sufficiency #80172

Closed marc4s closed 1 year ago

marc4s commented 1 year ago

The problem

The lack of self-sufficiency is a major shortcoming of the current dashboard. We should orient ourselves to the key figures and values offered by almost all PV inverter manufacturers. Here, self-sufficiency is missing as an essential parameter.

It is precisely the values of self-consumption and self-sufficiency that are crucial for controlling the consumers in a smart home and monitoring the effectiveness of the measures taken so that, depending on the objective, one can switch the consumers on or off, start charging processes for the battery or charging an electric car, set the setpoints for the heating accordingly and so on.

The calculation logic is trivial and the necessary values are all already available in the dashboard: Self-sufficiency = 1 - externally sourced electricity (grid) / total electricity consumed.

This should therefore only be a small finger exercise for standard development, and if the value of self-sufficiency were available, this would enhance the entire dashboard enormously.

https://solar.htw-berlin.de/rechner/unabhaengigkeitsrechner/ https://echtsolar.de/photovoltaik-autarkie/

What version of Home Assistant Core has the issue?

core-2022.09.7

What was the last working version of Home Assistant Core?

core-2022.09.7

What type of installation are you running?

Home Assistant Core

Integration causing the issue

energy dashboard

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

marc4s commented 1 year ago

The Self-consumed solar energy is there, already - Personally, I don’t think this metric is that relevant, the smaller your PV the bigger value you’ll get. If you want to achieve 100% there then you should build a PV consisting of a single PV module. Or break your PV such that it produces way less than it could.