> For the complete documentation index, see [llms.txt](https://docs.tricloudnexus.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tricloudnexus.io/edge/nexus-modules/data-connector-modules/scenecontrollermodule/direct-commands/calllightingcontroller.md).

# CallLightingController

Calling this method commands the lighting controller with a custom command.

Commands must be generated according to command formats defined in the documentation, that also lists the expected responses.

**NB! When calling a command, the checksum must be omitted, since it is calculated automatically and appended to the command**

![Commands](https://dev.azure.com/triclouddk/41425339-6cb1-4d0f-8e6c-5514158775a1/_apis/git/repositories/6b6b8a13-5559-495c-bccd-1fa3b670ab26/Items?path=/Documentation/Edge-Module-Documentation/modules/SceneControllerModule/DirectCommands/lightingcontrollercommands.png\&download=false\&resolveLfs=true&%24format=octetStream\&api-version=5.0-preview.1\&sanitize=true\&versionDescriptor.version=wikiMaster)

### **Method Name:**

CallLightingController

### **Payload:**

The direct command requires a command that will be sent to the lighting controller.

```
{
    "command": "@00M"
}
```

### **Return value**

The direct command returns an OperationResult that indicates either success or failure, and the response from the operation.

Responses that start with "@00O" are succeeded.\
Responses that start with "@00N" are failed.
