Beispiel #1
0
def thingsboard_broker_out_main():
    from BTLEBroker import thingsboard_broker_out
    parser.add_option("-n",
                      "--name",
                      dest="name",
                      help="Name of device in yaml file",
                      metavar="FILE")
    (options, args) = parser.parse_args()
    cfg = config.read_config((options.config_file, options.auth_file))
    thingsboard_broker_out.main(cfg, options.name)
Beispiel #2
0
def thingsboard_broker_main():
    from BTLEBroker import thingsboard_broker
    (options, args) = parser.parse_args()
    cfg = config.read_config((options.config_file, options.auth_file))
    thingsboard_broker.main(cfg)
Beispiel #3
0
def neurio_broker_main():
    from BTLEBroker import neurio
    (options, args) = parser.parse_args()
    cfg = config.read_config((options.config_file, options.auth_file))
    neurio.main(cfg)
Beispiel #4
0
def adafruit_broker_main():
    from BTLEBroker import adafruit_broker
    (options, args) = parser.parse_args()
    cfg = config.read_config((options.config_file, options.auth_file))
    adafruit_broker.main(cfg)
Beispiel #5
0
def wunderground_main():
    from BTLEBroker import wunderground
    (options, args) = parser.parse_args()
    cfg = config.read_config((options.config_file, options.auth_file))
    wunderground.main(cfg)