Fibaro RGBW Controller (DTH link in post 32, police light smartapp link in post 79)

Take a look how it is done in this short little app. Let me know if you need any additional info.

The device type here is a contactSensor such as a door and I’m not sure how to modify the input to look at the state of a Siren On/Off.

Guys wanted to show you what I have working in my kitchen after the renovation.

Now looking for a switch to turn these on and off for my wife.


Link is not working.

More chars

Uploaded them manually now.

@aroth89,

You got me thinking (thanks, but it hurts LOL) , below is a link to a test version of the device type. It allows you to call switch.white() to turn on only the white LED’s. You can also call switch.daylight() to turn on the RGB’s to mix a white along with turning on the white LED’s.

Here it is:
fibaro rgbw test file

Hi twack… thanks for this great work! I have a couple questions hopefully you can answer before I decide to buy this device.

I am going to use this to control 4 white only LED strips so each color channel will get it’s own strip. I am wanting each strip to be able to be controlled independently. Is the above “test” file what I need to use for this or have you since incorporated the white functionality as what you have submitted to ST?

Looking things over (quickly) it seems like all I will do is call switch.white() / switch.red () / switch.blue() or switch.green() to turn each strip on… correct?

Also, if for instance I have the white strip on and I want to turn on the red strip all I will need to do is call switch.red() and the white strip will still be on at it’s present level correct? Again, just wanting to assure each strip will be independent and no weird deal of the white strip flickering or toggling off while the red strip is turning on/off etc…

Thanks for any help you can give!

Absolutely awesome, but any chance you could post how you wired the RGBW strips to be independent colours? I’m trying my hardest but I cannot picture it.

My lights I purchased from Home Depot after purchasing some of the recommended lights on here. The lights from Home Depot we’re much brighter during the day.

However to answer your question, all of my lights are RGB no W.

No problem if they are RGB… was just wondering how you literally wired them into the controller so each strip could be independently controlled? That’s the part I’m having a hard time picturing.

This device has four inputs, I one to I four. You can either configure the device so that each input channel controls one color channel so four colors going to the same device (red, green, blue, white) or you can set them as dimmer controls going to four different devices. Or as sensor input coming from four different devices.

This is all in the user guide that comes with the device:

Fibaro RGBW Controller has 4 controllable, analog inputs I1 - I4, allowing for 0-10V analog signal interpretation. This functionality may be used in operation with analog sensors and potentiometers. What’s more, in IN/OUT mode all inputs and outputs may be configured independently, e.g. I1 may be configured as 0-10V sensor input and I2-I4 may control LED strip or Halogen lamps.

So you can set it up to control four color channels, or you can set it up to communicate with four independent single channel devices.

Or were you asking something specific to how smartthings integrates with it?

Ah ok - I was reading the user guide kind of hoping that it could do four RGBW strips independently (that would be 16 channels).

So now I just need to decide if my entire kitchen will be one colour (that I can change) or 4 independent colours I cannot change…

So I’m trying to figure out something here, when motion is detected I have it to turn on the lights and it does, however it turns on the RGB channels but doesn’t turn on the White channel so I have to manually do it from the device slider in the app even though it shows the slider all the way to the right. Is there a way to have it turn on to my preset colour and turn on the white channel at the same time?

Any help is appreciated.

This is unfortunately correct. SmartThings can’t dim the white channel based on an event:

You could try writing your own device type but I think that even has problems.

What about having a virtual switch? Could that control just the on off function?
Basically I’m trying to eliminate the need for extra wiring and a separate switch for my under cabinet lighting in my kitchen. So the rgb strip are connected to the same controller aso the white under cabinet lights. I don’t mind having them turn on at the same time or having two switches for them I just want the white channel to turn on when there is motion.
The strange part is that if I click the on/off in the app it retains the white channel setting but if it’s turned on with motion the white channel stays off.

Exactly.

I still think you would need a custom device type written. @twack could best explain your options.

Would it be better to go with a custom SmartApp for motion that could ask for and set the device.whiteLevel channel as well as call device.level?

I think the best way to do it would be to create a custom “on motion” for rgbw’s. That way the rgb and w channels can stay independent in all other use cases.

@Ronin,
Do you know who to create your own custom apps?

If you do, copy and past the “Brighten My Path” app

And then change from this:

def motionActiveHandler(evt) {
	switch1.on()
}

To this:

def motionActiveHandler(evt) {
	switch1.each() {
		if ( it.whiteLevel) {
			it.white()
		} else {
			it.on()
	        }
         }
}

Hope this is what you were looking for.
Twack

Thank you for the reply, I am going to try this out!

@twack Do you know where I might find the brighten my path code? I have google searched and searched smartthings could it have another name?

Nvm I found it

@Ronin

Cool. Let me know if it works for what you were trying to do.

T