sahilchaddha / homebridge-yeelight-platform

Homebridge plugin for Yeelight Lights supporting Scenes/Moods/Color Flow/Custom Presets/Music Flow/Night Mode
MIT License
58 stars 7 forks source link

Yeelight JIAOYUE support #16

Open Paulxp opened 5 years ago

Paulxp commented 5 years ago

Hi, I use your plugin everyday, good job, really. But support for Yeelight JIAOYUE 650 is not good. It's possible to turn it on/off, set brightness but there is not option to set custom colour of LED strip at top of light. Yeelight application has this option, but it can't be controlled by Homekit. Also theres an option for nigh mode and basic mode. Night mode can down brightness in few more steps - better adjustments.

This lamp - https://www.gearbest.com/deckenleuchte/pp_1119115.html?vip=4265984&gclid=Cj0KCQiAk-7jBRD9ARIsAEy8mh5Tlw21UZLQVkW9YFV_nY8SgOMdVZe7PCRJtvyFWZfaCUjVBmDNNJEaArL3EALw_wcB

quartist commented 5 years ago

Hi,

I have three Yeelight JIAOYUE 480 lamps. Could you send me an config for this lamp? How to menage via IP address? In config-sample.json I don't see any IP parameter. How this app send actions to the correct lamp?

jayanezj commented 4 years ago

@sahilchaddha I join the request, will there be support to control the LED strip at some point?

Thank you

jayanezj commented 4 years ago

Some info from my Jiaoyue device, it seems that led stripe controls has 'bg_' prefix

    "ip": "XXX.XXX.XXX.XXX",
    "port": 55443,
    "capabilities": {
      "id": "0x000000000XXXXXXX",
      "model": "ceiling4",
      "fw_ver": "53",
      "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 bg_set_scene 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": "5200",
      "rgb": "0",
      "hue": "0",
      "sat": "0",
      "name": ""
    }
  }