Exemplo n.º 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
Exemplo n.º 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.")
Exemplo n.º 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")
Exemplo n.º 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.")
Exemplo n.º 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.")
Exemplo n.º 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.")
Exemplo n.º 7
0
    def iotJumpWayConn(self):

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