Measure total time a light has been ON


I’ve a motion sensor (Philips Hue) installed in the backyard and after sunset, it turns the LED lights to ON when it detects motion for say 5 seconds. It seems to be working but the backyard also has plants, my dog and possibly other movements. I am curious how often the light comes on so wrote an automation that sends me a text but it is getting annoying to read the timestamps.

Is there a way to measure the cumulative time the light has been ON say within a day or a week?




Tom, thanks for pointing this one out. It is proving to be a very handy tool.

I also found that “type” can be also be “count” which has simplified few other sensors where I was using counters!