Utility meter wrong measurements

Hello to all,

i recently setup utility meter in conjunction with efergy watt sensors and I think is totally off in calculation.

utility_meter:
  daily_energy_serverroom:
    source: sensor.efergy_789069
    cycle: daily
    tariffs:
      - peak
      - offpeak
  monthly_energy_serverroom:
    source: sensor.efergy_789069
    cycle: monthly
    tariffs:
      - peak
      - offpeak

my average server room consumption is between 300 - 350 watts. According to an online calculator if a device consumes 400 watts and is on 24x7 then the result is 9.6 KWh
image
my calculated consumption from utility meter is 13.5 KWh peak + 6.4 KWh = 19,9 which is over two times over…

image
image

What is wrong with the setup??

You appear to be feeding the utility meter with a power sensor (W). It actually needs an ever increasing total energy consumed sensor (kWh). It does not convert power to energy. It only observes how much energy has been used in the defined cycle. If you need to convert from power to energy, have look at the integral sensor. You can then use this in the utility meter.

There are many posts about this on the forum.

1 Like

Thank you very much
I completed misted this step…

I applied the integration and feed the result to utility meter

  - platform: integration
    source: sensor.efergy_789069
    name: energy_serverroom
    unit_prefix: k
    round: 2
  - platform: integration
    source: sensor.efergy_788325
    name: energy_home
    unit_prefix: k
    round: 2

utility_meter:
  daily_energy_serverroom:
    source: sensor.energy_serverroom
    cycle: daily
    tariffs:
      - peak
      - offpeak
  monthly_energy_serverroom:
    source: sensor.energy_serverroom
    cycle: monthly
    tariffs:
      - peak
      - offpeak
  daily_energy_home:
    source: sensor.energy_home
    cycle: daily
    tariffs:
      - peak
      - offpeak
  monthly_energy_home:
    source: sensor.energy_home
    cycle: monthly
    tariffs:
      - peak
      - offpeak

lets hope that this will fix my results