Check the device is network-connected and marked online on console prior to config delivery.
Start access
5.1 Device Configuration Delivery API
Interface address:
https://api.thingboot.com/{AppID}/device/config/?sign={sign}&ts={ts}
{AppID} is your application ID (generated by the platform)Please enter the console, in the development settings page to view.
{sign} and {ts} algorithm, please see the description in the previous section
{AppID} is your application ID (generated by the platform)Please enter the console, in the development settings page to view.
{sign} and {ts} algorithm, please see the description in the previous section
Request data:
This command delivers the configuration parameter under to with ID 820720
For more configuration parameters, please refer to section4.2 Supports parameter configurationbelow
{
"device":820720,
"config":{"btn":"volume"}
}
Request method: POST; Data format: JSONThis command delivers the configuration parameter under to with ID 820720
For more configuration parameters, please refer to section4.2 Supports parameter configurationbelow
5.2 Supports parameter configuration
5.2.1 Product config
| Config | Name | Content | Description |
|---|---|---|---|
| btn | 静音/恢复 | {"btn":"volume"} | |
| 禁用 | {"btn":"disable"} | ||
| lamp | 亮 | {"lamp":"1"} | |
| 灭 | {"lamp":"0"} | ||
| lamp_color | 红 | {"lamp_color":"[120,0,0]"} | |
| 绿 | {"lamp_color":"[0,120,0]"} | ||
| 蓝 | {"lamp_color":"[0,0,120]"} |