Beispiel #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)
Beispiel #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)
def main(argv=sys.argv):
    '''
    Main method called by the eggsecutable.
    '''
    utils.default_main(DrivenAgent,
                       description='Example VOLTTRON platform™ driven agent',
                       argv=argv)
Beispiel #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)
Beispiel #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)
Beispiel #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')
Beispiel #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')
Beispiel #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')
Beispiel #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')
Beispiel #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')
Beispiel #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')
Beispiel #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')
Beispiel #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')
Beispiel #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')
Beispiel #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')
Beispiel #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')
Beispiel #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')
Beispiel #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')
Beispiel #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')
Beispiel #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')
Beispiel #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)
Beispiel #22
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(scheduleragent,
                       description='Lighting Scheduler Agent',
                       argv=argv)
Beispiel #23
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(RTUAgent,
                       description='VAV agent',
                       argv=argv)
Beispiel #24
0
def main(argv=sys.argv):
    '''Main method called by the platform.'''

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

    utils.default_main(MobileExampleAgent,
                       description='Mobile Example Agent',
                       argv=argv)
Beispiel #28
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(OpenADRAgent,
                       description='OpenADR Event agent',
                       argv=argv)
Beispiel #29
0
def main(argv=sys.argv):
    # Main method called by the platform.
    utils.default_main(BlinkingLEDAgent,
                       description='Blinking LED Agent',
                       argv=argv)
Beispiel #30
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(WeatherAgent,
                       description='Weather Underground agent',
                       argv=argv)
Beispiel #31
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(TestDRAgent, description='Test DR agent', argv=argv)
Beispiel #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)
Beispiel #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')
def main(argv=sys.argv):
    """Main method called by the platform"""
    utils.default_main(BatteryEntity,
                       description='Battery Entity',
                       argv=argv)
Beispiel #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)
Beispiel #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)
Beispiel #37
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(ApprovalHelperAgent,
                       description='Approval Helper agent',
                       argv=argv)
Beispiel #38
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(DemandResponseAgent,
                       description='VOLTTRON platform DR agent',
                       argv=argv)
Beispiel #39
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(AFDDAgent,
                       description='VOLTTRON platform™ AFDD agent',
                       argv=argv)
Beispiel #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')
Beispiel #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)
Beispiel #42
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(LightingAgent, description='Lighting agent', argv=argv)
Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #47
0
def main(argv=sys.argv):
    """Main method called by the platform."""

    utils.default_main(MobileExampleAgent, description="Mobile Example Agent", argv=argv)
Beispiel #48
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(DeviceDiscoveryAgent,
                       description='Device Discovery agent',
                       argv=argv)
Beispiel #49
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(passiveafdd,
                       description='VOLTTRON passive AFDD',
                       argv=argv)
Beispiel #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)
Beispiel #51
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(DataPub,
                       description='Data publisher',
                       argv=argv)
Beispiel #52
0
def main(argv=sys.argv):
    """Main method called by the eggsecutable."""

    utils.default_main(SMDSAgent, description="SDMS Agent", argv=argv)
Beispiel #53
0
def main(argv=sys.argv):
    # Main method called by the platform.
    utils.default_main(HPWHRecordAgent,
                       description='HPWH Record Agent',
                       argv=argv)
Beispiel #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)
Beispiel #55
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(scheduleragent,
                       description='Plugload Scheduler Agent',
                       argv=argv)
Beispiel #56
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(OpenADRAgent,
                       description='OpenADR Event agent',
                       argv=argv)
Beispiel #57
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    utils.default_main(MpcAgent, description='RTU Control Cat', argv=argv)
Beispiel #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)