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":{"action1":"reverse"}
}
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
action1 状态反转 {"action1":"reverse"}
禁用 {"action1":"disable"}
led 与线路同步 {"led":"rl_s"}
与线路相反 {"led":"rl_r"}
与存在同步 {"led":"ss_s"}
与存在相反 {"led":"ss_r"}
长亮 {"led":"1"}
长灭 {"led":"0"}
闪烁 {"led":"blink"}
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"}
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"}
relay1 {"relay1":"1"}
{"relay1":"0"}
relay_change_0 打开 {"relay_change_0":"1"}
关闭 {"relay_change_0":"0"}
无动作 {"relay_change_0":"no"}
relay_change_1 打开 {"relay_change_1":"1"}
关闭 {"relay_change_1":"0"}
无动作 {"relay_change_1":"no"}