I’ve created a door opener with a relay switch, arduino and reed switch.
It can check if the door is opened or closed and I built a web interface to access it by mobile phone which runs on my home computer.
Basically the web app talks internally to the arduino via network shield and basic messaging.
Easily you could modify a script to check to close the door if open between certain times.
You wouldn’t need to do this on arduino but could do it on the server hosting the mobile app.
Link attached
https://github.com/jasonbronson/garage-door-opener
Sent from my iPhone using Tapatalk