ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
**Control Scheme** The Devicebit platform also provides settings for custom commands and timed control scheme to realize various timed custom control. The following part mainly introduces this function. Step 1 Command Settings. Go to ***IOT Applications->Command Settings***, and right click on ***Add A Command.*** ![](https://leweidoc.oss-cn-hangzhou.aliyuncs.com/lewei50/img/devicebitmanual-xj-20180930-50.jpg) Pic1. Add A Command Title: The name of this command; Device: select the controllable device; Method Name: select Updatesensor, or customize the method by yourself; Parameter: When this command is called, the transfer functions of this device's API address is called. Please note the format is “f=method name, p1=parameter1,p2=parameter2…” The method names and parameters are related to the program. Add other control commands in the same way, such as Open LED and Close LED. Click on Test, and if the hardware and program are ready, you will see a corresponding change in the controller. You will receive the successful message and the information returned by the controller. Step 2 Control Unit Settings. ***IOT Applications -> Multi-control***. The control unit means a set of timed control command, e.g. a combination of control commands. ![](https://leweidoc.oss-cn-hangzhou.aliyuncs.com/lewei50/img/devicebitmanual-xj-20180930-51.jpg) Pic.2 Add A Control Unit Name: the name of this control unit; Command: select one or a set of several commands customized in step1; Description: the description of the control unit. After setting up, click on Multi-Control – Test for testing. Step 3, Control Scheme. Click on ***IOT Applications ->Control Scheme-> Add A Execution Plan*** to set up the control scheme. ![](https://leweidoc.oss-cn-hangzhou.aliyuncs.com/lewei50/img/devicebitmanual-xj-20180930-52.jpg) Pic.3 Add A Execution Plan Control Unit: select the control unit customized in step2; Name: the name of the control scheme; Timer Settings: the time to execute the control unit; just tick the time you need; Enable: tick means On; untick means Off. After setting up, click on ***Execute Immediately*** for testing. The above are settings for timed custom control plan. You can realize various interesting timed control with different hardware and ideas, for example Auto-open your curtains at 7:00 am before you get up. [50]: https://leweidoc.oss-cn-hangzhou.aliyuncs.com/lewei50/img/devicebitmanual-xj-20180930-50.jpg [51]: https://leweidoc.oss-cn-hangzhou.aliyuncs.com/lewei50/img/devicebitmanual-xj-20180930-51.jpg [52]: https://leweidoc.oss-cn-hangzhou.aliyuncs.com/lewei50/img/devicebitmanual-xj-20180930-52.jpg [55]: https://leweidoc.oss-cn-hangzhou.aliyuncs.com/lewei50/img/devicebitmanual-xj-20180930-55.jpg [56]: https://leweidoc.oss-cn-hangzhou.aliyuncs.com/lewei50/img/devicebitmanual-xj-20180930-56.jpg [57]: https://leweidoc.oss-cn-hangzhou.aliyuncs.com/lewei50/img/devicebitmanual-xj-20180930-57.jpg [58]: https://leweidoc.oss-cn-hangzhou.aliyuncs.com/lewei50/img/devicebitmanual-xj-20180930-58.jpg [59]: https://leweidoc.oss-cn-hangzhou.aliyuncs.com/lewei50/img/devicebitmanual-xj-20180930-59.jpg [60]: https://leweidoc.oss-cn-hangzhou.aliyuncs.com/lewei50/img/devicebitmanual-xj-20180930-60.jpg [53]: https://leweidoc.oss-cn-hangzhou.aliyuncs.com/lewei50/img/devicebitmanual-xj-20180930-53.jpg [54]: https://leweidoc.oss-cn-hangzhou.aliyuncs.com/lewei50/img/devicebitmanual-xj-20180930-54.jpg