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":{"btn1":"0"}
}
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 |
|---|---|---|---|
| btn1 | 全断 | {"btn1":"0"} | |
| 全通 | {"btn1":"1"} | ||
| 禁用 | {"btn1":"disable"} | ||
| relay | 通 | {"relay":"1"} | |
| 断 | {"relay":"0"} | ||
| relay9 | 通 | {"relay9":"1"} | |
| 断 | {"relay9":"0"} | ||
| relay10 | 通 | {"relay10":"1"} | |
| 断 | {"relay10":"0"} | ||
| relay11 | 通 | {"relay11":"1"} | |
| 断 | {"relay11":"0"} | ||
| relay12 | 通 | {"relay12":"1"} | |
| 断 | {"relay12":"0"} | ||
| relay13 | 通 | {"relay13":"1"} | |
| 断 | {"relay13":"0"} | ||
| relay14 | 通 | {"relay14":"1"} | |
| 断 | {"relay14":"0"} | ||
| relay15 | 通 | {"relay15":"1"} | |
| 断 | {"relay15":"0"} | ||
| relay16 | 通 | {"relay16":"1"} | |
| 断 | {"relay16":"0"} | ||
| offline | 通 | {"offline":"1"} | |
| 断 | {"offline":"0"} | ||
| 不理会 | {"offline":"n"} | ||
| gap | 无保护 | {"gap":"0"} | |
| 间隔1秒 | {"gap":"1"} | ||
| 间隔2秒 | {"gap":"2"} | ||
| 间隔3秒 | {"gap":"3"} |