Build a dark sensor circuit without using an LDR. Detect darkness with transistor or photodiode-based circuits to automatically turn on night lights or LEDs.