I’ve been logging my water heater’s energy on my emonPi successfully for a few weeks. When the heating element is off, the CTs read a very low ~15 watts.
Today I wired in a pulse input from a water meter. The two meter wires connect to D3 and 3.3v, and I’ve put a 10K pull-down resistor between D3 and GND. The water meter seems to be reading accurately, but it is causing noise on my energy readings whenever I get a pulse.
Here’s what the problem looks like:
Any suggestions on how to fix this?