Skip to main content

Discover Controllers

This command discovers available controllers in the agent and publishes it to the cloud. Some protocols don't support controller discovery. Instead they can be added by add controller command.

Command#

{  "agent": "agent-name",  "command": 151,  "msgid": 1000,  "type": 1}

Agent Response#

{  "agent": "agent-name",  "data": [    {      "controller": { "name": "controller-name-1" },      "controllerType": 0    },    {      "controller": { "name": "controller-name-2" },      "controllerType": 0    }  ],  "publishType": 7}