Xiaomi Yeelight E27 bulb component

good question.

I haven’t put any component in 0.35.3, I used the standard component. Shall I use this one?

In the app. Developer mode is only available after you update to the latest firmware. (that was the case for my white lights at least)

Click on a bulb in the app, in the next screen click the three bars in the upper right, in the next screen firmware should be an option. Click on firmware and the update should be available or it will say you are on the latest firmware. After the update a “Developer Mode” option should be available just above the firmware option.

the link disappeared

I did it in the MiHome app (I don;'t see it in the yeelight app).

The integration in HASS is working for a white lamp, a door sensor, 2 motion sensor).

What is not working is a RGB lamp that I put now. It is in the fron end, but turning On/OFF in front end does nothing.

No errors in log … ??

p.s. I did change the IP address during setup assigning a static IP in my router, but that should not be the problem … it works perfectly in the Mihome and Yeelight app

BTW so far I prefer the xiaomi bulbs to the hue bulbs … and they cost a third …

nothing whatever I do in the front end is not working. How to troubleshoot?

Are you on the HA release component or the other one from github?

The HA one supports only the RGB bulbs, the white bulbs work via automation but not front end switches.

The one from Github has been reported to work for the white bulbs but has anyone confirmed it works for the RGB bulbs?

I put under custom_components/light/yeelight.py from gifthub
AND
I have this in configuration (hallway left is the white bulb working; “living table lamp” and “tv room lamp” are RGB NOT working)

  - platform: yeelight
    automatic_add: False
    devices:
      192.168.1.203:
        name: Hallway left
      192.168.1.204:
        name: Living table lamp
      192.168.1.206:
        name: TV Room top lamp

is it for you the RGB yeelight working??

my model is YLDP02YL

I have your model and is not working. This in log when I turn on/off

17-01-11 22:29:31 homeassistant.core: Bus:Handling <Event call_service[L]: service=turn_on, service_data=entity_id=light.living_table_lamp, service_call_id=1977594288-52, domain=homeassistant>
17-01-11 22:29:31 homeassistant.core: Bus:Handling <Event call_service[L]: service=turn_on, service_data=entity_id=['light.living_table_lamp'], service_call_id=1977594288-53, domain=light>
17-01-11 22:29:31 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=light.living_table_lamp, old_state=<state light.living_table_lamp=off; friendly_name=Living table lamp, supported_features=51 @ 2017-01-11T22:29:28.408887+01:00>, new_state=<state light.living_table_lamp=on; color_temp=1700, rgb_color=(0, 0, 0), brightness=116, friendly_name=Living table lamp, supported_features=51 @ 2017-01-11T22:29:31.496524+01:00>>
17-01-11 22:29:31 homeassistant.core: Bus:Handling <Event service_executed[L]: service_call_id=1977594288-53>
17-01-11 22:29:31 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=group.living_room_lights, old_state=<state group.living_room_lights=off; order=15, entity_id=('group.ceiling_lights', 'group.chandelier_lights', 'light.iris', 'light.living_table_lamp'), friendly_name=Living room lights @ 2017-01-11T22:29:28.416775+01:00>, new_state=<state group.living_room_lights=on; order=15, entity_id=('group.ceiling_lights', 'group.chandelier_lights', 'light.iris', 'light.living_table_lamp'), friendly_name=Living room lights @ 2017-01-11T22:29:31.503573+01:00>>
17-01-11 22:29:31 homeassistant.core: Bus:Handling <Event service_executed[L]: service_call_id=1977594288-52>

Wow Thanks,

Add it to configuration.yaml: restart HA
17-01-12 00:22:18 homeassistant.loader: Unable to find component 192.168.31.214
17-01-12 00:22:18 homeassistant.loader: Unable to find component name
17-01-12 00:22:18 homeassistant.loader: Unable to find component devices
17-01-12 00:22:18 homeassistant.loader: Unable to find component lights
17-01-12 00:22:18 homeassistant.loader: Unable to find component transition

lights:
- platform: yeelight
devices:
10.0.0.51:
name: Living Room Light
transition: 600

need to check indentation, and the log

Anyone has a combination of RGB and WHITE yeelight that is working?

This what the log say…

mmhh you gave a static address to your Living Room Light Bulb?

why devices are looked in 192.168.31.214 and your device is in 10.0.0.51 … I think your error is in correct Ip address

Nada work for me
i add

- platform: yeelight
  devices:
    10.0.0.51:
      name: Living Room Light
      transition: 600

i get on log
17-01-12 19:23:07 homeassistant.util.yaml: mapping values are not allowed here
in “/home/homeassistant/.homeassistant/configuration.yaml”, line 66, column 15

i dont know what more i can do :frowning:

post your configuration

do you have “light:” somewhere above that. light: should have no indentation. The hyphen before platform should be indented two spaces. Otherwise your config looks OK.

light:
platform: yeelight
devices:
10.0.0.51:
name: Living Room Light
transition: 600

still!
17-01-12 20:13:48 homeassistant.util.yaml: mapping values are not allowed here
in “/home/homeassistant/.homeassistant/configuration.yaml”, line 67, column 14

67 is about the device…

what i miss?

check if there are extra spaces. After “devices:” should be no spaces (also after light:, yeelight, and so on)

1 Like