Currently the energy dashboard allows users to how much power is used and what is provided by solar/ the net.
Furthermore, it also allows users to see individually measured consumption for all energy measuring smart outlets.
What would really make this information more powerfull is the ability to find hidden consumption in your home.
In order to reduce unnecessary power consumption.
To this end a “total individually measured powerconsumption” visualization could be added to the energy dashboard (possibly with an feature toggle to allow users to not use this functionality).
This visualization would sum all of the provided individual energy consumption metrics.
After which it’s subtracts this value from the total house energy consumption.
The visualization could either be a new ring in the energy-distribution
card which also respects the energy-date-selection
with an outer ring around the house indicating how much of the energy consumption is accounted for.
Otherwise it could be added as another guage card named something like “Hidden power consumption” or “unaccounted power consumption”.
Or perhaps even being displayed as total information in the bar chart presenting the individually measured device consumption values (energy-devices-graph)
Currently i’ve implemented the concept as an guage in my own instance with the following templated sensor config:
- sensor:
name: total_consumed_daily_energy
unit_of_measurement: kWh
state: >
{% set ns = namespace(states=[]) %}
{% for s in states.sensor %}
{% if (s.object_id.startswith('coolcam_') and s.object_id.endswith('total_daily_energy')) %}
{% set ns.states = ns.states + [ s.state | float ] %}
{% endif %}
{% endfor %}
{{ ns.states | sum }}
state_class: measurement
Which is visualized as seen in (the bottom right) this image:
The major downside of this solution is that it’s not aware of the type: energy-date-selection
card.
Therefore, only allowing it to be usefull for calculating the current days individual measured energy consumption.
The attached image shows that of the 14.2 KwH consumed only 10.3 KwH is accounted for.
Which would ideally be displayed as there has been 3.9 KwH hidden power comsuption on day X.