Exemplo n.º 1
0
def start():
    JOBS = (
        ('Phillips Hue', 'Get Hue Group Settings and Update Database', False, 900, sync_groups),
        ('Phillips Hue', 'Get Hue Lights States and Update Database', False, 20, sync_lights),
        ('Phillips Hue', 'Get Hue Sensor States and Update Database', False, 10, sync_sensors),
        ('Phillips Hue', 'Get Hue Scene Settings and Update Database', False, 1200, sync_scenes),
        ('Phillips Hue', 'Get Hue Schedules and Update Database', False, 10, sync_schedules),
    )
    build_jobs(JOBS)
Exemplo n.º 2
0
def start():
    JOBS = (
        ('HomeAuto', 'Keep Dropbox Running', False, 900, dropbox_job),
        ('HomeAuto', 'Search Devices for Schedules and Update Database', False, 60, find_schedules_job),
        ('HomeAuto', 'Search Devices for Senosrs and Update Database', False, 60, find_sensors_job),
        ('HomeAuto', 'Search Devices for Locks and Update Database', False, 60, find_locks_job),
        ('HomeAuto', 'Search Devices for Motion Dectors and Update Database', False, 60, find_motion_detectors_job),
        ('HomeAuto', 'Search Devices for Lights and Update Database', False, 60, find_lights_job),
        ('HomeAuto', 'Evaluate Time Based Triggers', False, 10, check_time_triggers),
    )
    build_jobs(JOBS)
Exemplo n.º 3
0
def start():
    JOBS = (
        ('Decora', 'Get Decora Device States and Update Database', False, 10, sync_decora),
    )
    build_jobs(JOBS)
Exemplo n.º 4
0
def start():
    JOBS = (('Wemo', 'Get Wemo Status and Update Database', False, 20,
             sync_wemo), )
    build_jobs(JOBS)
Exemplo n.º 5
0
def start():
    JOBS = (('Carrier', 'Get Carrier Status and Update Database', False, 20,
             sync_system), )
    build_jobs(JOBS)
Exemplo n.º 6
0
def start():
    JOBS = (('Vivint', 'Get Vivint Device Status and Update Database', False,
             120, sync_vivint_sensors), )
    build_jobs(JOBS)
    start_live_events()