# How to make scene

**URL:** <https://forum.ewelink.cc/t/how-to-make-scene/24672>\
**Category:** Uncategorized\
**Created:** [November 20, 2023, 6:14am UTC](https://forum.ewelink.cc/t/how-to-make-scene/24672 "2023-11-20T06:14:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![emil\_betoniarz](https://avatars.discourse-cdn.com/v4/letter/e/f6c823/32.png) [@emil\_betoniarz](https://forum.ewelink.cc/u/emil_betoniarz)\
**Post date:** [November 20, 2023, 6:14am UTC](https://forum.ewelink.cc/t/how-to-make-scene/24672/1 "2023-11-20T06:14:12Z")

</div>

How to make a scene that runs from 4 am to 4 pm every day

---

<div class="post-metadata">

**Author:** ![morgan](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/morgan/32/3184_2.png) [@morgan](https://forum.ewelink.cc/u/morgan)\
**Post date:** [November 20, 2023, 8:17am UTC](https://forum.ewelink.cc/t/how-to-make-scene/24672/2 "2023-11-20T08:17:06Z")

</div>

Do you mean an active scene during a specific time period and an inactive scene beyond that time period?  
Remember that an active scene will not execute itself if there is no correct trigger. You can change the state of the scene, but it must be called separately to take effect.

Create two scenes, one start and one stop for your function scene using the “Time of Day” function in “If”…

_Enable scene:_

> “If”  
> Time of Day / Everday 14:00
> 
> “Then”  
> Smart Scenes / Your scene / Enable

_Disable scene_

> “If”  
> Time of Day / Everday 04:00
> 
> “Then”  
> Smart Scenes / Your scene / Disable

Theoretically, it can also be done differently, but it depends a lot on what your scene is doing, what is the trigger and what is the action?

You can create two function scenes, the first one with Time of Day / Everday 14:00, which will be the scene that triggers your actions. And the second scene with time 04:00 stopping the action if necessary.

---

<div class="post-metadata">

**Author:** ![emil\_betoniarz](https://avatars.discourse-cdn.com/v4/letter/e/f6c823/32.png) [@emil\_betoniarz](https://forum.ewelink.cc/u/emil_betoniarz)\
**Post date:** [November 20, 2023, 5:42pm UTC](https://forum.ewelink.cc/t/how-to-make-scene/24672/3 "2023-11-20T17:42:03Z")

</div>

Thanks
