luxtronik icon indicating copy to clipboard operation
luxtronik copied to clipboard

Convert "Heat Amount" to "power consumption"

Open robotnikz opened this issue 3 years ago • 9 comments

Hello everyone, is there are possibility to use the Heat Amount Sensor from the Luxtronik Integration divided by the JAZ (=Jahrearbeitszahl) = Real Power Consumption. I think that would be the better use for the Energy Dashboard.

So for example:

17.000 kWh Heat Amount : 4,8 (JAZ) = ~3500kWh real power consumption

Possible? Thanks in advance guys and thank you very much for your awesome work!

robotnikz avatar Dec 02 '22 15:12 robotnikz

You can do that using a template sensor. Where do you get the JAZ from? Honestly I've never dived deep enough into the matter to understand what JAZ really means 😅

Bouni avatar Dec 02 '22 15:12 Bouni

See https://www.home-assistant.io/integrations/template/ for reference

Should look something like that (untested):

template:
  - sensor:
      - name: "Real Power Consumption"
        unit_of_measurement: "kWh"
        state: >
          {% set heat_amount = states('sensor.heat_amount') | float %}
          {% set jaz = states('sensor.jaz') | float %}
          {{ (heat_amount / jaz) | round(1, default=0) }}

Bouni avatar Dec 02 '22 15:12 Bouni

Hey @Bouni , thanks for your answer. The JAZ is calculated like I mentioned.

You have the Heat Amount from the Heat Pump, divide it by the real used kWh from the electricity meter and voila, there you have the JAZ :)

Could you tell me how this template sensor could look like for a JAZ of e.g. 4,8?

robotnikz avatar Dec 02 '22 15:12 robotnikz

Sorry was too slow :) I'll try that. Will this be visible in the energy dashboard too?

EDIT: And I do not have a sensor for the JAZ, so this must be a fixed value in the template sensor. How shall I change the template then?

robotnikz avatar Dec 02 '22 15:12 robotnikz

I think it works, here e.g. with a JAZ of 3.5, but it's not showing up in the energy dashboard. Any tips? 🤣

template:

  • sensor:
    • name: "Real Power Consumption" unit_of_measurement: "kWh" state: > {% set heat_amount = states('sensor.luxtronik2_heat_amount_heating') | float %} {% set jaz = 3.5 | float %} {{ (heat_amount / jaz) | round(1, default=0) }}

robotnikz avatar Dec 02 '22 15:12 robotnikz

Got it working, also visible in the energy dashboard with device_class: energy state_class: total_increasing


template:

  • sensor:
    • name: "Heizung Stromverbrauch" unit_of_measurement: "kWh" device_class: energy state_class: total_increasing state: > {% set heat_amount = states('sensor.luxtronik2_heat_amount_heating') | float %} {% set jaz = 3.26 | float %} {{ (heat_amount / jaz) | round(1, default=0) }}

Thank you very much 😄

robotnikz avatar Dec 03 '22 10:12 robotnikz

  • {% set heat_amount = states('sensor.luxtronik2_heat_amount_heating') | float %}

As a side-note: Does anyone know / has double-checked how accurate this data is? It is provided by the manufacturer, so I would be interested to see if the data reported is accurate.

The calculation of the Jahresarbeitszahl (JAZ) (= SCOP in English) is interesting. On the other hand it requires external sensors to measure the energy, etc., so not everyone will have it available.

kbabioch avatar Dec 05 '22 10:12 kbabioch

Please note that "heat amout" IS NOT energy used. It is the energy produced for heating. Similarly, there is a sensor which keeps track of the energy produced for hot water.

If you have a separate power/energy meter, you can calculate the SCOP using: ("heat amount" + "hot water amount") / "energy meter". Or calculate separate SCOP for heating and hot water creating separate power/energy meter sensors based on the heat pump state.

AJediIAm avatar Dec 16 '22 21:12 AJediIAm

Please note that "heat amout" IS NOT energy used. It is the energy produced for heating. Similarly, there is a sensor which keeps track of the energy produced for hot water.

If you have a separate power/energy meter, you can calculate the SCOP using: ("heat amount" + "hot water amount") / "energy meter". Or calculate separate SCOP for heating and hot water creating separate power/energy meter sensors based on the heat pump state.

You're right. This is exactly why I use the JAZ as a divider to get the "real" used energy out of the heat amount". It's not that exact but at least a direction for me to track the energy used. When time comes, I'll update the JAZ in my configuration.yaml to a more detailed one when a year is over. That's the approach for now.

robotnikz avatar Dec 17 '22 07:12 robotnikz