#Water meter calculations off

1 messages · Page 1 of 1 (latest)

reef jackal
#

Hello everyone,

I have built a dual sensor water meter reader subsystem that feeds pulses into Home Assistant via ESPHome and an ESP8266. I'm posting this here because the pulse counter is exactly accurate between the external subsystem and Home Assistant but the total water use is way off. In the image of the water meter you can see the actuall meter and my subsystem screen which show almost the same data. Below those pictures are the Home Assistant readings. As you can see the counter is perfect and thats the only data coming in. In the ESP config you can see a multiply of 0.0087527 which over the ~2952 pulses is ~27 gal but Home Assistant reports it as ~157 gallons. Not sure where the discrepancy is. Any help would be appreciated. Thanks

south drum
#

what does the chart of the total sensor look like?

reef jackal
#

Charted the difference. Blue is actual and Red is HA. Consistent but wrong slope.

#

Current meter reading as of the above two pictures was 16,241 Gal

south drum
#

why did you add the throttle_average filter?

#

I'm not 100% sure but I think the multiply you set does not apply to the total sensor

reef jackal
#

With out the throttle filter it sends an event every pulse and when the washer is filling its a TON of events.
If the multiply didn't apply then my gallons would equal my pulse counter?

south drum
#

but it doesnt?

south drum
reef jackal
#

So its just adding pulses to my base water usage?

south drum
#

idk how your water meter works but for the kWh meters its 1000 or 10000 pulses per kWh

#

so if you miss pulses you're not counting anything

#

anyway, this can't be a HA problem. HA just reports whatever esphome reports, it doesnt modify the data. You might find more people in the esphome server who have actually set this up

reef jackal
#

My pulses are the same numbers but the gallons calculations are off.
Some how I am not describing this well.
If your statement that the multiplier doesn't do anything is accurate then my water meter total is going up by the number of received pulses.

#

Wait, the multiply is applied to the flow, not the total.

#

From the docs:

south drum
#

please ask on the esphome discord