Expandable-6-Channel-ESP32-Energy-Meter icon indicating copy to clipboard operation
Expandable-6-Channel-ESP32-Energy-Meter copied to clipboard

Two channels reporting erratically at certain times/conditions

Open BobbyBleacher opened this issue 1 year ago • 1 comments

US, split phase system. Current config: https://pastebin.com/13324sLW

Setup: Channels 1/6 - Measure power from grid Channels 2/5 - Measure power from solar Channels 3/4 - Measure power to/from battery inverter.

Issue: When the battery inverter is turn on and power some of the home's load, the measure grid power (which is completely separate) starts to report erratically. I see numbers fluctuate from 400w to -400w. When the battery inverter is turned off, grid power is measured and reported accurately.

image

HouseL1/L2 watts are what's in question here. Amps report accurately from what I can tell and are stable.

image

As soon as the inverter is off, all the data is correct (red is grid). When the inverter is on, power pulled from the grid is not accurate.

BobbyBleacher avatar Jan 02 '24 17:01 BobbyBleacher

I'm sorry I overlooked your issue!

It looks like the inverter in interfering with your grid power. It could be the difference in the voltage phase between your inverter and grid power that the meter is picking up on. In other words, it's not 400W at all, but that is how the meter is interpreting it. When the inverter is on, should any power be pulled from the grid? Does is only happen when the inverter is on, and there is no power being fed from batteries?

For your battery to/from measurement, is this DC power? If so, that will not be accurate since it's using AC voltage as a reference. The meter isn't setup to read DC power.

Also, on line 330 of your config, lambda: >- should be lambda: |-

CircuitSetup avatar Feb 12 '24 16:02 CircuitSetup