--- title: "Trigger Scenes via API Control" slug: "trigger-scene-via-api-control" updated: 2026-10-22T02:32:49Z published: 2026-10-22T02:32:49Z canonical: "knowledge.akuvox.com/trigger-scene-via-api-control" --- > ## Documentation Index > Fetch the complete documentation index at: https://knowledge.akuvox.com/llms.txt > Use this file to discover all available pages before exploring further. # Trigger Scenes via API Control API Control allows a third-party system or device to trigger scenes on the akubela home center through HTTP or TCP requests. For example, a door phone can send an API request when a door is opened, triggering scene actions such as turning on lights, playing music, or controlling curtains. ## Before Getting Started Before configuring API Control, make sure that: 1. The home center is one of the supported models and is running the required firmware versions. | **Supported Device** | **Required Firmware Version** | | --- | --- | | HyPanel Supreme (PHX1) | 1001.1.39.24 and later | | HyPanel Ultra (PH81) | 281.1.39.22 and later | | HyPanel Pro (PG71) | 71.1.39.37 and later | | HyPanel KeyPlus (KS53) | 53.1.39.7 and later | | HyPanel Plus (PS52) | 52.1.39.7 and later | | HyPanel V2.0 (PS51) | 251.1.39.4 and later | | HyPanel V1.0 (PS51) | 51.1.39.15 and later | | HyPanel Elite 10 (PH59) | 159.1.39.137 and later | | SmartPanel Elite 10 (PH58) | 119.1.39.10 and later | | SmartPanel (X933H) | 933.1.39.10 and later | 1. The third-party system or device support sending TCP or HTTP commands. ## Create a Scene 1. Open a web browser and enter the Home Center's IP address to log in to the device web portal. The default username and password are both admin. 2. Go to **Scene>** ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/trigger-scene-via-api-control-image-mfnob0rg.png) **>** **Add Scene.** 3. Configure the scene’s name, type and location. 4. Under **Then,** configure the actions to be performed when the scene is triggered. 5. Click **Save**. # ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/trigger-scene-via-api-control-image-1wzulp7j.png) ## Enable API Control 1. Go to **Setting > API Control**. ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/trigger-scene-via-api-control-image-sz6zwe01.png) 1. Enable **API Control**, then click **Submit**. ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/trigger-scene-via-api-control-image-hmd4lfek.png) ## Choose an API Control Mode ### Client Mode In Client Mode, the home center and the third-party system communicate over the HTTP protocol. In this example, a door phone triggers a scene when its relay is activated. #### 1. Select Client Mode 1. On the API Control page, select **Client mode**. 2. Click **Submit**. ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/trigger-scene-via-api-control-image-gmc3ebd5.png) #### 2. Obtain the Scene ID 1. **Click View Scene ID** on the API Control page, or go to **Scene > Scene Management**. ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/trigger-scene-via-api-control-image-hc4ayux0.png) 1. Find the scene you created and note its Scene ID. ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/trigger-scene-via-api-control-image-duhq2fk0.png) #### 3. Configure the Third-Party System 1. Log in to the third-party device’s web portal. 2. Configure an HTTP request using the following format: *http://[Home Center* *IP]:8090/api/scene_control?scene_id=[Scene* *ID]* - [Home Center IP]: The IP address of the home center. - [Scene ID]: The ID of the scene to be triggered. ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/trigger-scene-via-api-control-image-11qbih32.png) #### 4. Test the Request Send the HTTP request from the third-party system. The scene should then execute the configured actions. ### Server mode In Server Mode, the home center and the third-party system communicate over the TCP protocol. If you need to use the TCP commands, contact akubela technical team for support. ## Set up Whitelist (Optional) The whitelist allows API access only from specified remote devices or systems. 1. Go to **Setting > API Control > Whitelist** 2. Enter the IP addresses of the devices or systems that are allowed to access the API. 3. Click **Submit.** ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/trigger-scene-via-api-control-image-suid3ci6.png) > [!NOTE] > **NOTE:** > > The whitelist restricts access from remote devices only. Requests initiated by the local device are not restricted.