How do I control FGRGBW-442 RGBW Controller 2

Imho you are doing everything correctly.
Maybe create the items for the channels R, G, B (see on very top) and try controlling each channel with a dimmer to ensure, the LED strip is properly connected.

Also can you look inside the openhab/userdata/zwave/device.xml of the z-wave node for the COMMAND__CLASS__SWITCH__COLOR and post it?

<entry>
  <commandClass>COMMAND_CLASS_SWITCH_COLOR</commandClass>
  <COMMAND__CLASS__SWITCH__COLOR>
    <endpoint reference="../../../.."/>
    <version>3</version>
    <instances>1</instances>
    <control>false</control>
    <versionSupported>3</versionSupported>
    <supportedColors>
      <colorType>GREEN</colorType>
      <colorType>RED</colorType>
      <colorType>WARM_WHITE</colorType>
      <colorType>BLUE</colorType>
    </supportedColors>
    <refreshList/>
    <colorMap>
      <entry>
        <colorType>GREEN</colorType>
        <int>0</int>
      </entry>
      <entry>
        <colorType>RED</colorType>
        <int>0</int>
      </entry>
      <entry>
        <colorType>WARM_WHITE</colorType>
        <int>0</int>
      </entry>
      <entry>
        <colorType>BLUE</colorType>
        <int>0</int>
      </entry>
    </colorMap>
    <isGetSupported>true</isGetSupported>
  </COMMAND__CLASS__SWITCH__COLOR>
</entry>
                <commandClass>COMMAND_CLASS_SWITCH_COLOR</commandClass>
                <COMMAND__CLASS__SWITCH__COLOR>
                  <version>3</version>
                  <instances>1</instances>
                  <control>false</control>
                  <versionSupported>3</versionSupported>
                  <supportedColors>
                    <colorType>GREEN</colorType>
                    <colorType>BLUE</colorType>
                    <colorType>WARM_WHITE</colorType>
                    <colorType>RED</colorType>
                  </supportedColors>
                  <refreshList/>
                  <colorMap>
                    <entry>
                      <colorType>GREEN</colorType>
                      <int>245</int>
                    </entry>
                    <entry>
                      <colorType>BLUE</colorType>
                      <int>0</int>
                    </entry>
                    <entry>
                      <colorType>WARM_WHITE</colorType>
                      <int>0</int>
                    </entry>
                    <entry>
                      <colorType>RED</colorType>
                      <int>0</int>
                    </entry>
                  </colorMap>
                  <isGetSupported>true</isGetSupported>
                </COMMAND__CLASS__SWITCH__COLOR>

obviously the integer for colortype GREEN is not 0 … and the attribute
<endpoint reference="../../../.."/>
is missing on my end

I used paperUI to create items for the individual dimmers the other day. I was able control the dimmer of the RED channel. all other channels are not responding. I have the same result on both devices.
I did not try to create items using files. I could try but I don’t expect any difference

Please try and post the item configuration of all your used items.
Also make sure that all inputs of the device are not connected.

first of all I just noticed that COMMAND_CLASS_SWITCH_COLOR appears twice in my xml file for the device. This second entry looks like this:

<commandClass>COMMAND_CLASS_SWITCH_COLOR</commandClass>
            <COMMAND__CLASS__SWITCH__COLOR>
              <endpoint reference="../../../.."/>
              <version>3</version>
              <instances>1</instances>
              <control>false</control>
              <versionSupported>3</versionSupported>
              <supportedColors>
                <colorType>GREEN</colorType>
                <colorType>BLUE</colorType>
                <colorType>WARM_WHITE</colorType>
                <colorType>RED</colorType>
              </supportedColors>
              <refreshList/>
              <colorMap>
                <entry>
                  <colorType>GREEN</colorType>
                  <int>144</int>
                </entry>
                <entry>
                  <colorType>BLUE</colorType>
                  <int>153</int>
                </entry>
                <entry>
                  <colorType>WARM_WHITE</colorType>
                  <int>0</int>
                </entry>
                <entry>
                  <colorType>RED</colorType>
                  <int>84</int>
                </entry>
              </colorMap>
              <isGetSupported>true</isGetSupported>
            </COMMAND__CLASS__SWITCH__COLOR>

I will create items for the individual colors later today using files. I assume you mean with “all of your used items” just all the items that relate to this thing…

I just setup the items in my file:

//FGRGBW-442 (Erker)
Dimmer  Erker_RGBW_All          "ErkerLed Dimmer All"   {channel="zwave:device:6d657feb:node10:switch_dimmer",    autoupdate="False"}
Color   Erker_RGBW_RGB          "ErkerLed RGB Kleur"    {channel="zwave:device:6d657feb:node10:color_color1",     autoupdate="False"}
Dimmer  Erker_RGBW_Red          "ErkerLed Dimmer Rood"  {channel="zwave:device:6d657feb:node10:switch_dimmer2",   autoupdate="False"}
Dimmer  Erker_RGBW_Green        "ErkerLed Dimmer Green" {channel="zwave:device:6d657feb:node10:switch_dimmer3",   autoupdate="False"}
Dimmer  Erker_RGBW_Blue         "ErkerLed Dimmer Blue"  {channel="zwave:device:6d657feb:node10:switch_dimmer4",   autoupdate="False"}
Dimmer  Erker_RGBW_W            "ErkerLed Dimmer Wit"   {channel="zwave:device:6d657feb:node10:switch_dimmer5",   autoupdate="False"}
Number  Erker_RGBW_Consumption  "ErkerLed Verbruik"     {channel="zwave:device:6d657feb:node10:meter_watts",      autoupdate="True"}

I updated Dimmer Erker_RGBW_All to value 99 (again :face_with_raised_eyebrow:). see log.

2020-10-22 17:12:57.753 [ome.event.ItemCommandEvent] - Item 'Erker_RGBW_All' received command 99
2020-10-22 17:12:59.365 [vent.ItemStateChangedEvent] - Erker_RGBW_All changed from NULL to 45
2020-10-22 17:12:59.442 [vent.ItemStateChangedEvent] - Erker_RGBW_Consumption changed from NULL to 0.5
2020-10-22 17:12:59.513 [vent.ItemStateChangedEvent] - Erker_RGBW_RGB changed from NULL to 0,0,49
2020-10-22 17:12:59.776 [vent.ItemStateChangedEvent] - Erker_RGBW_RGB changed from 0,0,49 to 187,45,60
2020-10-22 17:12:59.837 [vent.ItemStateChangedEvent] - Erker_RGBW_Red changed from NULL to 32
2020-10-22 17:12:59.905 [vent.ItemStateChangedEvent] - Erker_RGBW_Green changed from NULL to 56
2020-10-22 17:12:59.965 [vent.ItemStateChangedEvent] - Erker_RGBW_Blue changed from NULL to 59
2020-10-22 17:13:00.026 [vent.ItemStateChangedEvent] - Erker_RGBW_W changed from NULL to 0

LEDstrips turned red again. What is with the xml color values not being 0? should I make changes to the xml file?

You can ignore the values in the XML - they are not important at all.

Are you sure your led strip is properly connected? The device seems to turn the channels on.

Ok, this post is to prevent others to go through the same embaressment as I just did. After extensive testing of all the individual ports of the fibaro controller I suddenly realized that my 12v adapter was in no way prepared to deal with my 24v ledstrip.

Thanks for helping out nevertheless

1 Like

@chris
I just want to keep track of things:
Will this be included in the next release?

I had some problems merging the last changes, but they are now merged. This changes to use the brightness control in the RGB command, but hasn’t yet added the RGBW, indexed mode I suggested. This is quite simple, and mostly coded, so I’ll try and finish that soon.

I’m not sure when the next release is though (or if there is one and you just need to use SNAPSHOTs).

1 Like

Openhab 2.5.11 just got released, but in the change log it doesn’t say anything about z-wave.
Have the changes been included?

@chris
Openhab 2.5.11 just got released, but in the change log it doesn’t say anything about z-wave.
Have the changes been included?

The changes I merged to change the level control (as we discussed previously) are in there - I haven’t done the new channel yet (sorry - I got caught with other things at the moment). I will try and do that over the next few days - if I forget, please feel free to remind me again. It’s 99% done, but I’m running around the house a bit at the moment as we’re trying to sell the house and I have way to much junk that I need to get rid of :slight_smile:

@chris Just wanted to check up on you if the changes already have been merged.

I think they were merged into the OH3 branch around Christmas time.

Are they available with OH2, too?

I think it was only added to OH3. From memory this was added around Christmas.

Does someone have the same Problem with the rgbw2 that when I dimm the Master to 1% the LEDStrip is off? It only shows (very low light which would be perfect for 1%) on 2%…I can’t find a command class to set minimum brightness…

I’m having the same issue and I’ve configured everything correctly (imho!).
I suspect this is a rounding issue when transferring from percent to the actual value.

1 Like

Do you also have the case that the device reports “in steps”. That means when I dimm from 100% to 0%, it shows 50% then after one or two seconds 20% and then 0%?

You have an Idea how to resolve the 1% issue?