[OBSOLETE] Garden Hue: New smartapp to change hue color on a cycle or random, sunset to sunrise

This does work. SmartThings does not allow you to schedule anything more than once a minute anymore, so unfortunately this is as quick of a color change as can be allowed.

I also had to get rid of the notifications code as it always required me to select some sort of notification even though it was not set as required. If you can figure out how to not make this mandatory that would be great. Getting a notification every minute is annoying.

I also got rid of all the code for sunset/sunrise as I only want this to work via a virtual switch. Can you make it so that the Enabled/Disabled checkbox only controls whether it runs automatically. If you select a switch to control it, it should control it regardless of whether Enabled/Disabled is set to Enabled.

I just installed this app - my very first custom app since I started using smart things. I’m using it with an osram lightify light bulb. When the app first started it seemed like I was getting double notifications, but now that it’s running it looks like I’m only getting one for each color time. I’m definitely interested in changing this to run on a set schedule that the user chooses (or somehow on demand). I’m a coder by trade, so if I get the time I’ll probably jump in there and see what it takes to make that change. Nice work!

Just schedule the light to turn on, if you leavwvit enabled it will run whenever the lughtvis turned in orcacswitch is on.

I’m currently having problesm with the app , as they appareantly updated the device types for the osram strips and my strips were turning on by themselves and not returning a status of on when they should. I have removed and re-added the osram zigbee devices and it seems better but will keep you informed.

I tried adding this app, but I don’t see it on my apps section… Can you help?

You need to go through the process on the web console: https://graph.api.smartthings.com/ Basically get set up there, get your Hub on there, and you can add the app by copying the code and publish/save.

I did all of that, but the published app is not showing up on my apps on my phone app. It shows on web console tho

Please add more much shorter time options, e.x. 5 seconds, 10sec, 30sec, 1min, 2min). These seconds modes are for party time.

Also, just to make sure: If I want to disable sunset/sunrise and just manually turn it on/off via a virtual switch, would I enable or disable (above the virtual switch option)?

You can’t go less than 1 min I believe. API doesn’t support it.

As promised long long ago in a galaxy …

Version 3 is live in the git hub with the following changes.

  • Version 3:

  • Add option to control each light separately, so each gets its own color.

  • Add Holiday Mode option where you can individually control what colors are enabled.

  • Related, Add options to turn on/off each color.

  • Add every 1 minute option. Use Sparingly can overload back end Scheduling

  • Added better logging, so in notification window you can see current color set. This is in order to help debug for when lights stop responding.

The holiday mode and individual light control only work in Random mode, as it doesnt make sense in normal mode where you go through the spectrum in order.

Just in time for the holidays, blue, navy blue, aqua, white for Hannukay
Red, Green for christmas.


Link in first post to github should go to new version 3.

Is there a way to prevent this from running during a set period of time.

I tied this to a virtual switch which turns on a sunset and off at sunrise but the notifications for this are still running now (2:38pm).

Font use a virtualbseitch just use the built in sunrise sunset

HI, I have installed your app. This is what I was looking to get the lights to change color randomly. However the randomization does not occur. Is it because I did not uninstall the Sylvania Smart Gardenspot mini RGB app. I am not a IT person but someone who likes gadgets in the house.

After I posted the above I manged to get the colors changing randomly. It comes on at dusk but does not turn off at dawn. ???. I am happy the colors are changing. I can turn off manually in the morning.

I am getting notifications throughout the day. How can I made Garden Hue and the notifications only run when the lights run?

I do have smart lighting mode set to sunrise/ sunset

Set the on time for Sunset and off time (-nnn) minutes. where n=minutes

What do you mean (-nnn)?
I currently have it for -1 hour before sunrise but they still run throughout the day.

sorry I’m not understanding your reply

Check what devices you have it set up to and make sure it is not linked to a switch. If any light it is configured for turns on it will turn all on and run all the time. Usually this means one light is no longer controllable and it thinks it is on all day… see my logs , you can see it stops notifying and sleeps if all devices are off.

1 Like

The off timer is in minutes. Set it for negative value such as( -300 minutes) it will turn off 300 minutes 5 hours before sun rise

You are in the wrong thread not in my AP

I am sorry