home-assistant-bosch-custom-component icon indicating copy to clipboard operation
home-assistant-bosch-custom-component copied to clipboard

Energie sensor in m3 instead of kWh

Open doudz opened this issue 2 years ago • 7 comments

I'm using a CT200 and it works very good, thanks for all you've done !

I just discover the gas statistic sensor and put it in the energy dashboard and it works !

but the unit is kWh, it could be more useful to have it in m3 since the conversion between m3 and kWh change accross months (according to my gas provider) For information EasyControl app displays information using m3 too

doudz avatar Jul 02 '22 06:07 doudz

maybe next month I can try to implement it. Unfortunately bosch gives kWh so it would be another hack...

pszafer avatar Jul 04 '22 19:07 pszafer

Looks like Bosch easycontrol app use a fixed factor to convert kWh to M3 : 8.125 Anyone could confirm ?

doudz avatar Jul 05 '22 05:07 doudz

According to my gas provider , in May I have used 22m3 , converted to 240.9kWh (factor is 10.95)

but the Bosch app reports 30.02 m3 and 243.88kWh

Who's right?

doudz avatar Jul 05 '22 05:07 doudz

AFAIK In Poland Easycontrol uses 0.1231 factor -> kWh * 0.1231 = m³

pszafer avatar Jul 05 '22 14:07 pszafer

It's the same 1/0.1231 = 8.1234 so near what I found

doudz avatar Jul 05 '22 15:07 doudz

The value depends on the gas you use. Different gas has different compression and energy values. Also it depens if you have L or H-Gas L-Gas is nearly 8-9 kwH/m3 and H-Gas is nearly 12 kwH/m3. I created a sensor for that:

sensor:
  - platform: integration
    source: sensor.recording_ractualpower
    name: energy_spent
    unique_id: "energy_spent"
    round: 2
    method: left

- sensor:
      - name: "Gas consumption"
        unique_id: "gas_consumption"
        device_class: "gas"
        state_class: "total_increasing"
        unit_of_measurement: "m³"
        state: >
          {% set kwh = states('sensor.energy_spent') | float %}
          {% set condition_value = 0.9421 | float %}
          {% set calorific_value = 11.369 | float %}

          {{ ( kwh/(condition_value * calorific_value) ) | round(1) }}

dannyk79 avatar Jul 14 '22 13:07 dannyk79

Is there any update possible on this i'm running into the exact same issue

istvanSA avatar Sep 08 '22 11:09 istvanSA