-
Notifications
You must be signed in to change notification settings - Fork 218
ExampleControllerAgent
jhaack edited this page Jun 13, 2014
·
2 revisions
Note, this agent is out of date and will not work with the current actuator/scheduler. Please see [ActuatorAgent documentation] (ActuatorAgent "wikilink").
This agent listens for outdoor temperature readings then changes the cool fan speed. It demonstrates pub/sub interaction with the RTU Controller.
Requirements
for running this agent (or any agent wishing to interact with the RTU:
-
- Edit the driver.ini file to reflect the sMAP key, uuid, and other settings for your installation
- Activate the project Python from the project dir: . bin/activate
- Launch the smap driver by starting (from the project directory): twistd -n smap your_driver.ini
- Launch the ActuatorAgent just as you would launch any other agent
With these requirements met, the
-
- Subscribe to the outside air temperature topic.
- If the new reading is higher than the old reading then
- Request the actuator lock for the rtu
- If it receives a lock request success it randomly sets the coolsupply fan to a new reading.
- If it does not get the lock, it will try again the next time the temperature rises.
- If the set result is a success, it releases the lock.
- 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