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":{"relay1":"1"}
}
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 |
|---|---|---|---|
| relay1 | 通 | {"relay1":"1"} | |
| 断 | {"relay1":"0"} | ||
| action1 | 状态反转 | {"action1":"reverse"} | |
| 先断后通 | {"action1":"reset"} | ||
| 先通后断 | {"action1":"point"} | ||
| 禁用 | {"action1":"disable"} | ||
| time1 | 1秒 | {"time1":"1000"} | |
| 2秒 | {"time1":"2000"} | ||
| 3秒 | {"time1":"3000"} | ||
| 4秒 | {"time1":"4000"} | ||
| 5秒 | {"time1":"5000"} | ||
| metering_interval | 5秒 | {"metering_interval":"5"} | |
| 10秒 | {"metering_interval":"10"} | ||
| 20秒 | {"metering_interval":"20"} | ||
| 30秒 | {"metering_interval":"30"} | ||
| 60秒 | {"metering_interval":"60"} | ||
| metering_boot | 开机后马上开始 | {"metering_boot":"1"} | |
| 通过命令开始 | {"metering_boot":"0"} | ||
| high_power_time | 不触发 | {"high_power_time":"0"} | |
| 1秒 | {"high_power_time":"1"} | ||
| 2秒 | {"high_power_time":"2"} | ||
| 3秒 | {"high_power_time":"3"} | ||
| high_power_value | 3kW | {"high_power_value":"3000"} | |
| 2.5kW | {"high_power_value":"2500"} | ||
| 2kW | {"high_power_value":"2000"} | ||
| 1.5kW | {"high_power_value":"1500"} | ||
| 1kW | {"high_power_value":"1000"} | ||
| high_power_action | 无 | {"high_power_action":"none"} | |
| 断开 | {"high_power_action":"0"} | ||
| low_power_time | 不触发 | {"low_power_time":"0"} | |
| 1秒 | {"low_power_time":"1"} | ||
| 10秒 | {"low_power_time":"10"} | ||
| 30秒 | {"low_power_time":"30"} | ||
| 1m | {"low_power_time":"60"} | ||
| 2m | {"low_power_time":"120"} | ||
| 3m | {"low_power_time":"180"} | ||
| 5m | {"low_power_time":"300"} | ||
| low_power_value | 1w | {"low_power_value":"1"} | |
| 2w | {"low_power_value":"2"} | ||
| 3w | {"low_power_value":"3"} | ||
| 4w | {"low_power_value":"4"} | ||
| 5w | {"low_power_value":"5"} | ||
| 10w | {"low_power_value":"10"} | ||
| 15w | {"low_power_value":"15"} | ||
| 20w | {"low_power_value":"20"} | ||
| low_power_action | 无 | {"low_power_action":"none"} | |
| 断开 | {"low_power_action":"0"} |