-
Notifications
You must be signed in to change notification settings - Fork 218
ExampleSetup
Jereme Haack edited this page Apr 6, 2014
·
3 revisions
- Modify the driver.ini file
- Add your SMAP Key to the url
- Name your collection source
- Give your collection a uuid
- Enter your collection paths and metadata
- If you are deploying the WeatherAgent update settings.py with your Weather Underground key
- By default the Catalyst registers are setup to work with a 372 with the latest changes from TWT, if you have an older unit use the catalystreg.csv.371 file
Start the smap driver
. bin/activate
twistd -n smap driver.ini
With the platform already running:
- Build agent eggs
- Make egg executable
- Install egg into bin (must not already exist there)
- Load agent config file
- Enable agent for autostart
volttron/scripts/build-agent.sh ArchiverAgent
chmod +x Agents/archiveragent-0.1-py2.7.egg
bin/volttron-ctrl install-executable Agents/archiveragent-0.1-py2.7.egg
bin/volttron-ctrl load-agent Agents/ArchiverAgent/archiver-deploy.service
bin/volttron-ctrl enable-agent archiver-deploy.service
bin/volttron-ctrl list-agents
AGENT AUTOSTART STATUS
archiver-deploy.service enabled
volttron/scripts/build-agent.sh ActuatorAgent
chmod +x Agents/actuatoragent-0.1-py2.7.egg
bin/volttron-ctrl install-executable Agents/actuatoragent-0.1-py2.7.egg
bin/volttron-ctrl load-agent Agents/ActuatorAgent/actuator-deploy.service
bin/volttron-ctrl enable-agent actuator-deploy.service
Do the same things for WeatherAgent if you plan to deploy it.
Control Application Example Install one executable but multiple launch configuration files. Each instance of this agent will work with a different RTU.
volttron/scripts/build-agent.sh SMDSAgent
chmod +x Agents/SMDSagent-0.1-py2.7.egg
bin/volttron-ctrl install-executable Agents/SMDSagent-0.1-py2.7.egg
bin/volttron-ctrl load-agent Agents/SMDSAgent/smds-lbnl1.agent
bin/volttron-ctrl load-agent Agents/SMDSAgent/smds-lbnl2.agent
bin/volttron-ctrl load-agent Agents/SMDSAgent/smds-lbnl3.agent
bin/volttron-ctrl load-agent Agents/SMDSAgent/smds-lbnl4.agent
bin/volttron-ctrl load-agent Agents/SMDSAgent/smds-lbnl5.agent
bin/volttron-ctrl load-agent Agents/SMDSAgent/smds-lbnl6.agent
bin/volttron-ctrl load-agent Agents/SMDSAgent/smds-lbnl7.agent
bin/volttron-ctrl load-agent Agents/SMDSAgent/smds-twt1.agent
bin/volttron-ctrl load-agent Agents/SMDSAgent/smds-twt2.agent
bin/volttron-ctrl load-agent Agents/SMDSAgent/smds-twt3.agent
bin/volttron-ctrl load-agent Agents/SMDSAgent/smds-twt4.agent
bin/volttron-ctrl enable-agent smds-lbnl1.agent
bin/volttron-ctrl enable-agent smds-lbnl2.agent
bin/volttron-ctrl enable-agent smds-lbnl3.agent
bin/volttron-ctrl enable-agent smds-lbnl4.agent
bin/volttron-ctrl enable-agent smds-lbnl5.agent
bin/volttron-ctrl enable-agent smds-lbnl6.agent
bin/volttron-ctrl enable-agent smds-lbnl7.agent
bin/volttron-ctrl enable-agent smds-twt1.agent
bin/volttron-ctrl enable-agent smds-twt2.agent
bin/volttron-ctrl enable-agent smds-twt3.agent
bin/volttron-ctrl enable-agent smds-twt4.agent
Restart platform and agents you have enable for autostart should start up.
- Platform Agent
- VOLTTRON Central Agent
- Platform Commands
- Platform Configuration
- [Platform Hardening Security Recommendations] (Linux-Platform-Hardening-Recommendations-for-VOLTTRON-users)
- ...
- [Building VOLTTRON] (Building-VOLTTRON)
- Example Agents
- Agent Development
- [Shortcut Scripts] (Scripts)
- [VOLTTRON Conventions] (Conventions)
- [sMAP Test Server] (sMAP-Test-Instance)
- [Design Discussions] (Design Discussions)
- VIP
- VIP - VOLTTRON Interconnect Protocol
- RPC by example
- VIP - Known Identities
- VIP - Authentication
- VIP - Authorization
- Protecting Pub/Sub Topics
- Setup Eclipse for VOLTTRON
- Deployment Walkthrough
- Forward Historian Walkthrough
- [Create New Historian Agent] (Developing-Historian-Agents)
- [Create New Driver Agent] (Develop-Driver-Agent)
- [Developing With Eclipse] (Eclipse)
- Migrations
- [2.x to 3.x Migration](2.x-to 3.x-Migration)
- 1.2 to 2.0 Migration
- [Deployment Recommendations](Recommendations for Deployments)
VOLTTRON Versions and Features
Transactional Network Platform Overview
- Established Topics
- Working with the Actuator Agent
- Logging
- [Multi-Node Communication] (MultiBuildingMessaging)
Information Exchange Standards