I recently purchased to Cree bulbs for some lamps in my basement. They are very easy to control and I am able to control them individually via the SmartThings App. I can turn them on/off and dim them. I would like to be able to control them both from one single button and slider in SmartThings. How do I do this?
Try the color coordinator app in the marketplace. You can assign bulbs to follow one bulb.
I know that there are other apps like this out there, but I only use this for one case and it works well.
If you want things to happen Automatically with out a slider, use rule machine. That is my typical use case.
The Cree bulb doesn’t show up as an option to control in Color Coordinator
I created a virtual dimmer with
Better Virtual dimmer, and use the Dim With Me smartapp to control two bulbs. When I turn on/dim the virtual dimmer, it sends commands to the two bulbs.
Would you care to walk me through importing the code into my ST? I did it once with my Garage door and it was very well written. You can take this offline if you want to my email.
I pieced it all together from searching and finding this thread:
Better Dimmer Device - #6 by twack
Basically, log into the API, create the new device type for the virtual dimmer, paste the code for the Better Virtual Dimmer. Save, publish.
Create a new device, use the new virtual dimmer device type (should be at the bottom of the type dropdown).
Create the smartapp in the API, paste the code of the Dim With Me smartapp. Save, publish.
Install the smartapp from the SmartThings app (Marketplace > SmartApps > My Apps).
Pick the virtual dimmer as the master dimmer, and the bulbs as slave dimmer switches.
I’m loving the new “From Code” and “From Template” options when creating a new SmartApp / DeviceType.
Users don’t have to be instructed to fill out bogus information and then replace the resulting code with code anymore.
The new instructions are:
Go to “My SmartApps” or “My DeviceTypes” and click on the “+ New SmartApp” or " + New SmartDevice" button on the right.
On the “New SmartApp” or “New SmartDevice” page, Select the Tab “From Code” , Copy the xxxxx source code from GitHub and paste it into the IDE editor window.
Click the “Create” button at the bottom.
Click the blue “Save” button above the editor window.
Click the “Publish” button next to it and select “For Me”. You have now self-published your SmartApp or SmartDevice.
Virtual / Simulated Device Types are functional “Things” but are not physical devices you have. Installing them allows you to control them via SmartApp’s just as you would a physical smart device.
Creating Virtual Devices - On/Off Switches
There are many reasons you’d have the need for a virtual switch.
You want one switch to control multiple other switches and/or commands.
You have a multi relay device and want to control the relays individually. (currently ST doesn’t support this)
You could use virtual switches the same way you’d use Hello Home Actions, to take care of multiple actions or state changes with the change of your virtual switch state.
To create a Virtual Switch
Login to the IDE @
Click “My Devices”
Click the “New Device” Button
You can also use Trend Setter. It works great for me
Trend Setter - A SmartApp for grouping devices
I am not usually one for releasing stuff I write because I am my own worst critic and usually self destruct before putting anything out into the general public (I’ve revised this post more times than I’d like to count). I am trying to change that behaviour…
Although I am a software engineer by trade, I am not a Java/Groovy developer so I may not have written some of the code in the most efficient way. I expect this to change from feedback and as my knowledge grows.
I tend to find I use the app to control a lot of things more than anything else so this is useful for that. I have only used this on an Android phone and can’t be sure how it’ll behave on an iOS device due to the parity issues between Android and iOS apps so give no g…
If you’re willing to put in the effort to get up the learning curve, Rule Machine is the trick!
Rule Machine Version 1.7 Released