# Any interest in new hue change color app sunset to sunrise

**URL:** <https://community.smartthings.com/t/any-interest-in-new-hue-change-color-app-sunset-to-sunrise/46375>\
**Category:** Automation Ideas\
**Created:** [April 26, 2016, 7:58pm UTC](https://community.smartthings.com/t/any-interest-in-new-hue-change-color-app-sunset-to-sunrise/46375 "2016-04-26T19:58:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lgkahn](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/lgkahn/32/19241_2.png) [@Lgkahn](https://community.smartthings.com/u/Lgkahn)\
**Post date:** [April 26, 2016, 7:58pm UTC](https://community.smartthings.com/t/any-interest-in-new-hue-change-color-app-sunset-to-sunrise/46375/1 "2016-04-26T19:58:11Z")

</div>

I am writing a new smart app to color my landscape using the outdoor osram garden spots.

I could not find a smartapp that would change the color every so often sunset to sunrise…

So far I have it cycle through about 7 colors, only turns on sunset to sunrise and will change color only between these times, OR if you manually turn one or more of the hue lights controlled on.

I have set cycle times of 10 , 15, 30 minutes, 1 hour and 3 hours. so I can use the built in functions of runeveryxxminutes etc. so as not to overload the backend running on fixed times. (check the docs these randomize the time).

I also have a disable/enable option.

I am using the scheduling/cron feature to do this and also schedule turning the hues on at sunset and off at sunrise.

I currently am in development and testing and wanted to see if there was much interest in the app, or if anyone already knew of a smartapp that would do this.

thanks

---

<div class="post-metadata">

**Author:** ![Lgkahn](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/lgkahn/32/19241_2.png) [@Lgkahn](https://community.smartthings.com/u/Lgkahn)\
**Post date:** [April 27, 2016, 4:09am UTC](https://community.smartthings.com/t/any-interest-in-new-hue-change-color-app-sunset-to-sunrise/46375/2 "2016-04-27T04:09:57Z")

</div>

first version working… actually have 16 different colors it cycles through in order of spectrum for most part.  
ie  
def colorArray = [“Red”,“Brick Red”,“Safety Orange”,“Orange”,“Amber”,“Yellow”,“Green”,“Turquoise”,“Aqua”,“Navy Blue”,“Blue”,“Indigo”,“Purple”,“Pink”,“Rasberry”,“White”]

Also have a random mode if you turn a switch on…

just testing that the sunset to turn on and sunrise to turn off work correctly then i will post…
