One is I want a notification if the door is left open after a certain hour.
If your garage motor is from 2011 or later, it should have a label on it that says "MyQ". Multiple garage motor companies are involved with it including Liftmaster, Chamerlain, and others. The label is rather large and plainly visible on the corner of the side of the motor - shouldn't be hard to find if it's there.
If you have the "MyQ" label and it has a wifi symbol next to it, you don't even need anything. Download the app from the manufacturer from the app store and it'll have directions for how to set up your motor (I was not fortunate enough to have such a model, so I don't have any more info than that.)
If you have the "MyQ" label but no wifi symbol next to it, you need to buy a MyQ Home Bridge. It's $30 at Home Depot right next to the keypads and buttons and everything else you can use to open your garage. Plug that into your router. Download the app. In the app, enter the serial number on the bottom of the bridge. It'll link your phone to the bridge. Create an account so that nobody else can randomly enter the serial number to control it, and also so you can log on from multiple devices. Then there's a learn button in the app. Press that. Press the learn button on your garage motor. Boom, you can control your garage from anywhere in the world that you have an internet connection.
You can configure the app to automatically alert you if the garage is open for too long. I have mine set to both pop a notification on my phone and email me if my garage is open for longer than 15 minutes. Theoretically, the company that made the app could make it so that I get an alert if the garage is opened between midnight and 6 AM or something.
So that might solve your first problem.
If your garage motor is older than 2011, there are also kits available to retrofit your motor to be compatible with MyQ. I think those cost money and involve actually wiring stuff together, so it's as easy or cheap.
For your second problem, the light problem, there's a huge number of potential solutions. I'm interested, but they all cost too much money for such a minor thing.