If the N810 is close enough to a window, external lights can be sufficient to make the sensor value different from 0, and this could happen several times during the night (e.g. car lights, the moonlight which could change due to clouds and wind, etc.), though I haven't tried.