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":{"action1":"reverse"}
}
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 |
|---|---|---|---|
| action1 | 传感器 | {"action1":"reverse"} | |
| 禁用 | {"action1":"disable"} | ||
| led | 长亮 | {"led":"1"} | |
| 长灭 | {"led":"0"} | ||
| 闪烁 | {"led":"blink"} | ||
| sht | 打开 | {"sht":"1"} | |
| 关闭 | {"sht":"0"} | ||
| correction | 0.7 | {"correction":"0.7"} | |
| 0.75 | {"correction":"0.75"} | ||
| 0.8 | {"correction":"0.8"} | ||
| 0.85 | {"correction":"0.85"} | ||
| 0.9 | {"correction":"0.9"} | ||
| 0.91 | {"correction":"0.91"} | ||
| 0.92 | {"correction":"0.92"} | ||
| 0.93 | {"correction":"0.93"} | ||
| 0.94 | {"correction":"0.94"} | ||
| 0.95 | {"correction":"0.95"} | ||
| 0.96 | {"correction":"0.96"} | ||
| 0.97 | {"correction":"0.97"} | ||
| 0.98 | {"correction":"0.98"} | ||
| 0.99 | {"correction":"0.99"} | ||
| 1 | {"correction":"1"} | ||
| 1.01 | {"correction":"1.01"} | ||
| 1.02 | {"correction":"1.02"} | ||
| sensitivity | 0.1 | {"sensitivity":"0.1"} | |
| 0.2 | {"sensitivity":"0.2"} | ||
| 0.3 | {"sensitivity":"0.3"} | ||
| 0.4 | {"sensitivity":"0.4"} | ||
| 0.5 | {"sensitivity":"0.5"} |