But the ceiling lamp is unavailable form the start of HA (the log is when HA is booting), i’m not “changing” any parameter of the light.
Please enable the debug log and provide the content of your log. I want to make sure there is not much traffic involved.
Anyone having issues with Yeelight ceiling lamps since the last update (not sure if HA update or Firmware update from a few days back is to blame)
Just take a look at my log (it drops from WIFI regularly).
Yes, same here… after last update it goes ‘unavailable’ several times a day. It happens also for the bedside wifi after last update…
Hmm…do you think it was HA update or Yeelight firmware that caused it? I didn’t notice it till today unfortunately.
I think it’s firmware update as before this i was already using last HASS release and all was working without problems.
Go to the yeelight app and disable and enable again the LAN control and the lamp will be online again.
For me is the HA, not the FW update of the light.
If it’s HA, maybe @syssi can take a look if you can send your log
But I believe for me it’s Yeelight firmware, since it started after the update I think.
If it helps I’m getting a ton of these in the log since then: Unable to update bulb status: Bulb closed the connection.
One for each ceiling lamp every 15 mins or so (it matches them going unavailable of course).
The HA component wasn’t changed/updated recently. If the issue is HA related it’s a very weird bug.
Yeah I was thinking the same. Shouldn’t have updated that damn firmware
Just coming an update to solve this problem… read in yeelight forum.
But no news about impossibility to enable LAN control after last firmware update on bedside wifi lamp.
hi, did you add this nice feature to 650 yet?
Hi, I have a problem with Yeelight 650. Yesterday was updated to 1.5.9 and since then the lamp is in “unavailable” mode. Message info: “Failed to connect to bulb 192.168.31.xxx, yeelight_ceiling4_xxxx: A socket error occurred when sending the command”. Is this the Hass.io problem, or is it the fault of the lamp software?
Edit: It was the fault of the firmware. After uploading the new version everything works fine
Can we resurrect this thread? I would like to contribute and add features but I’m a bit lost on how to implement it nicely in HA. I have
ceiling4 lamps here.
Two features I’m interested in:
- Better night light support, and
- Ambient RGB support for the white ceiling lights.
First focus on better night light support: toggle switch on the UI and set/get services for the component. The underlying python-yeelight library doesn’t support it directly, and its developer doesn’t fancy the idea of adding dedicated setter/getters. We can implement it in HA, it’s quite easy.
Where I would need help is how to integrate this nicely into the existing architecture, because there’s no such thing as
ATTR_NIGHTLIGHT or similar in
homeassistant.components.light … Pinging @syssi
I already added a bit of moonlight-awareness to the
yeelight.py, see my fork: https://github.com/zoe1337/home-assistant/commit/f710085e9606ad6306f83a31a9dd9bad322cffee#diff-1395165791bf7671502a6e2e7bd7d4cb (haven’t submitted a pull request yet)
I have a problem with ** YLXD01YL ** Yeelight Smart LED ceiling light, before the clean installation of hassbian v1.40 worked light without problem. After a clean installation of the hassbian v1.40 component of the yeelight light does not work and prints this error in the log.
Log Details (ERROR)
Error while setting up platform yeelight
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py”, line 128, in _async_setup_platform
File “/usr/lib/python3.5/asyncio/tasks.py”, line 400, in wait_for
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/light/yeelight.py”, line 125, in setup_platform
from yeelight.enums import PowerMode
ImportError: cannot import name ‘PowerMode’
I use Homeassistant version 0.78.1.
My configuration component light in configuration.yaml
light: - platform: yeelight devices: 192.168.0.48: name: Living room # use_music_mode: True #(defaults to False) # save_on_change: True #(defaults to True) transition: 1000
Thank you for your answer.
I just installed HA, all my ceiling Yeelight lights are recognized by default. One question: it is possible to hide RGB color chooser? This ceiling light is not a RGB light.
I have removed the rgb chooser setting the value
supported_feature: 3 on
Here below my full light customizing
light.yeelight_ceiling_7c49ebb3a1f9: friendly_name: Toilet supported_features: 3 # default is 63 icon: mdi:toilet
Wow, it works great. Thank you.