---
url: https://www.1home.io/docs/en/server/automations/get-started.md
description: Learn everything you need to start automating your smart home.
---

# Get started with Automations

Learn everything that you need to know in order to get started with Automations.

**Table of contents**
\[\[toc]]

***

::: tip 🎬 Video tutorial

## 1. Locate your automations

To access your automations, navigate in the left side bar of your 1Home Server dashboard to `Automations` tab.
Here you will see a list of all of your automations.

You will also be able to see the run history of your automations. Learn more about [Run History](./run-history.md).

![Automations list](/assets/img/automations/automations-list.png)

## 2. Create automation

To start creating your first automation, click `+ Add` button and provide automation name and description (optional).

![New automation](/assets/img/automations/new-automation.png)

## 3. Edit automation

After you click `Save`, you will be able to start creating your automation.

To start with you will be presented with an automation that only includes one un-configured trigger.

![Empty automation](/assets/img/automations/empty-automation.png)

There are many **automation blocks** that you can use to build your automation.
We suggest that you learn more about each of them here:

* [When](./blocks/when.md) - They start the automations
* [Actions](./blocks/actions.md) - Perform actions in your system
* [Conditions](./blocks/conditions.md) - Perform checks and validate conditions
* [Wait](./blocks/wait.md) - Wait within the automation
* [Adding and linking automation blocks](./blocks/linking-blocks.md) - Adding and connecting blocks with each other

Anywhere in the system you can also use [Dynamic Data](./blocks/dynamic-data.md), which enables you to do simple math, access states of your devices, system time and values from previous blocks.

### Sample automation: Night light

In the image below we have created an automation that reacts to the changes of the Bathroom occupancy sensor and turns on the light to a different percentage during the day or night. In case the sensor stops detecting movement, the light is turned off.

**We suggest that you watch the video at the start of this guide to see a step by step tutorial on how to create an automation.**

![Night light](/assets/img/automations/night-light.png)

> Want to try it out? Download this automation from the [Automation templates](./examples/automation-templates.md).

::: tip Reusing automation
You can easily reuse this automation in other rooms in just a couple of clicks by simply `Duplicating` it and using a `Quick device replace` function. [Learn how to do that](./reusing-automations.md).
:::

## 4. Enable automation

After you are satisfied with your automation you can enabled it in the top right corner.

![Enable automation](/assets/img/automations/enable-automation.png)

Voila! Now the automation is running.

## 5. View run history

You can see the history of automation runs in the [Run History](./run-history.md) tab as shown in the image below.

This way you always know what is going on in your system and when.

![Run history](/assets/img/automations/run-history.png)

## 6. Backup your system

It is always good to have a backup of your configuration.

With 1Home Server, this is very simple. See how to [back up your 1Home Server configuration](../backup.md).

## Next steps

Now that you know the basics you can learn how to get the most out of Automations by digging into different guides below.

* Automation blocks
  * [When](./blocks/when.md) - Trigger automations
  * [Actions](./blocks/actions.md) - Perform actions in your system
  * [Conditions](./blocks/conditions.md) - Perform checks and validate conditions
  * [Wait](./blocks/wait.md) - Wait within the automation
  * [Using dynamic data](./blocks/dynamic-data.md) - Access any device in the system, do maths and more
  * [Adding and linking blocks](./blocks/linking-blocks.md) - Connect blocks with each other
* [Test automation](./test-automation.md) - Test run an automation.
* [Run history](./run-history.md) - Always know what is going on in your system, which automations are running and if they have ran successfully
* [Reuse automations](./reusing-automations.md) - Reuse automations within the same project or within different projects
* [Backups](./backups.md) - Backup all of your automations
* [Working with KNX](./working-with-knx.md) - How to interact directly with your KNX system
* Examples
  * [Automation templates](./examples/automation-templates.md) - Use templates provided by 1Home
