Skip to main content

Command Receiver

The Command Receiver component configures the agent to establish and maintain a connection to the Robot Automation Platform, or to a local LAN connection, for receiving command messages. It must be enabled to perform remote command execution with the agent.

Configuration

To use the Command Receiver plugin, your agent will need a section in its agent-settings.json file which enables the command-receiver component, as shown below. For more information on how to configure the agent plugins, see Agent Configuration.

...
"components": [
...
{
"enabled": false, // set this to true to enable this component
"id": "command-receiver", // the unique identifier for this component - don't change this
"settings": {
"address": "api2.rocos.io:443", // the address of the platform from which to receive command messages
"logLevel": 4 // the log level for this component. Choose a range between 1 (least verbose) to 6 (most verbose)
}
},
...
]