home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.48k stars 30.69k forks source link

Unable to turn on Yeelight bulb #13718

Closed d4v3d closed 6 years ago

d4v3d commented 6 years ago

Home Assistant release with the issue: 66.1 but I noticed it in 65.x as well

Last working Home Assistant release (if known):

Operating environment (Hass.io/Docker/Windows/etc.): Docker

Component/platform: Yeelight https://www.home-assistant.io/components/light.yeelight/

Description of problem: Unable to turn on the light with the switch from the UI as well as with automations. The automation was previously working and has had no changes.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

light:
  - platform: yeelight
    devices:
      192.168.1.249:
        name: Arianna's lamp

Traceback (if applicable):

Unable to turn the bulb on: {'code': -5000, 'message': 'general error'}

Additional information:

timmo001 commented 6 years ago

Is you bulb's firmware up to date? Also make sure that lan control is turned on and the ip is correct

d4v3d commented 6 years ago

Unsure, will check tonight. But nothing was changed other than updating Home Assistant.

On Fri, Apr 6, 2018, 10:51 AM Timmo notifications@github.com wrote:

Is you bulb's firmware up to date? Also make sure that lan control is turned on and the ip is correct

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/home-assistant/home-assistant/issues/13718#issuecomment-379296022, or mute the thread https://github.com/notifications/unsubscribe-auth/ADh05bizhYnSnCK2Qz-lYUTP5UmGtYkKks5tl48KgaJpZM4TKEp7 .

syssi commented 6 years ago

Home Assistant uses the most recent yeelight API. A firmware update is needed!

syssi commented 6 years ago

Closing due to inactivity, please reopen if this is still an issue.

Pharizna commented 6 years ago

Now, with version 0.73.0 and 0.73.1 this Yeelight bulb doesn't work :(

It seems probably related with this error:

"pyowm 2.8.0 has requirement requests<2.19,>=2.18.2, but you'll have requests 2.19.1 which is incompatible."

Oyami-Srk commented 6 years ago

Same Issue in 0.79.3 Cannot adjust the color temp for Yeelight celling light with error:

Error when calling <function YeelightLight.set_colortemp at 0xa577b300>: {'message': 'general error', 'code': -5000}

And will disconnect from light after several tries. I think APIs of light have been changed.

Pharizna commented 6 years ago

Running fine ... in 0.79.3 too :)

image

Oyami-Srk commented 6 years ago

Noticed that color temp actually can be changed, but UI was wrongly mapping the temp to data sent to light. My model is YLXD05YL (Jiaoyue 450) Except functions the light don't support, The only trouble I have is temp cannot be mapping correctly. 1 2 Right of middle of bar will cause general error

Obviously Color temp scroll bar is mapping incorrectly, actual color temp is zoomed out.

Could someone help to resolve that problem? I will very appreciate it if that problem has been solved. This model can be added to the support list after that : )

Anyway, thanks to developers of home assistant, you made great platform for the world!

(or should I open a new Issue? that is totally new problem...