vvpossible / homebridge_yeelight

Yeelight plugin for homebridge
303 stars 59 forks source link

Yeelight YLXD50YL support (ceiling20) #82

Open eliac7 opened 4 years ago

eliac7 commented 4 years ago

Hello, I just installed Homebridge and Homebridge_Yeelight to control my ceiling lamp (YEELIGHT YLXD50YL with code name ceiling20). I inserted that on config.json of Homebridge

  "platforms": [
    {
      "platform": "yeelight",
      "name": "Yeelight"
    }
  ]
}

And found these parameters:

[6/5/2020, 11:02:40 AM] [Yeelight] Received advertisement from XXXXX .
[6/5/2020, 11:02:40 AM] [Yeelight] Device ceiling20-XXXXX supports moonlight mode
[6/5/2020, 11:02:40 AM] [Yeelight] Device ceiling20-XXXXX supports brightness
[6/5/2020, 11:02:40 AM] [Yeelight] Device ceiling20-XXXXX  supports color temperature
[6/5/2020, 11:02:40 AM] [Yeelight] Initialized device  (192.XXX.XXX.XXXX:55443).
[6/5/2020, 11:02:40 AM] [Yeelight] Received advertisement from XXXXX .

But it has these attributes totally (including the Ambilight color), which Homebridge_Yeelight didn't find:

[{'ip': 'XXXXXX', 'port': 55443, 'capabilities': {'id': '0x00000000XXXXXX', 'model': 'ceiling20', 'fw_ver': '20', 'support': 'get_prop set_default set_power toggle set_bright set_scene cron_add cron_get cron_del start_cf stop_cf set_ct_abx set_name set_adjust adjust_bright adjust_ct bg_set_rgb bg_set_hsv bg_set_ct_abx bg_start_cf bg_stop_cf set_scene_bundle bg_set_default bg_set_power bg_set_bright bg_set_adjust bg_adjust_bright bg_adjust_color bg_adjust_ct bg_toggle dev_toggle', 'power': 'on', 'bright': '100', 'color_mode': '2', 'ct': '6500', 'rgb': '0', 'hue': '0', 'sat': '0', 'name': ''}}]

Any ideas on how to import it or when there will be support for this?