Check the device is network-connected and marked online on console prior to config delivery.

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
Request data:
{
	"device":820720,
	"config":{"btn":"volume"}
}
Request method: POST; Data format: JSON
This 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"}
led 长亮 {"led":"open"}
长灭 {"led":"close"}
长亮|静音时灭 {"led":"volume"}
长灭|播放时亮 {"led":"play"}
boot_message 提示音1 {"boot_message":"1"}
提示音2 {"boot_message":"2"}
提示音3 {"boot_message":"3"}
提示音4 {"boot_message":"4"}
提示音5 {"boot_message":"5"}
online_message {"online_message":"0"}
提示音1 {"online_message":"1"}
提示音2 {"online_message":"2"}
提示音3 {"online_message":"3"}
提示音4 {"online_message":"4"}
提示音5 {"online_message":"5"}
oper_message 关闭 {"oper_message":"0"}
提示音1 {"oper_message":"1"}
提示音2 {"oper_message":"2"}
提示音3 {"oper_message":"3"}
提示音4 {"oper_message":"4"}
提示音5 {"oper_message":"5"}
infrared 打开 {"infrared":"1"}
关闭 {"infrared":"0"}
infrared_change_1 马上 {"infrared_change_1":"0"}
1s {"infrared_change_1":"1"}
2s {"infrared_change_1":"2"}
3s {"infrared_change_1":"3"}
5s {"infrared_change_1":"5"}
infrared_change_0 马上 {"infrared_change_0":"0"}
5s {"infrared_change_0":"5"}
10s {"infrared_change_0":"10"}
20s {"infrared_change_0":"20"}
30s {"infrared_change_0":"30"}
1m {"infrared_change_0":"60"}
2m {"infrared_change_0":"120"}
3m {"infrared_change_0":"180"}
5m {"infrared_change_0":"300"}
10m {"infrared_change_0":"600"}
infrared_queue_len 1 {"infrared_queue_len":"1"}
2 {"infrared_queue_len":"2"}
3 {"infrared_queue_len":"3"}