home-assistant.github.io/source/_components/light.yeelight.markdown
SilvrrGIT 6ce3ab93b3
Clarification of formatting and options (#1759)
Added main component (light:) as many are missing this requirement when adding the yeelights to their config files.  Also expanded the example config to include two entries, also to demonstrate proper config setup for this platform.
2017-01-14 11:01:49 +01:00

45 lines
1.5 KiB
Markdown

---
layout: page
title: "Yeelight Wifi Bulb"
description: "Instructions how to setup Yeelight Wifi devices within Home Assistant."
date: 2016-10-29
sidebar: true
comments: false
sharing: true
footer: true
logo: yeelight.png
ha_category: Light
ha_release: 0.32
---
The `yeelight` light platform allows you to control your Yeelight Wifi bulbs with Home Assistant.
To enable those lights, add the following lines to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
light:
platform: yeelight
devices:
192.168.1.25:
name: Front Door
192.168.1.13
name: Living Room
```
Configuration variables:
- **ip** (*Required*): IP(s) of your wifi bulbs
- **name** (*Optional*): A friendly name for the device.
<p class='note'>
Before trying to control your light through Home Assistant, you have to setup your bulb using Yeelight app. ( [Android](https://play.google.com/store/apps/details?id=com.yeelight.cherry&hl=fr), [IOS](https://itunes.apple.com/us/app/yeelight/id977125608?mt=8) ).
In the bulb property, you have to enable "Developer Mode" Developer mode may only be available with the latest firmware installed on your bulb. Firmware can be updated in the application after connecting the bulb.
Determine your bulb ip (using router, software, ping ...)
</p>
<p class='note warning'>
Tests are only made with a YLDP03YL model. Because it's the only hardware developer owns. If you have bugs with another kind of model, you could open an issue on [Home Assistant Github](https://github.com/home-assistant/home-assistant)
</p>