[RELEASE] GLEDOPTO ZigBee RGB+CCT Controller GL-C-008 Driver

I hacked this driver together to Make GLEDOPTO ZigBee RGB+CCT Controller GL-C-008 work.

GLEDOPTO RGB+CCT acts a lot like you have the RGBW 2ID controller when using any of the built-in drivers. The whites don't work and so on.

Keep checking back on this code as I will be refining it in the future to fix a couple bugs that came from the generic driver.

5 Likes

I just got a Gledopto Zigbee controller and was very disappointed to find out the CCT wasn't working at all. I'm VERY excited to try this out!

1 Like

Thank you for letting me know you are testing it. Please let me know if you see them cut out under like 14-15% but relight at the lower level with the on button.

So far so good for me! I've been testing it with various color settings, hue settings, temperature settings, dim up and down from 1 to 100 (percentage I assume) and all seems to work great with this driver. Thanks! I tried the Advanced Zigbee RGBW and the Generic RGBW and both had something work right, but something else not work. This seems to provide the best of both worlds where everything seems to work as expected.

Thanks again!

yes happens to me, also set color temperature and setting a level in one set does not work at all, only color temp alone works, similar to parts of each of the other two normal drivers :frowning:

While I check out the forums often, I do not log in much anymore. However, I felt I needed to log in to say, "Thank You" for these drivers. I suddenly started having issues with my five GL-C-008 controllers and none of the other drivers worked just right. I installed and tried this one (after doing a factory reset on the device) and it worked wonderfully. It is responding better than before.
So again, thank you!

I tried your driver. I have both the GL-C-008 and the GL-C-006 (WWCW CCT). I was having issues with the GL-C-006 not being able to be controlled by the built-in drivers. The off would work but nothing else would. With your driver I was able to finally turn the lights on and off. Thank you! Unfortunately setting the color temperature still doesn't work.

When I tried it with the GL-C-008 I could not control the color. With the Advanced ZigBee CT driver everything seemed to work.

Thank you for the feedback. I'm not sure why you are having a different experience.

Can you take a screenshot of your Device Details and upload them so I can compare with mine?

Also can you provide the details of your power supply and led strip? I would need voltage, amperage, and manufactures.

Thank you,
Eden Nelson

I'm using a 24v 300w driver for two LEDNET double row RGBCCT 5m strips. While I am using a single driver I have 2 Gledopto controllers 1 for each strip.

You think it has something to do with the power supply or LEDs? I wonder if perhaps it has something to do with repeaters. I was having issues with the 006 directly connected to the Hubitat. I put in a repeater but it didn't help. Not sure how the 008s are routed.

You seem to have a different hardware variant. Note you have a GL-C-008P, and I have GL-C-008.

I've had mine for some time. When did you purchase yours?

Since you have a different hardware variant you won't get the benefits of this driver. I can add a definition for the P variant of you like.

I purchased mine in October from Amazon. I've been using the awesome remote until today when I paired them after your driver resolved the on/off issue I was having the with 006 and I figured that maybe these will finally work properly.

Looks like I have the Pro version and you have the regular version. The Pro is supposedly much better.

I just acquired x2 of the GL-C-008P (Pro Version) as well from Amazon. I did not buy a remote for these. Plan to do under cabinet lighting with them and wanted to have two White color ranges with RGB and will give these a shot.

I will be mocking one of these up today to test. Hopefully I can get this to work properly. I will post my findings for everyone.

Thank you for creating this custom driver.

UPDATE: For those interested in getting their GLEDOPTO Zigbee GL-C-008P (Pro Version) working, the following is what I found that works.

NOTE: I could not get the custom driver @EdenNelson wrote for the GL-C-008 to work with the GL-C-008P (Pro Version).

I was however able to get it to work using the "Advanced Zigbee RGBW Bulb" Type/Driver.

If @EdenNelson would like to add support/compatibility for the Pro Version I am willing to help.

Here are the steps to get this working.

  1. Pair Device
  2. Change Driver to "Advanced Zigbee RGBW Bulb"
  3. Click the 'Configure' button (located in the Commands section)
  4. Done - You should be able to make changes to White Light as well as RGB

For me the 'Set Color Temperature' (for white light) the allowable range is 2020K thru 6329K (e.g. 2020 thru 6329)

I hope this helps anyone else using this device.

Hi I was having trouble setting color temp with rules in RM, but they said it's a problem with the gledopto driver:

I'm able to manually set CT and RGB in hubitat, but issuing the CT command in RM fails.

It seems I also have a slightly different hardware revision. Below is the details to my hardware revision and the logs from using the Generic Zigbee RGBW Light, Advanced Generic Zigbee RGBW Light and the GLEDOPTO_ZigBee RGB+CCT_Controller_GL-C-008_Driver.
Thought I would provide for feedback and any help if you choose to continue to work on the driver.
GL-B-008P_DeviceInfo



I'm having problem with my 1ID (non-Pro) variant using this driver (or any driver, really). I see to be on a newer software build. I wonder if this should work with your driver, @EdenNelson ?

  • endpointId: 0B
  • model: GL-C-008
  • application: 01
  • softwareBuild: 3.0.1
  • manufacturer: GLEDOPTO

edit: I should add some logs, too:

dev:3232022-07-03 13:33:15.323 warndescription logging is: true
dev:3232022-07-03 13:33:15.322 warndebug logging is: true
dev:3232022-07-03 13:33:15.321 warnHue in degrees is: false
dev:3232022-07-03 13:33:15.320 infoupdated...
dev:3232022-07-03 13:30:46.060 errorjava.lang.NumberFormatException: null on line 293 (method setLevel)
dev:3232022-07-03 13:30:44.278 errorjava.lang.ArithmeticException: Division by zero on line 140 (method parse)
dev:3232022-07-03 13:30:24.632 errorjava.lang.NumberFormatException: null on line 293 (method setLevel)
dev:3232022-07-03 13:29:17.506 errorjava.lang.ArithmeticException: Division by zero on line 140 (method parse)
dev:3232022-07-03 13:29:14.638 warnconfigure...
dev:3232022-07-03 12:18:41.282 errorjava.lang.ArithmeticException: Division by zero on line 907 (method setColorTemperature)
dev:3232022-07-03 12:09:01.934 errorjava.lang.ArithmeticException: Division by zero on line 911 (method parse)
dev:3232022-07-03 12:09:00.274 debugstarting options testing...
dev:3232022-07-03 12:08:57.253 warnconfigure...
dev:3232022-07-03 12:06:04.680 errorjava.lang.ArithmeticException: Division by zero on line 907 (method setColorTemperature)
dev:3232022-07-03 12:05:41.887 errorjava.lang.ArithmeticException: Division by zero on line 907 (method setColorTemperature)
dev:3232022-07-03 12:04:59.506 errorjava.lang.ArithmeticException: Division by zero on line 140 (method parse)
dev:3232022-07-03 12:04:54.744 errorjava.lang.NumberFormatException: For input string: "0A00" on line 321 (method setColor)
dev:3232022-07-03 12:04:41.012 errorjava.lang.NumberFormatException: null on line 293 (method setLevel)
dev:3232022-07-03 12:01:39.926 errorjava.lang.NumberFormatException: null on line 313 (method setLevel)
dev:3232022-07-03 12:01:13.106 errorjava.lang.NumberFormatException: For input string: "0A00" on line 343 (method setColor)
dev:3232022-07-03 12:01:04.124 errorjava.lang.NumberFormatException: For input string: "0A00" on line 343 (method setColor)
dev:3232022-07-03 12:00:44.104 errorjava.lang.NumberFormatException: null on line 313 (method setLevel)
dev:3232022-07-03 12:00:28.663 errorjava.lang.NumberFormatException: For input string: "0A00" on line 491 (method setColorTemperature)
dev:3232022-07-03 11:59:59.549 errorjava.lang.NumberFormatException: null on line 313 (method setLevel)
dev:3232022-07-03 11:59:56.901 errorjava.lang.NumberFormatException: null on line 313 (method setLevel)
dev:3232022-07-03 11:50:24.690 errorjava.lang.NumberFormatException: For input string: "0A00" on line 321 (method setColor)
dev:3232022-07-03 11:50:16.941 errorjava.lang.NumberFormatException: For input string: "0A00" on line 321 (method setColor)
dev:3232022-07-03 11:49:56.952 errorjava.lang.ArithmeticException: Division by zero on line 654 (method parse)
dev:3232022-07-03 11:49:55.249 debugstarting options testing...
dev:3232022-07-03 11:49:52.230 warnconfigure...
dev:3232022-07-03 11:39:54.957 errorjava.lang.ArithmeticException: Division by zero on line 650 (method setColorTemperature)
dev:3232022-07-03 11:39:53.201 errorjava.lang.ArithmeticException: Division by zero on line 650 (method setColorTemperature)
dev:3232022-07-03 11:39:38.396 errorjava.lang.ArithmeticException: Division by zero on line 911 (method parse)
dev:3232022-07-03 11:39:36.745 debugstarting options testing...
dev:3232022-07-03 11:39:33.726 warnconfigure...
dev:3232022-07-03 11:38:58.454 errorjava.lang.ArithmeticException: Division by zero on line 907 (method setColorTemperature)
dev:3232022-07-03 11:38:56.051 errorjava.lang.ArithmeticException: Division by zero on line 907 (method setColorTemperature)
dev:3232022-07-03 11:36:56.491 errorjava.lang.ArithmeticException: Division by zero on line 907 (method setColorTemperature)
dev:3232022-07-03 11:36:51.417 errorjava.lang.ArithmeticException: Division by zero on line 907 (method setColorTemperature)
dev:3232022-07-03 11:36:49.877 errorjava.lang.ArithmeticException: Division by zero on line 907 (method setColorTemperature)
dev:3232022-07-03 11:36:46.804 errorjava.lang.ArithmeticException: Division by zero on line 907 (method setColorTemperature)
dev:3232022-07-03 11:36:44.631 errorjava.lang.ArithmeticException: Division by zero on line 907 (method setColorTemperature)
dev:3232022-07-03 11:35:43.020 errorjava.lang.ArithmeticException: Division by zero on line 911 (method parse)
dev:3232022-07-03 11:35:41.286 debugstarting options testing...
dev:3232022-07-03 11:35:38.265 warnconfigure...

I'm sorry, but in what way or how is the device or driver not functioning? Please be more explicit.

super fair question, lol! I'll give you some answers off the top of my head now and I'll try to come back and edit this in the next 24hrs with a methodical/exhaustive list:

  1. ON/OFF - works
  2. DIMMER (set level) - non-functional (there may be contextual exceptions like "works in white mode but not RGB")
  3. COLOR CONTROL (white temp) - non-functional (completely)
  4. COLOR CONTROL (RGB) - I recall certain colors are controllable, others are not? this one's weird and I need to research it more
  5. FLASH - works!

I think there are other button I need to test but the current list covers all the core stuff.

Download the Hubitat app