Delayed pulses with emonPi and Optical LED Pulse Sensor

Daniel - The ePi_opt_pulse_watts was an experiment. It doesn’t seem correct to me and I probably constructed it wrong.

This is the process list for the pulsecount (ePi_opt_pulse_watts is line #4):

I have a 10.000 pulses per kwh meter and I think it seems pretty accurate actually. The only thing is that the rate of change-process only gives one decimal, multiplying it with 1000 (to not have the emoncms app round off the decimal and only give you whole numbers) you get 100w steps. I bet this way of doing it is way more precise than 100w up to the 12kw limit where the fuse has blown for sure. I had to recompile the firmware with a lower lowest time between pulses though (turned it down from 110ms to 10ms). The last process I dont know about. Perhaps its wrong, but I put it there to get rid of missed pulses giving a crazy value). It seems to work.

If I could have used the amp meters I would have done that though.