Hello, I'm new to python, I'm working on a small project to control the garage door. Along with opening and closing I want to monitor the door like if its open more than x amount of time and there is motion to send me an alert, also it will send mi an alert whenever is open and close or not fully open/closed ( I have two sensors to monitor if its fully open or close).
My question is would it be better to write a big program with all these things all checking a boolean to see if its open or close. or have little scripts all checking into a database to see if its opened or closed? I know I cant have all checking at the same time the status of the sensors thus why I would have the status put into the DB.
Felix