Automations Examples
- Home
- Automations Examples
Here we are trying to bring som examples of different Automations
Ways to automate a Shelly
Shelly offers several powerful ways to automate your smart devices.
In some of the following examples, we combine multiple methods to create more advanced behavior.
- Scenes: Scenes allow for semi-advanced automation using logic such as AND / OR / THEN conditions.
(Scenes are created in the Shelly app and require internet/cloud access to function) - Actions: There are two types of actions:
1: Fully local actions — executed directly on the device.
2: IP-based actions — used for simple communication between devices over your local network.
(Actions can be made both from the app and from the build in webinterface)
Note:
Since we communicate with the devices locally via their IP addresses, it’s important to assign them static IPs.
Otherwise, in the event of a power outage or reboot, they may be assigned a new IP address by the router, and will no longer receive commands correctly. - Schedules: Schedules work locally on the device and allow automation based on specific times or sunrise/sunset. (NB Internet is needed)
- Auto on/off: This feature allows a device to automatically turn on or off a set time after being switched on or off.
- Scripts:
Scripting is a powerful tool for creating highly customized automations using JavaScript.
Scripts are not used in the examples below, but offer great flexibility for advanced users.
Notes:
In these examples Actions are made from the App, but can also be made from the web interface
If Scenes are totally new for you have a look here: Creating a Scene
Scenario: When light is turned on it automatically turns off after 3 minutes.
Pre-configuration: None.
Procedure:
- Click on the
device. - Click on clock-icon.
- Mark Auto off.
- Set time to 180 seconds.
- Click save.

Note: this can also be set as “Timer” in Scenes or “Flip value” in Actions, when creating those automations
Scenario: When light at frontdoor is turned on/off then light on the garage does the same.
Pre-configuration: None.
Number of Scenes: 2 (One for ON and another for OFF)
Procedure:
SCENE 1: Turn ON
- Add condition:
Shelly A – “When output state is” “Turn on” - Add action:
Shelly B – “Turn on Shelly device”.
SCENE 2: Turn OFF
- Add condition:
Shelly A – “When output state is” “Turn off” - Add action:
Shelly B – “Turn off Shelly device”.
Scenario: When light at frontdoor is turned on/off then light on the garage does the same.
Pre-configuration: None.
Number of Actions: 2 (One for ON and another for OFF)
Procedure:
SCENE 1: Turn ON
- Add condition:
Shelly A – “When output state is” “Turn on” - Add action:
Shelly B – “Turn on Shelly device”.
SCENE 2: Turn OFF
- Add condition:
Shelly A – “When output state is” “Turn off” - Add action:
Shelly B – “Turn off Shelly device”.
I am item content. Click edit
I am item content. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.
comming
Accordion Content
Accordion Content
Accordion Content
Accordion Content
Accordion Content

