send_sub_device_command
Send a command to a specific sub-device behind a master device instead of the master itself, allowing control of individual endpoints via Nexalware's opaque relay.
Instructions
Send a command to one specific sub-device behind a master, instead of the master itself. Not validated against a catalog, Nexalware relays it opaquely, the master and sub-device interpret it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | Yes | Command name, whatever the sub-device declared it accepts. | |
| params | No | Arguments for this command, only if its command definition declares a paramsSchema. | |
| deviceId | Yes | The master device's public id. | |
| subDeviceId | Yes | The sub-device's public id, e.g. sub_x1y2z3. |