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":{"relay1":"1"}
}
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
relay1 {"relay1":"1"}
{"relay1":"0"}
pass_action 先断后通 {"pass_action":"reset"}
先通后断 {"pass_action":"point"}
{"pass_action":"1"}
{"pass_action":"0"}
无动作 {"pass_action":"dis"}
pass_time 1秒 {"pass_time":"1000"}
2秒 {"pass_time":"2000"}
3秒 {"pass_time":"3000"}
4秒 {"pass_time":"4000"}
5秒 {"pass_time":"5000"}
8秒 {"pass_time":"8000"}
10秒 {"pass_time":"10000"}
action1 先断后通 {"action1":"reset"}
先通后断 {"action1":"point"}
{"action1":"1"}
{"action1":"0"}
无动作 {"action1":"dis"}
time1 1秒 {"time1":"1000"}
2秒 {"time1":"2000"}
3秒 {"time1":"3000"}
4秒 {"time1":"4000"}
5秒 {"time1":"5000"}
sensitivity 1 {"sensitivity":"1"}
2 {"sensitivity":"2"}
3 {"sensitivity":"3"}
4 {"sensitivity":"4"}
5 {"sensitivity":"5"}
6 {"sensitivity":"6"}
7 {"sensitivity":"7"}
8 {"sensitivity":"8"}