Yeelight led ceiling light compatible with HA


#81

@DonTomato How do you cancel the moon light mode?


#82

I don’t - but thats how it works with the yeelight app, too. If you just toggle on with a button it uses the last active mode, moon or sun.
I rarely do switch modes manually, but if I do I use the bt-remote.
In home-assistant if not specified using light.turn_on it always starts in sun-mode. I like it that way!

I hope thats what you actually asked :smiley:


#83

Hi,
i have a yeelight led ceiling light with name 'yeelink-light-ceiling2_mibt62244692._miio._udp.local’
in dashboard it is autodiscovered in light group with name yeelight_UNKNOWN_34ce00b96d9c, its possible to integrate/manage it in hassio?


#84

Are you able to control the device? Select the entity and call the turn_on/turn_off service. Could you provide a model name / product page of your device? I will update the auto-discovery if the device works fine already.


#85

Speaking of auto-discovery… My normal yeelights started being auto discovered a while ago - is this going to continue (so I should remove the manual addressing etc of the component as it’s not needed anymore)

lights.yaml

- platform: yeelight
  devices:
    10.90.11.47:
      name: Fan Light
      transition: 1000
    10.90.11.7:
      name: Meals Area Light
      transition: 1000

customize.yaml

light.yeelight_white_34ce00882e27:
  hidden: true
light.yeelight_white_34ce00887db6:
  hidden: true

configuration.yaml

# Google Assistant
google_assistant:
  project_id: !secret ga_project
  client_id: !secret ga_client
  access_token: !secret ga_access
  agent_user_id: !secret agent
  api_key: !secret api-ga
  exposed_domains:
    - switch
    - light
    - scene
  entity_config:
    light.fan_light:
      expose: false
    light.yeelight_white_34ce00882e27:
      expose: false
    light.meals_area_light:
      expose: false
    light.yeelight_white_34ce00887db6:
      expose: false
    light.office_light_group:
      expose: false

So I’d remove them from light.yaml, unhide in customize and delete from config?


#86

@DavidFW1960 Yep. Give it a try! :slight_smile: The duplicate entities is a bug nevertheless. The code change for unique id support is pretty big for the yeelight component in my opinion and the “device unavailable” feature gets lost then.


#87

I can’t control it, i have try but it not work:
image

I have buyed this:
https://www.gearbest.com/flush-ceiling-lights/pp_687742.html


#88

@brizzz Did you enable the developer mode/it’s possible to enable the developer mode?


#89

Yesss, now i have enabled ‘Lan Mode’ from Yeelight App and lamp work. Thanks


#90

I report that this model support only Brightness change, it not support rgb color, Color Temperature and Effect.


#91

Could you provide a screenshot of /dev-state? I would like to know the value of the supported_feature attribute.


#92

Could you provide the model name of the device?

cp. https://www.home-assistant.io/components/light.yeelight/

YLDD02YL: Lightstrip (Color)
MJCTD01YL: Xiaomi Mijia Bedside Lamp - WIFI Version!
MJTD01YL: Xiaomi Mijia Smart LED Desk Lamp (autodiscovery isn’t possible because the device doesn’t support mDNS due to the small amount of RAM)

#93

the model name is: YLXD01YL


#94


#95

Hi,

I have few yeelight, like white bulbs, or bedside lamp. Now with lastest versión of HA (0.65.5) i can’t switch on light (when i switch on, automatically turn off).

Someone have the same problem with last version of HA? Maybe i’m doing something wrong?

I create this topic about this problem.
https://community.home-assistant.io/t/ha-version-0-65-5-errors-with-yeelight-bulb-light/47437/3

thanks


#96

Mine work just fine. And I have all of their products, more or less.
Did your IP addresses change, or something like that?


#97

The firmware of the yeelight was outdated.


#98

Wohoooo finally no more errors regarding the ceiling lamps in the log! :smiley:
Thanks @syssi for all your help!

Now I just have 3 more error messages on startup, but I think those are probably common (desk lamp error probably cause of that discovery issue)?:

Error doing job: Task was destroyed but it is pending!
22:25 core.py (ERROR)

Failed to connect to bulb 192.168.1.6, Office Desk Lamp: Bulb closed the connection.
22:24 components/light/yeelight.py (ERROR)

Setup of xiaomi_aqara is taking over 10 seconds.
22:24 bootstrap.py (WARNING)

Where do I start with these? :slight_smile:


#99

Hi and Happy Easter,

I just updated to 0.66 and deleted the custom component by syssi but now I cannot access the moon mode anymore :smiley:
Whats the right service? I tried the night_light_mode_on but no success :frowning:


#100

The new service isn’t part of HA 0.66. It will be introduced with HA 0.67.