zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

How to pair Gledopto

Open khzd opened this issue 8 years ago • 27 comments

Hello Got a Gledopto and would like to know how to pair it Any one do this operation ? Thanks

khzd avatar Nov 10 '18 12:11 khzd

Any news ?

khzd avatar Nov 12 '18 18:11 khzd

@kirovilya do you have this device?

Koenkk avatar Nov 12 '18 19:11 Koenkk

@Koenkk no, but I know who has :) We tried 2 devices: 007 - connected correctly and worked (although 008 is written in the converters) 008 - connected without the model name - did not work

I think the whole reason is either ZLL or Zigbee 3.0.

kirovilya avatar Nov 12 '18 20:11 kirovilya

Thanks @kirovilya if you can share how to pair it ? Cheers

khzd avatar Nov 14 '18 20:11 khzd

Thanks @kirovilya if you can share how to pair it ? Thanks @Koenkk for your support Cheers

khzd avatar Nov 14 '18 20:11 khzd

Hi all, here is the procedure Ensure the zigbee2mqtt enable pairing (see wiki) put the Gledopto close to the coordinator swich on and off 5 times the Gledopto the Gledopto joins the network after tree retries :) , more if necessary Thanks @Koenkk for this great job

khzd avatar Nov 17 '18 13:11 khzd

Help

I get it paired but I cannot control it with HA: after pairing (I had to add the ModelId in the DB) : 2018-11-17 19:07:29 - info: rgbcct_01 (0x00124b001ad70f04): GL-C-008 - Gledopto Zigbee LED controller RGB + CCT (Router)

I got systematically :
2018-11-17 19:07:30 - debug: Recieved mqtt message on topic 'zigbee2mqtt/rgbcct_01/set' with data '{"state": "ON"}' 2018-11-17 19:07:30 - info: Zigbee publish to '0x00124b001ad70f04', genOnOff - on - {} - null 2018-11-17 19:08:00 - error: Zigbee publish to '0x00124b001ad70f04', genOnOff - on - {} - null failed with error Error: Timed out after 30000 ms

in the log , I have some lines !!! 2018-11-17 19:11:31 - debug: Recieved zigbee message of type 'devInterview' with data '"0x00124b001ad70f04"' 2018-11-17 19:11:31 - debug: Recieved zigbee message of type 'devInterview' with data '"0x00124b001ad70f04"' 2018-11-17 19:11:31 - debug: Recieved zigbee message of type 'devInterview' with data '"0x00124b001ad70f04"' 2018-11-17 19:11:31 - debug: Recieved zigbee message of type 'devInterview' with data '"0x00124b001ad70f04"' 2018-11-17 19:11:31 - debug: Recieved zigbee message of type 'devInterview' with data '"0x00124b001ad70f04"' 2018-11-17 19:11:31 - debug: Recieved zigbee message of type 'devInterview' with data '"0x00124b001ad70f04"'

khzd avatar Nov 17 '18 20:11 khzd

Any news? I have the device and I was able to have it connected to the zigbee network but now I don't understand how do I control it on home-assistant. Any idea?

dcsg avatar Dec 22 '18 09:12 dcsg

Any news? I have the device and I was able to have it connected to the zigbee network but now I don't understand how do I control it on home-assistant. Any idea?

So you got it paired! Do you have modelID or it is 'undefined' ? If you got model ID, you can try in Home assistant:

light: - platform: "mqtt" name: "Gledopto" # Change to your model name state_topic: "zigbee2mqtt/0x00124b001b6aea81" # Change to your device ID or friendly name availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true xy: true command_topic: "zigbee2mqtt/0x00124b001b6aea81/set" # Change to your device ID or friendly name

I have GLEDOPTO, but couldn't connect because it's doesn't provide modelID: https://github.com/Koenkk/zigbee2mqtt/issues/682

DJTerentjev avatar Dec 22 '18 10:12 DJTerentjev

Indeed! I got the same :/

  zigbee2mqtt:warn 2018-12-22 10:48:56 Device with modelID 'undefined' is not supported.
  zigbee2mqtt:warn 2018-12-22 10:48:56 Please see: https://koenkk.github.io/zigbee2mqtt/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 2018-12-22 10:48:56 Device with modelID 'undefined' is not supported.
  zigbee2mqtt:warn 2018-12-22 10:48:56 Please see: https://koenkk.github.io/zigbee2mqtt/how_tos/how_to_support_new_devices.html

dcsg avatar Dec 22 '18 10:12 dcsg

How long have you paired it? It took my Xiaomi devices almost a minute to actually fully pair. Often there were multiple Device with modelID 'undefined' is not supported. messages and it only works after the Device incoming... message. During this i had to constantly press the reset button as you have to do it for Xiaomi devices.

zigbee2mqtt:info 20.12.2018, 21:26:13 New device with address 0x00158d0002451e22 connected!
zigbee2mqtt:info 20.12.2018, 21:26:13 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":"0x00158d0002451e22"}'
zigbee2mqtt:warn 20.12.2018, 21:26:13 Device with modelID 'undefined' is not supported.
zigbee2mqtt:warn 20.12.2018, 21:26:13 Please see: https://koenkk.github.io/zigbee2mqtt/how_tos/how_to_support_new_devices.html
zigbee2mqtt:info 20.12.2018, 21:26:14 MQTT publish: topic 'homeassistant/sensor/0x00158d0002451e22/temperature/config', payload '{"unit_of_measurement":"°C","device_class":"temperature","value_template":"{{ value_json.temperature }}","json_at>
zigbee2mqtt:info 20.12.2018, 21:26:14 MQTT publish: topic 'homeassistant/sensor/0x00158d0002451e22/humidity/config', payload '{"unit_of_measurement":"%","device_class":"humidity","value_template":"{{ value_json.humidity }}","json_attributes":>
zigbee2mqtt:warn 20.12.2018, 21:26:14 Message without device!
zigbee2mqtt:warn 20.12.2018, 21:26:15 Message without device!
zigbee2mqtt:warn 20.12.2018, 21:26:17 Message without device!
zigbee2mqtt:warn 20.12.2018, 21:26:18 Message without device!
zigbee2mqtt:warn 20.12.2018, 21:26:20 Message without device!
zigbee2mqtt:warn 20.12.2018, 21:26:21 Message without device!
zigbee2mqtt:warn 20.12.2018, 21:26:22 Message without device!
zigbee2mqtt:warn 20.12.2018, 21:26:24 Message without device!
zigbee2mqtt:warn 20.12.2018, 21:26:25 Message without device!
zigbee2mqtt:warn 20.12.2018, 21:26:26 Message without device!
zigbee2mqtt:warn 20.12.2018, 21:26:28 Message without device!
zigbee2mqtt:warn 20.12.2018, 21:26:29 Message without device!
zigbee2mqtt:warn 20.12.2018, 21:26:31 Message without device!
zigbee2mqtt:warn 20.12.2018, 21:26:32 Message without device!
zigbee2mqtt:warn 20.12.2018, 21:26:33 Message without device!
zigbee2mqtt:info 20.12.2018, 21:26:33 Device incoming...
zigbee2mqtt:info 20.12.2018, 21:26:33 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"device incoming"}'
zigbee2mqtt:info 20.12.2018, 21:26:58 MQTT publish: topic 'zigbee2mqtt/0x00158d0002451e22', payload '{"temperature":26.38,"linkquality":136}'
zigbee2mqtt:info 20.12.2018, 21:26:58 MQTT publish: topic 'zigbee2mqtt/0x00158d0002451e22', payload '{"temperature":26.38,"linkquality":136,"humidity":64.31}'

sehraf avatar Dec 22 '18 11:12 sehraf

I tried 3 or 4 times, but then I added some data in database.db and it seems to recognize it but does not accept the commands :/

zigbee2mqtt:error 2018-12-22 11:15:50 Zigbee publish to '0x00124b001ad74041', genOnOff - on - {} - {"manufSpec":0,"disDefaultRsp":0} - 12 failed with error Error: AF data request fails, status code: 233. MAC no ack.

dcsg avatar Dec 22 '18 11:12 dcsg

This kind of error (status code: 233. MAC no ack.) I am getting in case device is off and zigbee2mqtt can't find it. Try to move it closer.

DJTerentjev avatar Dec 22 '18 11:12 DJTerentjev

I don't have errors anymore when sending commands but I cannot control it 🤔 this is my configuration in home assistant:

light:
  - platform: "mqtt"
    name: "Gledopto" # Change to your model name
    state_topic: "zigbee2mqtt/0x00124b001ad74041" # Change to your device ID or friendly name
    availability_topic: "zigbee2mqtt/bridge/state"
    brightness: true
    color_temp: true
    xy: true
    command_topic: "zigbee2mqtt/0x00124b001ad74041

image

Should it have the possibility to control the RGB of the Led?

dcsg avatar Dec 22 '18 11:12 dcsg

also I'm having some of those:

 zigbee2mqtt:warn 2018-12-22 11:34:37 Message without device!
 zigbee2mqtt:warn 2018-12-22 11:35:07 Message without device!

My database records:

{"id":15,"type":"Router","ieeeAddr":"0x00124b001ad74041","nwkAddr":29112,"manufId":0,"manufName":"GLEDOPTO","powerSource":"Mains (single phase)","modelId":"GLEDOPTO","epList":[11,12,13],"status":"online","joinTime":1545477621,"endpoints":{"11":{"profId":49246,"epId":11,"devId":528,"inClusterList":[0,3,4,5,6,8,768],"outClusterList":[],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genGroups":{"dir":{"value":1},"attrs":{}},"genScenes":{"dir":{"value":1},"attrs":{}},"genOnOff":{"dir":{"value":1},"attrs":{}},"genLevelCtrl":{"dir":{"value":1},"attrs":{}},"lightingColorCtrl":{"dir":{"value":1},"attrs":{}}}},"12":{"profId":260,"epId":12,"devId":258,"inClusterList":[0,3,4,5,6,8,768],"outClusterList":[],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genGroups":{"dir":{"value":1},"attrs":{}},"genScenes":{"dir":{"value":1},"attrs":{}},"genOnOff":{"dir":{"value":1},"attrs":{}},"genLevelCtrl":{"dir":{"value":1},"attrs":{}},"lightingColorCtrl":{"dir":{"value":1},"attrs":{}}}},"13":{"profId":49246,"epId":13,"devId":57694,"inClusterList":[4096],"outClusterList":[4096],"clusters":{"lightLink":{"dir":{"value":3},"attrs":{}}}}},"_id":"ODcbM2hu84iXDuLd"}
{"id":15,"type":"Router","ieeeAddr":"0x00124b001ad74041","nwkAddr":29112,"manufId":0,"manufName":"GLEDOPTO","powerSource":"Mains (single phase)","modelId":"GLEDOPTO","epList":[11,12,13],"status":"offline","joinTime":null,"endpoints":{"11":{"profId":49246,"epId":11,"devId":528,"inClusterList":[0,3,4,5,6,8,768],"outClusterList":[],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genGroups":{"dir":{"value":1},"attrs":{}},"genScenes":{"dir":{"value":1},"attrs":{}},"genOnOff":{"dir":{"value":1},"attrs":{}},"genLevelCtrl":{"dir":{"value":1},"attrs":{}},"lightingColorCtrl":{"dir":{"value":1},"attrs":{}}}},"12":{"profId":260,"epId":12,"devId":258,"inClusterList":[0,3,4,5,6,8,768],"outClusterList":[],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genGroups":{"dir":{"value":1},"attrs":{}},"genScenes":{"dir":{"value":1},"attrs":{}},"genOnOff":{"dir":{"value":1},"attrs":{}},"genLevelCtrl":{"dir":{"value":1},"attrs":{}},"lightingColorCtrl":{"dir":{"value":1},"attrs":{}}}},"13":{"profId":49246,"epId":13,"devId":57694,"inClusterList":[4096],"outClusterList":[4096],"clusters":{"lightLink":{"dir":{"value":3},"attrs":{}}}}},"_id":"ODcbM2hu84iXDuLd"}
{"id":15,"type":"Router","ieeeAddr":"0x00124b001ad74041","nwkAddr":29112,"manufId":0,"manufName":"GLEDOPTO","powerSource":"Mains (single phase)","modelId":"GLEDOPTO","epList":[11,12,13],"status":"online","joinTime":1545478357,"endpoints":{"11":{"profId":49246,"epId":11,"devId":528,"inClusterList":[0,3,4,5,6,8,768],"outClusterList":[],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genGroups":{"dir":{"value":1},"attrs":{}},"genScenes":{"dir":{"value":1},"attrs":{}},"genOnOff":{"dir":{"value":1},"attrs":{}},"genLevelCtrl":{"dir":{"value":1},"attrs":{}},"lightingColorCtrl":{"dir":{"value":1},"attrs":{}}}},"12":{"profId":260,"epId":12,"devId":258,"inClusterList":[0,3,4,5,6,8,768],"outClusterList":[],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genGroups":{"dir":{"value":1},"attrs":{}},"genScenes":{"dir":{"value":1},"attrs":{}},"genOnOff":{"dir":{"value":1},"attrs":{}},"genLevelCtrl":{"dir":{"value":1},"attrs":{}},"lightingColorCtrl":{"dir":{"value":1},"attrs":{}}}},"13":{"profId":49246,"epId":13,"devId":57694,"inClusterList":[4096],"outClusterList":[4096],"clusters":{"lightLink":{"dir":{"value":3},"attrs":{}}}}},"_id":"ODcbM2hu84iXDuLd"}

Is it normal to have 3 records?

dcsg avatar Dec 22 '18 11:12 dcsg

I got it to work when I can the publish.mqtt service with this message:

{"topic": "zigbee2mqtt/0x00124b001ad74041/set", "payload": "{\"state\":\"ON\",\"color\":{\"x\":0.501,\"y\":0.599},\"color_temp\":211,\"brightness\":52}"}

So I guess my homeassistant configuration is not correct, any ideas?

dcsg avatar Dec 22 '18 11:12 dcsg

Daniel, I am also new to this. I just check and I have same error (although it was working before ). But I have additionally in HA:

mqtt: discovery: true broker: 192.168.1.51 port: 1883 username: djterentjev password: 11111111

birth_message: topic: 'hass/status' payload: 'online' will_message: topic: 'hass/status' payload: 'offline'

And I it give me second atuo-discovered record (0x00124b001b6aea81): default

My HA 0.84.1 - recently the were some changes

I am not sure if it is OK to have 3 record in DB, but I have 3 for each devise.

DJTerentjev avatar Dec 22 '18 11:12 DJTerentjev

Got it to work 🎉

dcsg avatar Dec 22 '18 12:12 dcsg

Good! What exact model of your Gledopto?

DJTerentjev avatar Dec 22 '18 12:12 DJTerentjev

@DJTerentjev RGB+CCT

dcsg avatar Dec 22 '18 12:12 dcsg