# Newbie - set schedule for lights

**URL:** <https://forum.ewelink.cc/t/newbie-set-schedule-for-lights/11848>\
**Category:** Free discussion\
**Created:** [January 10, 2023, 7:28am UTC](https://forum.ewelink.cc/t/newbie-set-schedule-for-lights/11848 "2023-01-10T07:28:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkachwee](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@mkachwee](https://forum.ewelink.cc/u/mkachwee)\
**Post date:** [January 10, 2023, 7:28am UTC](https://forum.ewelink.cc/t/newbie-set-schedule-for-lights/11848/1 "2023-01-10T07:28:03Z")

</div>

Hi guys, newbie here, I would like to set a schedule where the lights turn on at sunset and switch off after 3 hours, how would I go about doing this on the eWeLink app?

Please assist, thanks

---

<div class="post-metadata">

**Author:** ![Teki](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/teki/32/1161_2.png) [@Teki](https://forum.ewelink.cc/u/Teki)\
**Post date:** [January 10, 2023, 9:59am UTC](https://forum.ewelink.cc/t/newbie-set-schedule-for-lights/11848/2 "2023-01-10T09:59:38Z")

</div>

Go to Scene tab and create a scene, If sunset then turn on the light, delay for an hour and then turn off the light.  
for now eWeLink support only 1 hour delay. if you need to delay 3hours, try to connect eWeLink with Alexa and create an Alexa routine (which is similar to ewelink scene)

---

<div class="post-metadata">

**Author:** ![mkachwee](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@mkachwee](https://forum.ewelink.cc/u/mkachwee)\
**Post date:** [January 10, 2023, 10:13am UTC](https://forum.ewelink.cc/t/newbie-set-schedule-for-lights/11848/3 "2023-01-10T10:13:32Z")

</div>

Thanks Teki, how would I achieve this with Samsung SmartThings? As I do not have Alexa

---

<div class="post-metadata">

**Author:** ![Teki](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/teki/32/1161_2.png) [@Teki](https://forum.ewelink.cc/u/Teki)\
**Post date:** [January 10, 2023, 10:32am UTC](https://forum.ewelink.cc/t/newbie-set-schedule-for-lights/11848/4 "2023-01-10T10:32:34Z")

</div>

Hi,  
For smartThings, the same you need to connect eWeLink with SmartThings (in eWeLink click the + button and select Link accounts), there is also also a routine (scene) feature in smartThings app, go to Automations - Add routine - custom -if sunset- then light on for 3 hour.  
by the way, the Alexa does not require hardware, you can achieve this by the free Alexa app, too.

---

<div class="post-metadata">

**Author:** ![mkachwee](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@mkachwee](https://forum.ewelink.cc/u/mkachwee)\
**Post date:** [January 10, 2023, 11:27am UTC](https://forum.ewelink.cc/t/newbie-set-schedule-for-lights/11848/5 "2023-01-10T11:27:19Z")

</div>

Thank you it works! Appreciate the assistance Teki
