Exemplo n.º 1
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(platform_agent,
                       description='Agent available to manage from a remote ' +
                       'system.',
                       no_pub_sub_socket=True,
                       argv=argv)
Exemplo n.º 2
0
def main(argv=sys.argv):
    '''
    Main method called by the eggsecutable.
    '''
    utils.default_main(DrivenAgent,
                       description='Example VOLTTRON platform™ driven agent',
                       argv=argv)
Exemplo n.º 3
0
def main(argv=sys.argv):
    '''
    Main method called by the eggsecutable.
    '''
    utils.default_main(DrivenAgent,
                       description='Example VOLTTRON platform™ driven agent',
                       argv=argv)
Exemplo n.º 4
0
def main(argv=sys.argv):
    try:
        utils.default_main(ZMQ_Subscribe,
                           description='ZMQ UI Subscribe',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception', e)
Exemplo n.º 5
0
def main(argv=sys.argv):
    try:
        utils.default_main(ZMQ_Subscribe,
                           description='ZMQ UI Subscribe',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception', e)
Exemplo n.º 6
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(GreeterAgent,
                           description='Simple multi-node demo agent',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
Exemplo n.º 7
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(PublisherAgent,
                           description='Example VOLTTRON platform™ heartbeat agent',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
Exemplo n.º 8
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.''' 
    try:
        utils.default_main(PushAgent,
                           description='SMDS Result Pushing agent',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
Exemplo n.º 9
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(PushAgent,
                           description='SMDS Result Pushing agent',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
Exemplo n.º 10
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(PingPongAgent,
                           description='Example VOLTTRON™ mobility agent',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
Exemplo n.º 11
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(GreeterAgent,
                           description='Simple multi-node demo agent',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
Exemplo n.º 12
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(AppLauncherAgent,
                           description='this is an AppLauncher agent',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
Exemplo n.º 13
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(PingPongAgent,
                           description='Example VOLTTRON™ mobility agent',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
Exemplo n.º 14
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(ListenerAgent,
                           description='Example VOLTTRON platform™ heartbeat agent',
                           argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
Exemplo n.º 15
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(SMAPHistorianAgent,
                           description='Historian agent that saves a history to an SMAP Archiver.',
                           argv=argv)
    except Exception as e:
        print e
        _log.exception('unhandled exception')
Exemplo n.º 16
0
def main(argv=sys.argv):
    '''Main method called to start the agent.'''
    utils.setup_logging()
    try:
        utils.default_main(hello_agent,
            description='Example hello agent for testing with Volttron Central',
            argv=argv)
    except Exception:
        _log.exception('unhandled exception')
Exemplo n.º 17
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(ScheduleExampleAgent,
                           description='Example agent using the Scheduler',
                           argv=argv)
    except Exception as e:
        print e
        _log.exception('unhandled exception')
Exemplo n.º 18
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(ScheduleExampleAgent,
                           description='Example agent using the Scheduler',
                           argv=argv)
    except Exception as e:
        print e
        _log.exception('unhandled exception')
Exemplo n.º 19
0
def main(argv=sys.argv):
    '''Main method called to start the agent.'''
    utils.setup_logging()
    try:
        utils.default_main(UIAgent,
            description='VOLTTRON platform™ agent for remote user interaction.',
            argv=argv)
    except Exception:
        _log.exception('unhandled exception')
Exemplo n.º 20
0
def main(argv=sys.argv):
    '''Main method called to start the agent.'''
    utils.setup_logging()
    try:
        utils.default_main(
            AskAgent,
            description='VOLTTRON platform™ agent for remote user interaction.',
            argv=argv)
    except Exception:
        _log.exception('unhandled exception')
Exemplo n.º 21
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    # Parse options
#     parser = ArgumentParser(prog=os.path.basename(argv[0]), description='Example VOLTTRON platform agent')
#     opts = parser.parse_args(argv[1:])
#     agent = DataPublisher(subscribe_address=opts.sub,
#               publish_address=opts.pub, config_path=opts.config)
#     agent.run()
    utils.default_main(DataPub,
                       description='DD',
                       argv=argv)
Exemplo n.º 22
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(scheduleragent,
                       description='Lighting Scheduler Agent',
                       argv=argv)
Exemplo n.º 23
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(RTUAgent,
                       description='VAV agent',
                       argv=argv)
Exemplo n.º 24
0
def main(argv=sys.argv):
    '''Main method called by the platform.'''

    utils.default_main(MobileExampleAgent,
                   description='Mobile Example Agent',
                   argv=argv)
Exemplo n.º 25
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(ApprovalHelperAgent, description='Approval Helper agent', argv=argv)
Exemplo n.º 26
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(DeviceDiscoveryAgent, description='Device Discovery agent', argv=argv)
Exemplo n.º 27
0
def main(argv=sys.argv):
    '''Main method called by the platform.'''

    utils.default_main(MobileExampleAgent,
                       description='Mobile Example Agent',
                       argv=argv)
Exemplo n.º 28
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(OpenADRAgent,
                       description='OpenADR Event agent',
                       argv=argv)
Exemplo n.º 29
0
def main(argv=sys.argv):
    # Main method called by the platform.
    utils.default_main(BlinkingLEDAgent,
                       description='Blinking LED Agent',
                       argv=argv)
Exemplo n.º 30
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(WeatherAgent,
                       description='Weather Underground agent',
                       argv=argv)
Exemplo n.º 31
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(TestDRAgent, description='Test DR agent', argv=argv)
Exemplo n.º 32
0
def main(argv=sys.argv):
    """Main method called by the eggsecutable."""
    utils.default_main(ActuatorAgent, description="Example VOLTTRON platform™ actuator agent", argv=argv)
Exemplo n.º 33
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(UserAgent, description='Gives Direct Control', argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
Exemplo n.º 34
0
def main(argv=sys.argv):
    """Main method called by the platform"""
    utils.default_main(BatteryEntity,
                       description='Battery Entity',
                       argv=argv)
Exemplo n.º 35
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(BaselineAgent,
                        description='Baseline agent for VOLTTRON platform',
                        argv=argv)
Exemplo n.º 36
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(RegistrationAgent,
                       description='Registration agent for VOLTTRON Lite',
                       argv=argv)
Exemplo n.º 37
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(ApprovalHelperAgent,
                       description='Approval Helper agent',
                       argv=argv)
Exemplo n.º 38
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(DemandResponseAgent,
                       description='VOLTTRON platform DR agent',
                       argv=argv)
Exemplo n.º 39
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(AFDDAgent,
                       description='VOLTTRON platform™ AFDD agent',
                       argv=argv)
Exemplo n.º 40
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.default_main(UtilityAgent, description='Power Cost', argv=argv)
    except Exception as e:
        _log.exception('unhandled exception')
Exemplo n.º 41
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(DemandResponseAgent,
                       description = 'VOLTTRON platform grid response agent',
                       argv=argv)
Exemplo n.º 42
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(LightingAgent, description='Lighting agent', argv=argv)
Exemplo n.º 43
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''

    utils.default_main(SMDSAgent, description='SDMS Agent', argv=argv)
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(AFDDAgent,
                       description='VOLTTRON platform™ AFDD agent',
                       argv=argv)
Exemplo n.º 45
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(CumulativeSumAgent,
                        description='Cumulative sum agent for VOLTTRON platform',
                        argv=argv)
Exemplo n.º 46
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(LEDAgent,
                   description='Control green and red LEDs',
                   argv=argv)
Exemplo n.º 47
0
def main(argv=sys.argv):
    """Main method called by the platform."""

    utils.default_main(MobileExampleAgent, description="Mobile Example Agent", argv=argv)
Exemplo n.º 48
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(DeviceDiscoveryAgent,
                       description='Device Discovery agent',
                       argv=argv)
Exemplo n.º 49
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(passiveafdd,
                       description='VOLTTRON passive AFDD',
                       argv=argv)
Exemplo n.º 50
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(volttron_central_agent,
                       description='Volttron central agent',
                       no_pub_sub_socket=True,
                       argv=argv)
Exemplo n.º 51
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(DataPub,
                       description='Data publisher',
                       argv=argv)
Exemplo n.º 52
0
def main(argv=sys.argv):
    """Main method called by the eggsecutable."""

    utils.default_main(SMDSAgent, description="SDMS Agent", argv=argv)
Exemplo n.º 53
0
def main(argv=sys.argv):
    # Main method called by the platform.
    utils.default_main(HPWHRecordAgent,
                       description='HPWH Record Agent',
                       argv=argv)
Exemplo n.º 54
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(TestRegistrationAgent,
                        description='Testing agent for Archiver Agent in VOLTTRON Lite',
                        argv=argv)
Exemplo n.º 55
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(scheduleragent,
                       description='Plugload Scheduler Agent',
                       argv=argv)
Exemplo n.º 56
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(OpenADRAgent,
                       description='OpenADR Event agent',
                       argv=argv)
Exemplo n.º 57
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(MpcAgent, description='RTU Control Cat', argv=argv)
Exemplo n.º 58
0
def main(argv=sys.argv):
    """Main method called by the eggsecutable."""
    utils.default_main(BaselineAgent, description="Baseline agent for VOLTTRON platform", argv=argv)