💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
**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.***   ![](http://upload-images.jianshu.io/upload_images/5875248-e50f1ca1a048d541.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)   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.     ![](http://upload-images.jianshu.io/upload_images/5875248-d26af834d5ce1cfa.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) 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.   ![](http://upload-images.jianshu.io/upload_images/5875248-1487705c19921dda.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) 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.