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.
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.