Skip to content
Jereme Haack edited this page Sep 12, 2014 · 1 revision

ActuatorAgent Configuration

url:: Url which will be used to communicate with the sMap drivers running in twistd. schedule_publish_interval:: Interval between  published schedule announcements in seconds. Defaults to 30. heartbeat_interval:: Interval between  heartbeats sent to a device in seconds. Defaults to 30. preempt_grace_time:: Minimum time given to Tasks which have been preempted to clean up in seconds. Defaults to 60. schedule_state_file:: File used to save and restore Task states if the ActuatorAgent restarts for any reason. File will be created if it does not exist when it is needed. points:: Devices and points which are specified as  heartbeat points.

Sample configuration file

{
    "agent": {
        "exec": "actuatoragent-0.1-py2.7.egg --config \"%c\" --sub \"%s\" --pub \"%p\""
    },
    "url": "http://localhost:8080/data",
    "schedule_publish_interval": 30,
    "heartbeat_interval": 30,
    "preempt_grace_time": 60,
    "schedule_state_file": "actuator_state.pickle",
    "points":
    {
        "lbnl/building46/fakecatalyst":
        {
            "heartbeat_point":"PlatformHeartBeat"
        }
    }
}
Clone this wiki locally