gtdiehl / iotawatt_ha

IoTaWatt for Home Assistant
Apache License 2.0
16 stars 16 forks source link

Energy use - wh vs wh_accumulated? #38

Open mmiller7 opened 2 years ago

mmiller7 commented 2 years ago

Does anyone know what the difference is between the wh and wh_accumulated sensors? I'm thinking wh_accumulated might be a bug?

In looking at the change over the past 24 hours…I know from the power company’s meter I seem to average around 60-80kWH in a day in “mild” weather.

According to the IoTaWatt device directly “energy” output:total_power (L1+L2) sensor graph directly: 24894−24840 = 54 (this seems a tad low for my daily kWH usage, but its been mild/cloudy and today was my first day “back at the office” vs work from home so maybe correct without HVAC, lights, or cooking at home)

According to sensor.iw_total_power_wh graph: 10288519−10234315 = 54204 (this seems to match the IoTaWatt kWH usage graph for 24 hours)

According to sensor.iw_total_power_wh_accumulated graph: 5101237−4832827 = 268410 (this seems impossibly high for watts used today - even on the coldest single-digit-temperature sub-freezing days running tons of electric backup-heat, spaceheaters, and hot water we only use maybe 250kWH in a 24 hour period)

SO…I have zero clue where this comes from or what it represents. Anyone have a guess?