Forgive me if this is a simple answer, but I’m stuck.
I have a standalone light sensor (KAKU), and I tried to use this in a room, e.g.
When it is dark, and movement is detected then turn on the light.
When it is light then and movement is detected turn off the light.
And here is the crux, when the light goes on, the light sensor turns of the light as it is bright enough.
It senses the light level of course, is there a way to solve this?
I can’t let it depend on sunrise, as the room is not always bright enough.