Is there a way to calculate the energy consumption of unmetered devices if I have the total energy consumption of the entire house and the energy consumption of several devices?
At the moment I have:
sensor.energy_home_total_kwh - electric meter measuring the consumption of the entire house (kWh, cumulative from the installation of the device)
sensor.energy_device1_daily_kwh - provided by the smart socket flashed using ESPHome (kWh, resets to 0 once a day)
sensor.energy_device2_daily_kwh - as above
I suppose I should use templates, but also create helpers earlier, but unfortunately I don’t know which ones and how to do it. I also don’t know whether it’s better to add templates in config/helpers (in UI) or in configuration.yaml.
Will the template created in this way automatically collect long-term statistics?
I need this to add “all remaining devices” to charts in the Energy dashboard and custom Apex Charts. At the moment, there is no way to natively visualize the consumption of other devices".
I have kinda the same situation.
But with an PV and battery system. I do have the meter which gives me the power of the complete house (possible positive or negativ), one energy meter for my heat pump and one for my wallbox. For sure I have also all the data the Fronius integrations is giving me. Such as power of the batterie (possible positive or negativ) and PV power.
Right now Im not sure how a template or helper could look like that give me the power of the rest of my household (except PV, wallbox and heat pump).
Is that possible or is it not due to the positiv and negativ of the batterie and complete house?