Check out my recently shared at: Hallway Light at Night. It uses a motion sensor to detect movement, and then turns on a light at a user selected percentage. Then after a user specified number of minutes, it turns off the light. (Technically, after the time limit, it turns the light on full bright, and then turns it off. This way the light is set for 100% the next time it’s manually turned on.) Also, this app will only turn on the light at this dimmed level if:
- The light is already off.
- If it’s between a specified time at night and before a specified time in the morning.
I wrote this problem a while back for this exact problem, but for some reason forgot to share it. I’ve shared it now. Just to give you a starting point, I have mine set to only dim from 8:45pm to 5:00am. Dims at 22%, and turns off after 6 minutes, but all those can be tailored to your tastes when you install the app.