Yeelight Screenbar Support/Issues

Tags: #<Tag:0x00007f325fb11438>

Hi,

I am using this Yeelight lamp:

https://xiaomiplanets.com/yeelight-yltd001-a-yltd003-lampy-1/

(funny enough, the lamp is already on sale, but is not listed on the Yeelight website).

If I try to connect it to the Yeelight component, I can see that the component tries to initialize the bulb by sending the get_prop command, but never recognizes the bulb after that.

I tried to query the bulb manually with some weird results:

[[email protected] ~]$ telnet 192.168.178.151 55443
Trying 192.168.178.151...
Connected to 192.168.178.151.
Escape character is '^]'.
{"id": 32, "method": "get_prop", "params": ["power", "main_power", "bright", "ct", "rgb", "hue", "sat", "color_mode", "flowing", "bg_power", "bg_lmode", "bg_flowing", "bg_ct", "bg_bright", "bg_hue", "bg_sat", "bg_rgb", "nl_br", "active_mode"]}
{"id":32, "error":{"code":-1, "message":"client quota exceeded"}}

(I removed the config from HA before so there should be no queries from the HA instance on the bulb.)

Other Yeelight lamps respond as documented:

[[email protected] ~]$ telnet 192.168.178.133 55443
Trying 192.168.178.133...
Connected to 192.168.178.133.
Escape character is '^]'.
{"id": 32, "method": "get_prop", "params": ["power", "main_power", "bright", "ct", "rgb", "hue", "sat", "color_mode", "flowing", "bg_power", "bg_lmode", "bg_flowing", "bg_ct", "bg_bright", "bg_hue", "bg_sat", "bg_rgb", "nl_br", "active_mode"]}
{"id":32,"result":["off","","100","2702","16754176","39","100","1","0","","","","","","","","","",""]}

This looks like the Screenbar lamp uses a different API or there is something else wrong.

Any ideas? Anyone elase looking at that lamp type?

– Michael

Ok, figured it out. Looks like the factory firmware does not support the api. Upgrading to the latest firmware solved the connection issue. Though it looks like the device is not fully supported as only the front light can be controlled from HA, not the mood light.

Hi Michael, I’m using the same lamp and I just started using Home Assistant so unfortunately I don’t have any answers and tips yet, rather looking for some.

Does your HA also show your screenbar as “always on”? I can switch it on and off with no issues (the mood light seemingly can’t be controlled) but after it gets switched off, HA somehow can’t get that status and in the UI it’s shown as switched on. So if I want to switch the Screenbar on again, I first have to switch that switch off and on again. Any Ideas?

Thanks in advance!

Yeah. It looks to me that the settings for the front and back light are mixed up. If I open the one light that is displayed on the UI, I see both white temperature settings as well as color settings. Using the temp settings changes the front light. Changing the colors does not do anything and after setting it a few times, the integration seems to crash. I guess this is some special case with one lamp providing multiple light sources.

Yeah. It looks to me that the settings for the front and back light are mixed up. If I open the one light that is displayed on the UI, I see both white temperature settings as well as color settings. Using the temp settings changes the front light. Changing the colors does not do anything and after setting it a few times, the integration seems to crash. I guess this is some special case with one lamp providing multiple light sources.

Also, yes, I got the same issue with on/off behaviour. I can only guess that this is also because of the “2-in-1” type of lamp.

Hello, Same problem we need a new development. I hope that someone can integrate it.

If someone gives me the instructions I’m ready to update the firmware. The ideal would be to go under ESPHOME. Inside we have an esp8266ex.

1 Like

Just want to state my interest as well. The lamp is not at all responsive in HA. Actually it is also not really reliable in the yeelight app as well. Yesterday I updated the firmware to the newest firmware, for which I had to delete it in my yeelight ypp (German server) and add it in mi Mi home app (china mainland). The only reliable way to control it, is with the ice hockey puck remote.

so… yeah… I would really appreciate being able to control it from HA as well.

I burnt the card but ordered another lamp. the results were satisfactory. I would put the info on my github.
So for my test I put a mini d1. But with the original one it will work.
On the other hand, the remote control does not work. we have to find a solution for that.

You can control the 40 colored leds if you want. My tests were done with Esphome.


interesting link especially for the remote control. this is the simple version of xiaomi without wifi.

https://www.chongdiantou.com/wp/archives/55542.html