【Add-on Guide】Yeelight add-on for eWeLink CUBE

Exciting news for Yeelight enthusiasts!

yeelight YEELIGHT

Yeelight has launched a new official add-on that allows you to easily sync your Yeelight smart lights to eWeLink CUBE powered local smart home hub, like SONOFF iHost.

With this new add-on, you’ll be able to control your Yeelight smart lights right from the eWeLink CUBE.
The add-on connects through your local WiFi network so no separate hub or bridge is needed. Just install the ‘eWeLinkCUBE-Yeelight-LAN’ add-on in the CUBE, then you can turn YEELIGHT smart lights on and off, dim, change color and scenes, set schedules and timers, and more all from one central place. This opens up tons of automation possibilities.

Here is the list of the supported Yeelight lights:

Yeelight Monitor Light Bar Pro

Yeelight LED Lightstrip Pro

Yeelight LED Lightstrip 1S

Yeelight Smart LED Light Bulb W3 (Color)

Yeelight Smart LED Light Bulb 1S (Color)

Yeelight GU10 Smart Bulb W1 (Color)

Yeelight Smart Lamp D2

Yeelight Smart LED Panels

Yeelight Cube Smart Lamp

Screenshots of the add-on:



What automations will you be creating between Yeelight and eWeLink? Let us know how it goes!

1 Like

This is really great work thank you.

I was getting an error with my one bulb and I notice python-yeelight has been updated to include a new bulb: yeelink.light.mono6

Here’s the device properties:

“mono6”: {
“color_temp”: {“min”: 2700, “max”: 2700},
“night_light”: False,
“background_light”: False,
},

Could you include the device? I get the following error in the log:

  • type=BulbType.Unknown, model=mono6>: Reconnected failed with [Errno 113] Connect call failed (‘192.168.1.228’, 55443), backing off
  • yeelight - DEBUG - Device AsyncBulb<192.168.1.228:55443, type=BulbType.Unknown, model=mono6> not found in ihost_devices

Steps to enable lan mode on any xioami bulb into dev mode or lan mode. (when you can’t connect using the Yeelight app, and you don’t have cloud access)

  1. pip install python-miio (This may involve installing python for windows as well as it’s dependcies.)

  2. Delete the bulb from the Xiaomi app. This should get the bulb to create it’s own AP. The SSID will be something like yeelink-light-color5_miapACD4. If that doesn’t work reset it with 5 switch flips.

  3. Connect to the yeelink AP. Once connected run the following:
    miiocli discover
    Your device will show with a token:

INFO:miio.miioprotocol:Sending discovery to <broadcast> with timeout of 5s..
INFO:miio.miioprotocol:  IP 192.168.1.18 (ID: 1c0b06e1) - token: b'0eb5629f00aa5d4dfbeb4961f6458199'
INFO:miio.miioprotocol:Discovery done
INFO:miio.discovery:Discovering devices with mDNS for 5 seconds...
  1. Copy the token and run the command as below using your token and IP
    miiocli yeelight --ip 192.168.1.18 --token 0eb5629f00aa5d4dfbeb4961f6458199 set_developer_mode 1
Setting developer mode to True
['ok']
  1. Re-add to Mi Home and dev mode should stay working. Just add the yeelink addon, and the follow the steps and the Xiaomi bulbs will appear in the iHost.

Note, after adding the bulb back to the mi home app, all miiocli commands stop working. This might make it seem like the process failed. Don’t give up, the dev mode is still active, just check in the yeelink addon, or use python-yeelight to talk to the bulb. :sunglasses: