Skip to content

Files

Latest commit

cdda156 · Nov 1, 2020

History

History
106 lines (85 loc) · 3.59 KB

GL-C-008-2ID.md

File metadata and controls

106 lines (85 loc) · 3.59 KB
title description
Gledopto GL-C-008-2ID control via MQTT
Integrate your Gledopto GL-C-008-2ID via Zigbee2MQTT with whatever smart home infrastructure you are using without the vendors bridge or gateway.

To contribute to this page, edit the following file

Gledopto GL-C-008-2ID

| Model | GL-C-008-2ID | | Vendor | Gledopto | | Description | Zigbee LED controller RGB + CCT (2 ID) | | Supports | on/off, brightness, color temperature, color xy | | Picture | Gledopto GL-C-008-2ID |

Notes

Pairing

  1. Switch on your device.
  2. Now switch off and on within 2 seconds.
  3. Repeat off/on four times.
  4. Reset is done when the device is switched on in the fifth time and the light stays on after blinking 4 times

2ID handling

This device exposes the two specific endpoints rgb and cct. The command topics are zigbee2mqtt/<FRIENDLY_NAME>/rgb/set, and zigbee2mqtt/<FRIENDLY_NAME>/cct/set. Both specific endpoints can be added to a group. These endpoints are <FRIENDLY_NAME>/rgb, and <FRIENDLY_NAME>/cct.

Device type specific configuration

How to use device type specific configuration

  • transition: Controls the transition time (in seconds) of on/off, brightness, color temperature (if applicable) and color (if applicable) changes. Defaults to 0 (no transition). Note that this value is overridden if a transition value is present in the MQTT command payload.

  • hue_correction: (optional) Corrects hue values based on a correction map for matching color rendition to other lights. Provide a minimum of 2 data sets in the correction map. To build a map:

    • choose one of your other lights to be the color reference
    • send a sample color to both lights (reference and non-reference)
    • modify hue value for non-reference light until it color matches the reference light
    • take note of the in and out values, where
      • in is the hue value you sent to your reference light
      • out is the hue value you had to dial your non-reference light to
    • repeat with a few other sample colors (4-5 should suffice)

    Example correction map:

    hue_correction:
        - in: 28
            out: 45
        - in: 89
            out: 109
        - in: 184
            out: 203
        - in: 334
            out: 318

Manual Home Assistant configuration

Although Home Assistant integration through MQTT discovery is preferred, manual integration is possible with the following configuration:

{% raw %}

light:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    brightness: true
    color_temp: false
    xy: true
    hs: false
    schema: "json"
    command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/rgb/set"
    brightness_scale: 254
    state_topic_postfix: "rgb"

light:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    brightness: true
    color_temp: true
    xy: false
    hs: false
    schema: "json"
    command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/cct/set"
    brightness_scale: 254
    state_topic_postfix: "cct"

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    unit_of_measurement: "lqi"
    value_template: "{{ value_json.linkquality }}"
    icon: "mdi:signal"

{% endraw %}