Energy monitor -- code quality

PaulS:

Basically I'm using an IR photo-transistor to listen for the test pulses my electric smart meter sends

Maybe you need a microphone to see it, instead.

:slight_smile:

More like a megaphone to tell my wife to turn stuff off.