First, the correct unit is watt-hour (watt times hour), not watt/hour, which would be a measure of energy acceleration over time (joules per time squared). Sorry, pet peeve of mine.
Second, if you measure in an analog rather than digital fashion, i.e. photodiode rather than phototransistor, you could do quite a lot with some clever signal processing: high-pass filter to look for fast changes, while filtering out slower ambient variations. It really depends how tight the optical coupling and shielding can be, whether this makes sense.