def iotJumpWay(self): # Starts the iotJumpWay self.iot = iot() self.iot.connect() # Subscribes to the commands topic self.iot.channelSub("Commands") # Sets the commands callback function self.iot.commandsCallback = self.commands
def __init__(self): """ Initializes the class. """ self.Helpers = Helpers("Foscam") # Initiates the iotJumpWay connection class self.iot = iot() self.iot.connect() self.Sockets = Sockets() self.Helpers.logger.info("Foscam Class initialization complete.")
def iotJumpWayConn(self): """ iotJumpWay callback function. The callback function that is triggerend in the event of a command communication from the iotJumpWay. """ # Initiates the iotJumpWay connection class self.iot = iot() self.iot.connect() # Sets the commands callback function self.iot.commandsCallback = self.commands self.iot.channelSub("Commands")
def __init__(self): """ Initializes the class. """ self.isTraining = False self.Helpers = Helpers("NLU") # Initiates the iotJumpWay connection class self.iot = iot() self.iot.connect() # Sets the commands callback function self.iot.commandsCallback = self.commands self.iot.channelSub("Commands") self.Helpers.logger.info("NLU class initialized.")
def __init__(self): """ Initializes the class. """ self.Helpers = Helpers("Camera") # Initiates the iotJumpWay connection class self.iot = iot() self.iot.connect() # Subscribes to the commands topic self.iot.channelSub("Commands") # Sets the commands callback function self.iot.commandsCallback = self.commands self.Sockets = Sockets() self.Helpers.logger.info("Camera Class initialization complete.")
def __init__(self): """ Initializes the class. """ self.Helpers = Helpers("Camera") # Initiates the iotJumpWay connection class self.iot = iot() self.iot.connect() # Starts the TassAI module self.TassAI = TassAI() # Loads the required models self.TassAI.load_models() # Loads known images self.TassAI.load_known() self.Helpers.logger.info("Camera API Class initialization complete.")
def iotJumpWayConn(self): # Initiates the iotJumpWay connection class self.iot = iot() self.iot.connect()