If you are into tinkering electronics you are always searching for problems to solve. My kids love me. That’s why they keep making opportunities for me to solve problems: Currently the keep the garage door open, even during nights. That’s why I currently figure out, how I can handle this.
Some boundary conditions I set up: Use as many components I have laying around. Our washing maschine broke some weeks ago, hence I have a Reed switc and light barriers. From a very old PIR sensor I still have 12V batteries (size LRV08). But first things first: I needed a latching power switch to start with.