[RELEASE] Fibaro RGBW Controller (FGRGBWM-441) - Advanced DTH

What worked for me (also using RGBW strip) is, if using Android you need to delete the defaults, from line 383, repeat this until line 611:

    input name: "configAggregateSwitchMode", type: "enum", defaultValue: "OUT", required: true, displayDuringSetup: false,
        title: "Calaculate Aggregate 'switch' value from:\n[Default: RBGW/OUT Channels Only]",
        options: ["OUT" : "RBGW/OUT Channels Only",
                  "IN" : "IN Channels Only",
                  "ALL" : "All Channels"]

becomes:

        input name: "configAggregateSwitchMode", type: "enum", required: true, displayDuringSetup: false,
            title: "Calaculate Aggregate 'switch' value from:\n[Default: RBGW/OUT Channels Only]",
            options: ["OUT" : "RBGW/OUT Channels Only",
                      "IN" : "IN Channels Only",
                      "ALL" : "All Channels"]

Then, in the settings in the phone app, fill in ALL of the input fields (to the defaults if you want) the hint will be shown in the field but type over them and save.

Ok got it working, thanks for the advice.

One more thing, Can I create custom buttons? I’d like a warm white and cold white button. In the stock controller there were those buttons but on this new device handler they are no longer there

Scott

1 Like

Just had a look, they are there in the code, change lines 368-371 to:

    // Color Shortcut Tiles (these only work if channels are mapped to red/green/blue/white):
    "red","green","blue",
    "orange","yellow","cyan",
    "magenta","pink","purple",
    "white", "daylight"

Actually that didn’t quite work. Change to this:

// Colour Shortcuts:
standardTile("red", "device.colorName", height: 2, width: 2, decoration: "flat", inactiveLabel: false, canChangeIcon: false) {
    state "off", label:"red", action:"red", icon:"st.illuminance.illuminance.dark", backgroundColor:"#D8D8D8", defaultState: true
    state "red", label:"red", action:"off", icon:"st.illuminance.illuminance.bright", backgroundColor:"#FF0000"
}
standardTile("green", "device.colorName", height: 2, width: 2, decoration: "flat", inactiveLabel: false, canChangeIcon: false) {
    state "off", label:"green", action:"green", icon:"st.illuminance.illuminance.dark", backgroundColor:"#D8D8D8", defaultState: true
    state "green", label:"green", action:"off", icon:"st.illuminance.illuminance.bright", backgroundColor:"#00FF00"
}
standardTile("blue", "device.colorName", height: 2, width: 2, decoration: "flat", inactiveLabel: false, canChangeIcon: false) {
    state "off", label:"blue", action:"blue", icon:"st.illuminance.illuminance.dark", backgroundColor:"#D8D8D8", defaultState: true
    state "blue", label:"blue", action:"off", icon:"st.illuminance.illuminance.bright", backgroundColor:"#0000FF"
}
standardTile("cyan", "device.colorName", height: 2, width: 2, decoration: "flat", inactiveLabel: false, canChangeIcon: false) {
    state "off", label:"cyan", action:"cyan", icon:"st.illuminance.illuminance.dark", backgroundColor:"#D8D8D8", defaultState: true
    state "cyan", label:"cyan", action:"off", icon:"st.illuminance.illuminance.bright", backgroundColor:"#00FFFF"
}
standardTile("magenta", "device.colorName", height: 2, width: 2, decoration: "flat", inactiveLabel: false, canChangeIcon: false) {
    state "off", label:"magenta", action:"magenta", icon:"st.illuminance.illuminance.dark", backgroundColor:"#D8D8D8", defaultState: true
    state "magenta", label:"magenta", action:"off", icon:"st.illuminance.illuminance.bright", backgroundColor:"#FF0040"
}
standardTile("orange", "device.colorName", height: 2, width: 2, decoration: "flat", inactiveLabel: false, canChangeIcon: false) {
    state "off", label:"orange", action:"orange", icon:"st.illuminance.illuminance.dark", backgroundColor:"#D8D8D8", defaultState: true
    state "orange", label:"orange", action:"off", icon:"st.illuminance.illuminance.bright", backgroundColor:"#FF6600"
}
standardTile("purple", "device.colorName", height: 2, width: 2, decoration: "flat", inactiveLabel: false, canChangeIcon: false) {
    state "off", label:"purple", action:"purple", icon:"st.illuminance.illuminance.dark", backgroundColor:"#D8D8D8", defaultState: true
    state "purple", label:"purple", action:"off", icon:"st.illuminance.illuminance.bright", backgroundColor:"#BF00FF"
}
standardTile("yellow", "device.colorName", height: 2, width: 2, decoration: "flat", inactiveLabel: false, canChangeIcon: false) {
    state "off", label:"yellow", action:"yellow", icon:"st.illuminance.illuminance.dark", backgroundColor:"#D8D8D8", defaultState: true
    state "yellow", label:"yellow", action:"off", icon:"st.illuminance.illuminance.bright", backgroundColor:"#FFFF00"
}
standardTile("pink", "device.colorName", height: 2, width: 2, decoration: "flat", inactiveLabel: false, canChangeIcon: false) {
    state "off", label:"pink", action:"pink", icon:"st.illuminance.illuminance.dark", backgroundColor:"#D8D8D8", defaultState: true
    state "pink", label:"pink", action:"off", icon:"st.illuminance.illuminance.bright", backgroundColor:"#FF33CB"
}
standardTile("white", "device.colorName", height: 2, width: 2, decoration: "flat", inactiveLabel: false, canChangeIcon: false) {
    state "off", label:"white", action:"white", icon:"st.illuminance.illuminance.dark", backgroundColor:"#D8D8D8", defaultState: true
    state "white", label:"white", action:"off", icon:"st.illuminance.illuminance.bright", backgroundColor:"#FF33CB"
}
standardTile("coldWhite", "device.colorName", height: 2, width: 2, decoration: "flat", inactiveLabel: false, canChangeIcon: false) {
    state "off", label:"coldWhite", action:"coldWhite", icon:"st.illuminance.illuminance.dark", backgroundColor:"#D8D8D8", defaultState: true
    state "coldWhite", label:"coldWhite", action:"off", icon:"st.illuminance.illuminance.bright", backgroundColor:"#FF33CB"
}
standardTile("warmWhite", "device.colorName", height: 2, width: 2, decoration: "flat", inactiveLabel: false, canChangeIcon: false) {
    state "off", label:"warmWhite", action:"warmWhite", icon:"st.illuminance.illuminance.dark", backgroundColor:"#D8D8D8", defaultState: true
    state "warmWhite", label:"warmWhite", action:"off", icon:"st.illuminance.illuminance.bright", backgroundColor:"#FF33CB"
}
standardTile("refresh", "device.switch", inactiveLabel: false, decoration: "flat", width: 2, height: 2) {
    state "default", label:"", action:"refresh.refresh", icon:"st.secondary.refresh"
}
standardTile("test", "device.switch", decoration: "flat", width: 2, height: 2) {
    state "default", label:'Test', action:"test"
}

// Tile layouts:
// ******** EDIT THIS SECTION to show the Tiles you want ********
main(["switch"])
details([
    // The main multitile:
    "switch",

    // RGBW Channels:
    "switchRed","levelRedSlider", "levelRedTile",
    "switchGreen","levelGreenSlider", "levelGreenTile",
    "switchBlue","levelBlueSlider", "levelBlueTile",
    "switchWhite","levelWhiteSlider", "levelWhiteTile",

    // OUT Channels:
    //"switchCh1","levelCh1Slider", "levelCh1Tile",
    //"switchCh2","levelCh2Slider", "levelCh2Tile",
    //"switchCh3","levelCh3Slider", "levelCh3Tile",
    //"switchCh4","levelCh4Slider", "levelCh4Tile",

    // INPUT Channels (read-only, label replaced slider control):
    //"switchCh1ReadOnly", "ch1Label", "levelCh1Tile",
    //"switchCh2ReadOnly", "ch2Label", "levelCh2Tile",
    //"switchCh3ReadOnly", "ch3Label", "levelCh3Tile",
    //"switchCh4ReadOnly", "ch4Label", "levelCh4Tile",

    // Energy and Power:
    "powerLabel", "power", "refresh", "lastReset", "energy",

    // Built-in Program Shortcuts (these only work if the channels are RGBW):
    "fireplace", "storm", "deepFade","liteFade", "police",

    // Color Shortcut Tiles (these only work if channels are mapped to red/green/blue/white):
    "red","green","blue",
    "orange","yellow","cyan",
    "magenta","pink","purple",
    "white", "warmWhite", "coldWhite"

Thanks again, that worked.

I have two fibaro controllers, I am trying to figure out in the IDE how to use the handler for both controllers. Do I read somewhere I have to rename them different names. I can’t figure this out. Thoughts? Right now I am using the original handler by codersaur and then a tweaked version by nezmo.

Also I was wondering if I could set up automation so that in the early afternoon the lights turn on to a certain color and in the evening they change to another color at a different time. Thoughts?

Again, thanks so much for your help so far.

Scott

You can have more than one device with the same device handler, I have 2. Just edit the device in the IDE and select it in device type for both.

I’d use webcore for the automation, it will do that easily.

Actually I think you mean have one device in ST controls both ? Not sure if you can do that. I think you could setup both devices and use webcore to have one device follow the other. Or use the colour coordinator smartapp

There is an app called trend setter that might do what you want.

I’m using this DTH successfully, its a great addition to the RGBW setup I have at home.

1 question - I have connected 2x 5m LED strips to the controller (both strips connected directly to the controller not daisy chained). I am only getting a Power readout on half of the total length.

Its 14.4w/m SMD5050, and I’m getting 73w on 100%, despite 10m of LED strip being powered.

Any ideas why this would be? Understand the total rating for the controller is 144w so this is on the limit.

Were you ever able to create custom programs/buttons?

@zcapr17… I hope you’re still an active member.

I have your most excellent DTH running in my bathroom (both a mirror and shower wall).
I’m using an external toggle switch to turn the lights on and off… which works well [via PARM #14 - RGBW - MOMENTARY (NORMAL MODE)].
A problem over the last while seems to have popped up where when I turn on the switch, the RGBW lights come on BUT so does something else in the house !!! It seems to be random as to what will come on. Sometimes more than one thing comes on also. This is extremely frustrating.
Is there a way to stop this? Perhaps something is set that shouldn’t have?

Most eagerly waiting for your reply.

That’s because the device itself needs a firmware update, a temporary fix is factory resetting the device, and hassle ST to bring forward their planned Z-Wave OTA updates…

1 Like

So if I factory reset, I must re-enter all parameters as before… but leave all ASSOCIATION GROUPS parameters alone? In desperation (not knowing fully how it works) I tried putting a “777” for each association as a phantom device… and at one point just “0” for each.

So I have an RGBW strip attached to the Fibaro and successfully installed this DTH. I have a simple on/off switch on the wall which works in that it switches it on but it remains fully white.

The app doesn’t show the correct status and won’t allow me to turn it on or off, nor allow me to change each colour channel.

I’ve been through the settings but admit they may be wrong…

Any advice?

Jost got this installed, and it seems to be working fine. I have RGBW setup, I can change all four color channels no problem. The program tiles work for the separate colors.
However, the pre installed programs (Fireplace, Storm, Deep Fade, Lite Fade, Police) do not work.
I am using Android Device, Fibaro RGBW Controller, SmartThings Classic app…

I feel I am missing something, but I don’t know what. My common sense and logic are telling me that if all the channels are operative and controllable, them I should be good. But the programs just will not fire.

1 Like

I’ve had mine connected and working with SmartThings for several months but just noticed this as well, since the 28-Sept Hub firmware update. Just in time for Halloween :rage:

this solved my, fill out all required fields problem… used my wife’s iphone then it started working on my android. thanks!

I am having the same problem. All the colors are working but Fireplace, Police etc. do not work. I am currently using an Iphone so not sure where the problem may be.

I have had this working on my android but no longer. The interesting thing is it will show up with all the buttons only on the first time. Then all the buttons disappear after the first time.

I can’t get this to work on Android either. I can’t seem to find a working device handler for this device. I tried the one on Fibaro’s home page, I’m just able to turn the strips on and off, but not open the page for it in the classic ST app. With this device handler however, I am not able to do anything at all. I tried removing all defaults between rows 383 and 611 as stated by @Simon_Tether. Everything in the classic app is just greyed out and shows zeros. I’m not even able to turn the strip on (“TURNINGON”). If I open the device in the new SmartThings app, it just crashes. Could someone please post (or PM me) a working version of this device handler for Android? Thanks!