def main():
    module_description = "SCRAL GPS Tracker Polling instance"
    abs_path = os.path.abspath(os.path.dirname(__file__))
    scral_module: SCRALGPSPoll
    scral_module, args, doc = util.initialize_module(module_description,
                                                     abs_path, SCRALGPSPoll)
    scral_module.runtime()
def main():
    module_description = "SCRAL GPS REST integration instance"
    abs_path = os.path.abspath(os.path.dirname(__file__))

    global scral_module, DOC
    scral_module, args, DOC = util.initialize_module(module_description, abs_path, SCRALGPSRest)
    scral_module.runtime(flask_instance, ENABLE_CHERRYPY)
Ejemplo n.º 3
0
def main():
    module_description = "Template Module"
    abs_path = os.path.abspath(os.path.dirname(__file__))

    global scral_module, DOC
    scral_module, args, DOC = util.initialize_module(module_description,
                                                     abs_path, SCRALTemplate)
    scral_module.runtime(flask_instance, ENABLE_CHERRYPY)
Ejemplo n.º 4
0
def main():
    module_description = "Phonometer integration instance"
    abs_path = os.path.abspath(os.path.dirname(__file__))

    global scral_module, DOC
    scral_module, args, DOC = util.initialize_module(module_description,
                                                     abs_path, SCRALPhonometer)
    scral_module.runtime(flask_instance)
Ejemplo n.º 5
0
def main():
    module_description = "Wristband MQTT integration instance"
    abs_path = os.path.abspath(os.path.dirname(__file__))

    global scral_module, DOC
    scral_module, args, DOC = util.initialize_module(module_description,
                                                     abs_path,
                                                     SCRALMQTTWristband)
    scral_module.mqtt_subscriptions(DEFAULT_SUBSCRIPTION_WB)
    scral_module.runtime(flask_instance, ENABLE_CHERRYPY)