예제 #1
0
	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
예제 #2
0
    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.")
예제 #3
0
    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")
예제 #4
0
    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.")
예제 #5
0
	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.")
예제 #6
0
    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.")
예제 #7
0
    def iotJumpWayConn(self):

        # Initiates the iotJumpWay connection class
        self.iot = iot()
        self.iot.connect()