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!
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.
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.
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)?
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.
Larry
Link in first post to github should go to new version 3.
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.
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.