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

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

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

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

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