Recently I bought Osram Lightify Flex RGBW light strip and found it does not work with Smartthings. Spent a day to figure out on how to integrate this with Smartthings. Wrote a small app to keep changing the color at every minute. Here are the detailed steps to get it integrated with Smartthings and the link to an App.
Issues: Smartthings hub detects Osram Flex light strip as “Thing” only, but does not allow you to control or link with any Smartthings App.
Fix to configure this “Thing” device: Goto “My Devices”. Choose “Thing” device. Change “Name” and “Label” as “Osram RGBW”. Change “Type” as “ZLL RGBW Bulb” from drop down menu and click “Update”. Now, on your Smart Phone, you should be able to change colors, on/off Osram RGBW Flex Light Strip.
Below are the additional steps to make colors rotate at every minute with a click of a button.
First is to create a “Virtual Switch”. To do this, click on “Devices”, “New Device”. Enter “Name” and “Label” as “Virtual Switch”, Skip “Zigbee Id”. You may enter “Virtual_Switch_ID” for “Device Network Id”. Choose “Type” as “Simulated Switch” from drop down menu. Choose “Location” and “Hub” as your Smartthings hub. Finally click on “Create”. A new virtual switch device is created now in your things.
Now click on “My SmartApps”, “New Smart App”, “From Code”. Copy/paste below code, and “Create”, “Save” , “Publish”, “For Me” , “Simulator”, choose your hub, and “Install”.
Hint to change color frequency:
The below code changes color at every 1 minute at a randomly chosen 30sec time. You may change 2nd option to 0/5 for 5 minute interval. Less than 1 minute interval is not supported or guaranteed to work with Smartthings.
schedule(“30 0/1 * * * ?”, changeLightColors)
Wish you a Happy Colorful Holidays!