Open niklasfink opened 8 months ago
^^^^^^^^^^^
Also can't seem to do anythng to hack it into existence
Hi. Just bought GLEDOPTO GL-C-201P LED Controller and I was able to pair it with Z2M, but not with the correct model. Actually, Z2M identifies GL-C-201P as GL-C-008P.
But there is a big problem: GL-C-201P model has a push button interface to attach an external switch, so on/off can be also controlled by this external switch. Since Z2M does not recognize the correct controller model, when external switch is used, on/off states are not passed to Z2M, then the real state is not reflected to Home Assistant. I mean, if you turn on/off the controller using external switch, Z2M does not know it.
Would appreciate if Z2M team take a look at it.
Thank you.
Hi @niklasfink.
When using ZHA, it pairs immediately. And depending on the mode you select on the device, it pairs as a different controller type. (Dimmer only gives Brightness/OnOff, CCT gives white temp control, RGB gives color control via ZigBee and so on)
Pairing GL-C-201P with ZHA, are you able have state (on/off) synchronized with Home Assistant when using external push switch?
Thanks.
Hi. Just bought GLEDOPTO GL-C-201P LED Controller and I was able to pair it with Z2M, but not with the correct model. Actually, Z2M identifies GL-C-201P as GL-C-008P.
But there is a big problem: GL-C-201P model has a push button interface to attach an external switch, so on/off can be also controlled by this external switch. Since Z2M does not recognize the correct controller model, when external switch is used, on/off states are not passed to Z2M, then the real state is not reflected to Home Assistant. I mean, if you turn on/off the controller using external switch, Z2M does not know it.
Would appreciate if Z2M team take a look at it.
Thank you.
Any update on this? I'm having the same problem. Both eight of this for my renovation project.
Does it work when configuring reporting for onOff
?
Yes, thank you a lot.
Does it work when configuring reporting for
onOff
?
It seems to work properly after configuring like you suggested. Now, ON/OFF state is passed from device to Z2M even when external switch is pressed. Will do more tests later. Thank you.
its a 5in1 Controller, so in will not be found as a GL-C-201P. It will use the same FW and ID like the normal ones C-007P, C-008P, etc. It depends on the mode you set, dimmer, CCT, RGB, RGBW or RGB-CCT. Important, first set the mode you need, after that start pairing!
I have been testing the GL-C-201P (current in the GL-C-006P mode) device for a few weeks now. One thing I noticed is the inconsistency in brightness value when external button is used.
If controller is turned off through Home Assistant and then later turned on using external push button, light brightness on startup is always set to 2%, what was not the last brightness value. It might be caused by the behavior below.
When controller is turned on/off using external push button:
ON
[2024-06-26 09:31:48] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/LED Home Sala', payload '{"action":"","brightness":253,"color_mode":"color_temp","color_temp":500,"color_temp_startup":65535,"last_seen":"2024-06-26T09:31:48-03:00","linkquality":248,"state":"ON","update":{"installed_version":620834817,"latest_version":620834817,"state":"idle"},"update_available":null}'
OFF - here the brightness value is NOT zero, as expected
[2024-06-26 09:32:02] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/LED Home Sala', payload '{"action":"","brightness":253,"color_mode":"color_temp","color_temp":500,"color_temp_startup":65535,"last_seen":"2024-06-26T09:32:02-03:00","linkquality":248,"state":"OFF","update":{"installed_version":620834817,"latest_version":620834817,"state":"idle"},"update_available":null}'
When controller is turned on/off through Home Assistant:
ON
[2024-06-26 09:32:36] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/LED Home Sala', payload '{"brightness":253,"color_mode":"color_temp","color_temp":500,"color_temp_startup":65535,"last_seen":"2024-06-26T09:32:36-03:00","linkquality":255,"state":"ON","update":{"installed_version":620834817,"latest_version":620834817,"state":"idle"},"update_available":null}'
OFF - here the brightness value is ZERO, so the current brightness is not kept when controller is turned ON later
[2024-06-26 09:33:17] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/LED Home Sala', payload '{"brightness":0,"color_mode":"color_temp","color_temp":500,"color_temp_startup":65535,"last_seen":"2024-06-26T09:33:17-03:00","linkquality":252,"state":"OFF","update":{"installed_version":620834817,"latest_version":620834817,"state":"idle"},"update_available":null}'
Maybe a solution could be to create a "Brightness value startup", as "Color temp startup", so user can set "previous" to brightness value as well.
@rp2019433 does you solve the problem? I have the same :(
@rp2019433 does you solve the problem? I have the same :(
Hi. I've done some changes (below). Still testing the results.
@rp2019433 a have made the same, but it doesnt have effect. now only brightness level publish in mqtt. I made fix with automation. but it is very ugly...need better solution
`- id: '1720187164195' alias: test push dim description: '' trigger:
I'm using the Adaptive Lighting integration from HACS, and it works perfectly when controlling the lights through the Home Assistant app. However, I'm encountering an issue with physical switches. When I press the physical button, the light state changes to the last known state rather than following the adaptive lighting settings.
For example, if I turn off the lights through the app at night when the brightness is at 2%, and then the next day I press the physical switch, the light turns on at 2% brightness instead of adjusting to the current adaptive lighting settings.
Is there any walkaround for this problem?
I can't even get it to pair with my HA via Z2M :-/ Tried to reset the thing several times but nothing happens when I try to pair.
Any Ideas? Some secret magic spell I have to say? ^^
I can't even get it to pair with my HA via Z2M :-/ Tried to reset the thing several times but nothing happens when I try to pair.
Any Ideas? Some secret magic spell I have to say? ^^
Hi. Device must pair with Z2M without any problem. I have several of them working. Check basic things like software versions running (Z2M, Dongle, HA, etc) and your logs to understand what is going on.
Z2M on HA -> both latest. Dongle is a Zonoff Zigbee 3.0 stick.. the older one. (TI chip I think)
Haven't done any firmware update of the coordinator because until now: never touch a running system 😅
The log file says basically nothing. There is not a single entry about the new device. Maybe it's DoA ?
The pairing process should be pretty straight forward?
1) set Z2M to allow join 2) power on led controller
Did I miss something?
cheers Michael
I tried is last week and it works. But there are something wrong by pairing and mode switching, most time it is wrong mode that is connected. Will explain later.
I use latests Z2M with ZigStar dongle, no Silicon Chip
Z2M on HA -> both latest. Dongle is a Zonoff Zigbee 3.0 stick.. the older one. (TI chip I think) Haven't done any firmware update of the coordinator because until now: never touch a running system 😅
The log file says basically nothing. There is not a single entry about the new device. Maybe it's DoA ?
The pairing process should be pretty straight forward?
- set Z2M to allow join
- power on led controller
Did I miss something?
cheers Michael
Hi. This is the procedure to pair the device:
Hi rp2019433, thanks for your message, but I think the image you sent me is not an procedure it is merely a description of what each button does. I scanned the manual I got with my zigbee controller. (please see below) There are two kinds of paring: Gateway Paring and Touch Link Pairing Mode. I tried both, reset the led controller probably a dozen times but no luck....
Hi rp2019433, thanks for your message, but I think the image you sent me is not an procedure it is merely a description of what each button does. I scanned the manual I got with my zigbee controller. (please see below) There are two kinds of paring: Gateway Paring and Touch Link Pairing Mode. I tried both, reset the led controller probably a dozen times but no luck....
It’s easy. Start searching for new devices, after that push the reset button for over 5 seconds till the led stripes flash. Now the software will find it.
btw. Don’t use touchlink for connecting with gateway.
It’s easy. Start searching for new devices, after that push the reset button for over 5 seconds till the led stripes flash. Now the software will find it.
That is what I've tried like 15 times so far - no luck. Nothing happens. No log entry, no error message in Z2M, just nothing. Maybe the led controller was DoA and I will just send it back to Mr. Bezos....
It’s easy. Start searching for new devices, after that push the reset button for over 5 seconds till the led stripes flash. Now the software will find it.
That is what I've tried like 15 times so far - no luck. Nothing happens. No log entry, no error message in Z2M, just nothing. Maybe the led controller was DoA and I will just send it back to Mr. Bezos....
I doubt that it’s a defective unit. I bought 6 of them and they all behave the same. After fiddling around with them for an hour I got an unreliable connection for one, after I have change the mode to RGBW and then it announced itself as a different Gledopto RGBW device. But never got it to work again afterwards with Z2M.
With ZHA it works, as written in my thread opening at the top.
Got myself a GL-C-008P. Works as expected. Either the GL-C-201P that I got was defective or Z2M support for the device is buggy, I guess.
Here is a video how to connect.
https://github.com/user-attachments/assets/09d8bd02-275b-4afe-92e0-7e9a459bc7f2
Here is a video how to connect. 2cb1e49f-f632-471c-84ad-4bd4f736fe48.mov
Thanks for the video! That is exactly what I tried several times. I guess my unit must have been defective...
Link
https://aliexpress.com/item/1005006217216495.html
Database entry
doesn't pair
Comments
The 5-in-1 PRO product combines different Gledopto LED Controllers into one. Unfortunately, it doesn't pair with Z2M. I tried it with two different ZigBee sticks, one of them being the Sonoff ZBDongle-E 3.0. When I click on permit join and restart the device, reset it, try any pairing button combination, nothing happens.
When using ZHA, it pairs immediately. And depending on the mode you select on the device, it pairs as a different controller type. (Dimmer only gives Brightness/OnOff, CCT gives white temp control, RGB gives color control via ZigBee and so on)
It would be great if Z2M could have the same smooth pairing with the Gledopto GL-C-201P as ZHA.
External definition