---
title: How To Create Automation?
slug: how-to-create-automation
description: Learn how to access and use the Xunison application with this comprehensive document. Discover step-by-step instructions for creating new automations, including selecting a home gateway, adding devices, configuring start and end times, and setting device 
docTags: 
createdAt: 2023-03-01T09:50:02.000Z
---

**Note:&#x20;**&#x54;o access the Xunison application, please log in using your registered credentials.

When you log in to your Xunison Application, you'll be taken straight to the home gateway page.

To continue, select the home gateway and proceed further.
&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/KZS2kSNB9nbOHl0Cfr4pZ/ksUJ23m1uSX6ZNFh08b5u_image.png" size="50" width="244" height="480" caption="Select the home gateway " position="center" showCaption="true"}

###

### Step 1: Home Screen&#x20;

Once you have selected the home gateway, the smart home devices list will become visible.

::Image[]{src="https://api.archbee.com/api/optimize/KZS2kSNB9nbOHl0Cfr4pZ/oIr-5NkTNJgw51SVOCu29_image.png" size="50" width="284" height="559" caption="Devices" position="center" showCaption="true"}

###

### Step 2: Automation&#x20;

Select the option labeled **"Automation"** from the bottom of your screen

Then, select the option **"Add New Automation".**

::Image[]{src="https://api.archbee.com/api/optimize/KZS2kSNB9nbOHl0Cfr4pZ/5BHGelS3m0aHmQ6KoN3bI_image.png" size="54" width="322" height="559" caption="New Automation " position="center" showCaption="true"}



### Step 3: Enter The Details

To create a new automation, please provide a name for the automation and include additional actions and working time as required.

::Image[]{src="https://api.archbee.com/api/optimize/KZS2kSNB9nbOHl0Cfr4pZ/ENcszwtiYIUBR72L1ytxu_image.png" size="50" width="244" height="480" position="center" showCaption="false"}



### Step 4: Add Devices For IF Condition&#x20;

&#x20;In the **"Add More Actions"&#x20;**&#x73;ection, include the device in the **IF&#x20;**&#x63;ondition and click on **"Add to Automation".**

<font color="#9900ef">***Note\:*** </font>

<font color="#9900ef">***In the IF section, you have the option to select a smart-home device that can be triggered by sense. This includes devices such as door/windows sensors, PIR sensors, water leakage sensors, smart temperature &amp; humidity detectors, smoke sensors, smart motion sensors, and more.***</font>

::Image[]{src="https://api.archbee.com/api/optimize/KZS2kSNB9nbOHl0Cfr4pZ/AKnzdS9x-1zZDFJyIT9Pf_image.png" size="56" width="322" height="559" caption="IF condition " position="center" showCaption="true"}



### Step 5: Select Working Time

Click on the checkbox to enable it. Once you have selected the **working time**, you can set the start and the end time accordingly.

<font color="#9900ef">***Note\:*** </font>

<font color="#9900ef">*Setting the time is not mandatory. However, it is recommended to adjust the working time according to the end-users time zone.* </font>

<font color="#9900ef">*The automation will run based on the working time set by the user.* </font>

<font color="#9900ef">*To configure your time zone, please click on the button below.*</font>

:::CtaButton{label="How To Setup Default Time Zone?" externalHref="https://app.archbee.com/doc/KIFZdeyUCZiJOAzTikeQp/WGq-VNUVzszMixhtovX8T" openInNewTab="true"}

:::

::Image[]{src="https://api.archbee.com/api/optimize/KZS2kSNB9nbOHl0Cfr4pZ/3gecCMQniDdBbS2sYQ3ez_2.png" size="50" width="310" height="645" caption="Working time" position="center" showCaption="true"}

###

### Step 6: Time Duration - Set The Start Time

Tap on the **"Start Time"&#x20;**&#x6F;ption and configure the desired time for the automation to begin.

******<font color="#9900ef">***(Note\: Setting the time is optional)***</font>

::Image[]{src="https://api.archbee.com/api/optimize/KZS2kSNB9nbOHl0Cfr4pZ/rYaZ94gOtkpWl4cDs-Dua_3.png" size="50" width="310" height="645" position="center" showCaption="false"}

###

### Step 7: Time Duration - Set The End Time

Tap on the **"End Time"** option and configure the desired time for the automation to conclude.

::Image[]{src="https://api.archbee.com/api/optimize/KZS2kSNB9nbOHl0Cfr4pZ/JAj9_TyWwCvpL24jNsezH_4.png" size="50" width="310" height="645" caption="End Time" position="center" showCaption="true"}



### Step 8: Add More Actions

In th&#x65;**&#x20;"Add More Actions"&#x20;**&#x73;ection, you can include the device in the **THEN&#x20;**&#x63;ondition.

****<font color="#9900ef">***(Note\: In the THEN condition, you can select smart-home devices that will be triggered after the device specified in the IF condition.*** </font>

<font color="#9900ef">***The devices chosen in the THEN condition are connected to the devices chosen in the IF condition. Examples include sirens, smart meter switches, RGB bulbs, etc.)***</font>

::Image[]{src="https://api.archbee.com/api/optimize/KZS2kSNB9nbOHl0Cfr4pZ/aj6rFTPIm17DWV3WRvQX5_5.png" size="50" width="310" height="645" caption="Add More Actions" position="center" showCaption="true"}



Within the **Device Actions** feature, you have the ability to incorporate delayed actions for your devices, after which you can proceed to choose the option **"Add to Automation."**

::Image[]{src="https://api.archbee.com/api/optimize/KZS2kSNB9nbOHl0Cfr4pZ/dYB9Yrdcr-4J8dqsDoMCx_6.png" size="54" width="310" height="645" position="center" showCaption="false"}



### Step 9: Set Device Status

Adjust the device's status and select the option **"Save Automation."**

::Image[]{src="https://api.archbee.com/api/optimize/KZS2kSNB9nbOHl0Cfr4pZ/agjafgXYO_vf0DKDvkzKp_7.png" size="50" width="310" height="645" caption="Set Device Status" position="center" showCaption="true"}



### Step 10: Automation Created

The automation has been added successfully.

::Image[]{src="https://api.archbee.com/api/optimize/KZS2kSNB9nbOHl0Cfr4pZ/z5m9-0DPUKa0AlIzca0ff_8.png" size="50" width="310" height="645" caption="Automation Created" position="center" showCaption="true"}

