stas-demydiuk / domoticz-zigbee2mqtt-plugin

zigbee2mqtt plugin for domoticz
MIT License
136 stars 99 forks source link

`Skydance WZ5_rgbcct` feature support #824

Closed MiloshCZ closed 1 year ago

MiloshCZ commented 1 year ago

Feature description Please add support for Skydance WZ5_rgbcct. It is recognized as CCT dimmer, but it is RGBCCT.

Feature definition

{
  "date_code" : "",
  "definition" : {
    "description" : "Zigbee & RF 5 in 1 LED controller (RGB+CCT mode)",
    "exposes" : [ {
      "features" : [ {
        "access" : 3,
        "description" : "On/off state of this light",
        "name" : "state",
        "property" : "state",
        "type" : "binary",
        "value_off" : "OFF",
        "value_on" : "ON",
        "value_toggle" : "TOGGLE"
      }, {
        "access" : 3,
        "description" : "Brightness of this light",
        "name" : "brightness",
        "property" : "brightness",
        "type" : "numeric",
        "value_max" : 254,
        "value_min" : 0
      }, {
        "description" : "Color of this light expressed as hue/saturation",
        "features" : [ {
          "access" : 7,
          "name" : "hue",
          "property" : "hue",
          "type" : "numeric"
        }, {
          "access" : 7,
          "name" : "saturation",
          "property" : "saturation",
          "type" : "numeric"
        } ],
        "name" : "color_hs",
        "property" : "color",
        "type" : "composite"
      }, {
        "access" : 3,
        "description" : "Color temperature of this light",
        "name" : "color_temp",
        "presets" : [ {
          "description" : "Coolest temperature supported",
          "name" : "coolest",
          "value" : 250
        }, {
          "description" : "Cool temperature (250 mireds / 4000 Kelvin)",
          "name" : "cool",
          "value" : 250
        }, {
          "description" : "Neutral temperature (370 mireds / 2700 Kelvin)",
          "name" : "neutral",
          "value" : 370
        }, {
          "description" : "Warm temperature (454 mireds / 2200 Kelvin)",
          "name" : "warm",
          "value" : 454
        }, {
          "description" : "Warmest temperature supported",
          "name" : "warmest",
          "value" : 454
        } ],
        "property" : "color_temp",
        "type" : "numeric",
        "unit" : "mired",
        "value_max" : 454,
        "value_min" : 250
      } ],
      "type" : "light"
    }, {
      "access" : 3,
      "description" : "White brightness of this light",
      "name" : "white_brightness",
      "property" : "white_brightness",
      "type" : "numeric",
      "value_max" : 254,
      "value_min" : 0
    }, {
      "access" : 1,
      "description" : "Link quality (signal strength)",
      "name" : "linkquality",
      "property" : "linkquality",
      "type" : "numeric",
      "unit" : "lqi",
      "value_max" : 255,
      "value_min" : 0
    } ],
    "model" : "WZ5_rgbcct",
    "options" : [ ],
    "supports_ota" : false,
    "vendor" : "Skydance"
  },
  "endpoints" : {
    "1" : {
      "bindings" : [ ],
      "clusters" : {
        "input" : [ "genBasic", "genGroups", "genScenes", "manuSpecificTuya" ],
        "output" : [ "genOta", "genTime" ]
      },
      "configured_reportings" : [ ],
      "scenes" : [ ]
    }
  },
  "friendly_name" : "RGBCCT LED stripe",
  "ieee_address" : "0x84ba20fffe588e31",
  "interview_completed" : true,
  "interviewing" : false,
  "manufacturer" : "_TZE200_aa9awrng",
  "model_id" : "TS0601",
  "network_address" : 26611,
  "power_source" : "Mains (single phase)",
  "supported" : true,
  "type" : "Router"
}

Device state

{
  "brightness": 254,
  "color": {
    "h": 60,
    "hue": 60,
    "s": 1,
    "saturation": 1
  },
  "color_mode": "hs",
  "color_temp": 454,
  "last_seen": 1664279761490,
  "linkquality": 83,
  "state": "OFF",
  "white_brightness": 8
}

Related Devices https://www.zigbee2mqtt.io/devices/WZ5_rgbcct.html#skydance-wz5_rgbcct

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.