Exemple #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
Exemple #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.")
Exemple #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")
Exemple #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.")
Exemple #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.")
Exemple #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.")
Exemple #7
0
    def iotJumpWayConn(self):

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