import os
# IMPORT ALLL PYTHON FILES FOR DRIVE GOOGLE, AND VIDEO STREAMING,


def main:

    # main loop
    # when there is a status change in my SQL database
    # begin a new thread.
    # each thread will be in its own function and read from its corresponding state in the SQL database Table

    while(True):

        # chenck that the light is on or off


        # check if camera streaming is on or off.





    return;

def NewThread(type, ID):



    return;
