Add Remote Control

Last Updated on : 2023-06-20 14:54:07download

Add a remote control under a specified device.

API address

POST: /v2.0/infrareds/{infrared_id}/remotes

Request parameter

Parameter name Type IN Required Description
infrared_id String uri true The device ID.

Description of body

Parameter name Type IN Required Description
category_id Integer false The ID of a specified category.
remote_name String false The name of a specified remote control.
brand_id Integer false The ID of a specified brand.
brand_name String false The name of a specified brand.
remote_index Integer false The ID of a specified remote control index.

Return parameter

Parameter name Type Description
result String The ID of a specified remote control.

Request example

POST: /v2.0/infrareds/vdevo15345926009****/remotes

Return example

{ "result": "d5s65ca55", "t": 1630911741747, "success": true }

Error code

For more information, see error code.