zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Gledopto GL-C-002P 5in1 LED controller OTA 30151203 --> [C-ZB-LC20v2-RGBCCT / Candeo]

Open litecross91 opened this issue 1 year ago • 75 comments

What happened?

Gledopto GL-C-002P was in GL-C-006P mode (CCT). After automatic OTA update doesnt work. zigbee2mqtt shows Model [C-ZB-LC20v2-RGBCCT] [Unsupported]

Update: This morning, I manually reset and restored the device to CCT mode (green), then paired it again with zigbee2mqtt. Its functions are working, but "Not supported: generated" appears instead of its type. Image

I have a device that I didn't update via OTA yesterday, and it looks like this:

Image

I generated external definition:

import * as m from 'zigbee-herdsman-converters/lib/modernExtend';

export default {
    zigbeeModel: ['C-ZB-LC20v2-CCT'],
    model: 'C-ZB-LC20v2-CCT',
    vendor: 'Candeo',
    description: 'Automatically generated definition',
    extend: [m.light({"colorTemp":{"range":[158,500]}})],
    meta: {},
};

What did you expect to happen?

How to reproduce it (minimal and precise)

After OTA update doesn't support.

Debug logs

Details

os: #1 SMP PREEMPT_DYNAMIC Wed Aug 13 08:49:33 UTC 2025 - 6.12.41-haos - x64 node: v22.16.0 zigbee2mqtt: 2.6.1 (unknown) zigbee-herdsman: 6.0.4 zigbee-herdsman-converters: 25.14.0 adapter: ZStack3x0 {"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20250321,"transportrev":2}

Device

software_build_id: 30151203 date_code: 20250723 endpoints:

{"11":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genGroups","genScenes","genOnOff","genLevelCtrl","lightingColorCtrl","touchlink"],"output":["genOta"]},"configured_reportings":[],"scenes":[]}}
Health

time: Wed Sep 10 2025 00:46:26 GMT+0200 (közép-európai nyári idő) process.uptime_sec: 103803

{"leave_count":0,"messages":5048,"messages_per_sec":0.0486,"network_address_changes":0}

litecross91 avatar Sep 09 '25 22:09 litecross91

Hi all, I've the same issue with devices GL-C-009P model, after the last update they are recognised as "C-ZB-LC20v2-Dim" and showed into Z2M as not supported.

fabietx avatar Sep 10 '25 07:09 fabietx

I've opened a related issue here: https://github.com/Koenkk/zigbee-OTA/issues/865 But at this point I'm unsure if the issue is with the OTA or with Z2M 🤔

andreipoenaru avatar Sep 10 '25 08:09 andreipoenaru

I've the same issue after upgrading the GL-C-009P. My controller is actually the Gledopto 5in1, which, based on the mode, reports a different model.

After OTA is recognized as C-ZB-LC20v2-Dim and show as unsupported, but still working fine.

definition is:

{
    "description": "Automatically generated definition",
    "exposes": [
        {
            "features": [
                {
                    "access": 7,
                    "description": "On/off state of this light",
                    "label": "State",
                    "name": "state",
                    "property": "state",
                    "type": "binary",
                    "value_off": "OFF",
                    "value_on": "ON",
                    "value_toggle": "TOGGLE"
                },
                {
                    "access": 7,
                    "description": "Brightness of this light",
                    "label": "Brightness",
                    "name": "brightness",
                    "property": "brightness",
                    "type": "numeric",
                    "value_max": 254,
                    "value_min": 0
                }
            ],
            "type": "light"
        },
        {
            "access": 2,
            "description": "Triggers an effect on the light (e.g. make light blink for a few seconds)",
            "label": "Effect",
            "name": "effect",
            "property": "effect",
            "type": "enum",
            "values": [
                "blink",
                "breathe",
                "okay",
                "channel_change",
                "finish_effect",
                "stop_effect"
            ]
        },
        {
            "access": 7,
            "category": "config",
            "description": "Controls the behavior when the device is powered on after power loss",
            "label": "Power-on behavior",
            "name": "power_on_behavior",
            "property": "power_on_behavior",
            "type": "enum",
            "values": [
                "off",
                "on",
                "toggle",
                "previous"
            ]
        },
        {
            "access": 1,
            "category": "diagnostic",
            "description": "Link quality (signal strength)",
            "label": "Linkquality",
            "name": "linkquality",
            "property": "linkquality",
            "type": "numeric",
            "unit": "lqi",
            "value_max": 255,
            "value_min": 0
        }
    ],
    "model": "C-ZB-LC20v2-Dim",
    "options": [
        {
            "access": 2,
            "description": "Controls the transition time (in seconds) of on/off, brightness, color temperature (if applicable) and color (if applicable) changes. Defaults to `0` (no transition).",
            "label": "Transition",
            "name": "transition",
            "property": "transition",
            "type": "numeric",
            "value_min": 0
        },
        {
            "access": 2,
            "description": "State actions will also be published as 'action' when true (default false).",
            "label": "State action",
            "name": "state_action",
            "property": "state_action",
            "type": "binary",
            "value_off": false,
            "value_on": true
        }
    ],
    "source": "generated",
    "supports_ota": false,
    "vendor": "GLEDOPTO"
}

sfortis avatar Sep 10 '25 09:09 sfortis

Another similar problem: https://github.com/Koenkk/zigbee2mqtt/issues/28569

wojciechczyz avatar Sep 10 '25 09:09 wojciechczyz

Same here with a C-ZB-LC20v2-RGBCCT. Did ran the Update and it reported as v2 should be still the same Device still work ...

Noirbonn666 avatar Sep 10 '25 11:09 Noirbonn666

I used the GL-C-001P as dimmer before (Red LED), after the update I'm unable to set it to be a dimmer only.

skyfullofdust avatar Sep 10 '25 11:09 skyfullofdust

Apparently the firmware came from this commit: https://github.com/Koenkk/zigbee-OTA/commit/f1b86e5c6edb961230a75d91d918437ab18b3031

skyfullofdust avatar Sep 10 '25 11:09 skyfullofdust

I encountered a similar situation. Today in Z2M I saw a message that there is a new firmware available for my Gledopto GL-C-009P devices (5in1 control unit controller ZigBee 3.0 Pro Mini) – 3.2.01-3.0.01. I updated one of the devices, the update was successful, and the functionality was preserved. However, now the manufacturer is shown as "Not supported", the device name changed from GL-C-009P to C-ZB-LC20v2-Dim, and the device image is missing.

After the update, the device reset, and in Z2M I also saw it appear as C-ZB-LC20v2-RGBCCT.

Here’s what I did:

  • Using the "opt" button on the device, I selected the desired mode – in my case, the red indicator color.
  • Clicked "Enable detection".
  • In the Z2M device line, I clicked "i" (interview).

As a result, I got C-ZB-LC20v2-Dim.

Fierys avatar Sep 10 '25 14:09 Fierys

Which model do you have? It worked for me with a GL-C-002P model, but not with a GL-C-001P model, can't switch to Dimmer mode - LED never turns red. EDIT: It worked now with your re-interview hack, but the Dimmer mode has now the green LED.

skyfullofdust avatar Sep 10 '25 15:09 skyfullofdust

@Fierys

Thanks man this worked for me as well. 👍

peterthepeter avatar Sep 10 '25 15:09 peterthepeter

I have a Gledopto GL-C-201P in RGB+CCT mode, currently recognized as GL-C-008P as the device page says.

Not sure if OTA'ing to LC20 RGBCCT would work.

Based on visual clues however, the 201P does look more like the LC20 than the 008P (despite being from a different brand), so there's that.

Candeo C-ZB-LC20-RGBCCT:

Gledopto GL-C-201P: Image

There are more models, I'm putting them here for reference, in case there's more clashes with other models in the future.

LightSolutions 91-943-PRO: Image

GIDEALED ZC05M-20: Image

MiBoxer E3-ZR: Image

davux avatar Sep 10 '25 15:09 davux

I’m experiencing the same issue with the GL-C-002P.

I attempted to send a downgrade payload as described here: https://github.com/Koenkk/zigbee-OTA/issues/827. However, since the device model has changed, it now reports that OTA updates are not supported.

Is there any way to force a downgrade command?

diegocjorge avatar Sep 10 '25 15:09 diegocjorge

I would also be interested in this. It seems that due to a fault, everyone who has these types of Gledopto devices, incorrectly received the OTA update intended for Candeo.... :

RGB+CCT GL-C-008P [White] RGBW GL-C-007P [Yellow] RGB GL-C-003P [Blue] CCT GL-C-006P [Green] Dimmer GL-C-009P [Red] GL-C-001P - Zigbee Pro 5 in 1 Smart LED Controller GL-C-002P - Zigbee Pro 5 in 1 LED Controller Mini Ultra Thin GL-C-011P - Zigbee Pro 5 in 1 Smart LED Controller DIN Rail GL-C-201P - Zigbee Pro+ 5 in 1 Smart LED Controller GL-C-202P - Zigbee Pro+ 3 in 1 Smart LED Controller GL-C-301P - Zigbee Pro+ 5 in 1 Smart LED Controller Ultra-Mini

See here: https://github.com/Koenkk/zigbee-OTA/pull/864

It's a good question how those who installed it will put the Gledopto firmware back.

litecross91 avatar Sep 10 '25 15:09 litecross91

I have done the update as well on my GL-C-002P, and I managed to get it working after repairing, but also stuck with model C-ZB-LC20v2-RGBCCT and Not supported. Hope there is a way to force the downgrade back to the old firmware.

drax-uk avatar Sep 10 '25 16:09 drax-uk

The same happed today to me. I have 2 devices which were detected as GLEDOPTO GL-C-009P in Zigbee2MQTT and updated one of them today. Now it is discovered as Candeo C-ZB-LC20v2-Dim. But to my surprise, it has been working more reliably since then. Before it missed sometimes the activation trigger from HomeAssistant or ioBroker. That's not happen since the update. The only "Bug" at the moment for me is, that it is listed as "Not supportet" but it should be supported.

atl285 avatar Sep 10 '25 17:09 atl285

The same happed today to me. I have 2 devices which were detected as GLEDOPTO GL-C-009P in Zigbee2MQTT and updated one of them today. Now it is discovered as Candeo C-ZB-LC20v2-Dim. But to my surprise, it has been working more reliably since then. Before it missed sometimes the activation trigger from HomeAssistant or ioBroker. That's not happen since the update. The only "Bug" at the moment for me is, that it is listed as "Not supportet" but it should be supported.

Definitely not better for me. I've lost the ability to control color temperature, and to change modes. I really want to downgrade my GL-C-002P back to the Gledopto firmware.

boardlord1 avatar Sep 10 '25 17:09 boardlord1

Definitely not better for me. I've lost the ability to control color temperature, and to change modes. I really want to downgrade my GL-C-002P back to the Gledopto firmware.

Did you tried the instructions from the candeo page? After firmware update I had to use the opt button on the device to switch back to the DIM mode (red led) and after this I have removed the device from Zigbee2MQTT (via hitting the trashcan button in the frontend) and activated the pairing in Zigbee2MQTT. After some minutes it appears as DIMable device again.

atl285 avatar Sep 10 '25 18:09 atl285

I've disabled the OTA for now and will take action to make sure this cannot happen again

I’m experiencing the same issue with the GL-C-002P.

I attempted to send a downgrade payload as described here: Koenkk/zigbee-OTA#827. However, since the device model has changed, it now reports that OTA updates are not supported.

Is there any way to force a downgrade command?

To make z2m detect the device correctly:

  • Stop z2m
  • In the data/database.db change the modelId for this device to GL-C-002P (note that 2 occurrences have to be changed)
  • Start z2m.

Koenkk avatar Sep 10 '25 18:09 Koenkk

I've disabled the OTA for now and will take action to make sure this cannot happen again

I’m experiencing the same issue with the GL-C-002P. I attempted to send a downgrade payload as described here: Koenkk/zigbee-OTA#827. However, since the device model has changed, it now reports that OTA updates are not supported. Is there any way to force a downgrade command?

To make z2m detect the device correctly:

* Stop z2m

* In the `data/database.db` change the modelId for this device to `GL-C-002P` (note that 2 occurrences have to be changed)

* Start z2m.

The Gl-C-002P changes names depending on the mode we put it in. I'm using it in simple WW/CW mode, so in the database.db I changed the manufName to Gledopto and the modelId to Gl-C-006P in both places. manufId seems to be the same for both Candeo and Gledopto so left that in place. Upon starting up Z2M it came up OK. Thanks!

boardlord1 avatar Sep 10 '25 19:09 boardlord1

@Koenkk Thank you, I did it! And it worked. But I also changed, the "manufName":"GLEDOPTO" and "modelId":"GL-C-006P" (for me)

Image

Should I downgrade after that? Just because the firmware is Candeo, it will still fail to recognize the Z2M when you try to pair it again.

Update: I tried with downgrade but nothing happend.

Topic:
zigbee2mqtt/bridge/request/device/ota_update/update/downgrade
Payload:
{"id": "0xa4c138ba82b0af67"}

litecross91 avatar Sep 10 '25 19:09 litecross91