I think you're capturing the flashes just fine, you aren't calculating the units correctly.
The writing on the meter says 800 Imp/kWh, so you should be dividing by 800, not 1000.
2320 / 800 = 2.9 kWh, which is pretty close to what you estimated your usage to be.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I think you're capturing the flashes just fine, you aren't calculating the units correctly.
The writing on the meter says 800 Imp/kWh, so you should be dividing by 800, not 1000.
2320 / 800 = 2.9 kWh, which is pretty close to what you estimated your usage to be.