[APP] Yeelights LAN [needs other developer]

Hi. I unfortunately have the same. I just got the lightstrip. Lan mode is enabled for the light. IP has been given by the modem but homey doesn’t find it unfortunately. @Phuturist would you have time to take a look at how to? :slight_smile:

I got a few yeelight bulbs, they work fine. Just wanted to ask if its possible to somehow enable animations on them through homey? In yeelight app there are a few like color flow and candle flicker. I found a card with “send command” in flows, maybe that’s what 6 need to use, can someone help?

There is no way to set the light to an existing color flow. You will have to work it out by yourself and indeed use the send command action card. Below is a link to the documentation which can be used to create your command. You will have to look into the start_cf method.

Ok thanks. This is too complicated for me as I’m not at all familiar with coding and what not.

I cannot connect my yeelights lights to the app anymore. Everything worked fine until a couple of days ago, then the lights went offline in Homey.

Restarted the app - nothing.

Re- installed the app, and now it doesn’t see any of the lights although they are open for LAN control.

Are you sure the Yeelights are on the same (V)LAN as Homey and thus can be discovered? Or perhaps a firewall is blocking UDP broadcasts messages (used to discover the lights)? Check your router settings for this.

Yes, they are. Nothing different from when they were connected.

Tried again now and without changing anything I could connect 2 out of 3 lights…

Thanks and regards,
Bogdan

Yes they are.

Update: 12 hrs later 2 out of 3 lights are visible without changing anything

Just wondering if there is any status refresh interval in the app?

I’m often finding the lights turned off with bluetooth remote still showing as being “on” in Homey, while in the Yeelight app (the original Android app) they show their power status properly - I understand the Yeelight app polls the lights status on each app launch.

This is not correct. The app subscribes the broadcasts from the light. If the light is changed it should broadcast it’s state and it should update in Homey. Either the light does not broadcast it’s state in your case or there is a bug in the code. Do you know how to run the app from the command line. I could create a debug version to find out what is going on.

Thanks for looking into this (and sorry for my delayed feedback) - will try installing the debug version if that helps to localize the issue.

FWIW in the original Yeelight app for Android I can see the light behaving as you describe, i.e. they change on/off state when turned off from bluetooth remote (Yeelight wall dimmer). So the lights apparently do broadcast their state change

Are you already using Homey firmware 5.x? I have already updated the app for SDK3 but that will only work on firmware 5.x which is currently in experimental phase.

Still on 4.2.0 as I think I have some Xiaomi Zigbee devices connected via the app that I’m not yet sure supports 5.0

Let me check if I can connect them via Xiaomi hub though…

Anyone here that is using my Yeelights app and is willing to take over further development?

I bought Yeelight Strip today, managed to add it to the app but it got identified as a ceiling light for some reason, I can turn it on/off and dim it, but can’t change colors :frowning:

That means it’s a new model that is not added to the app yet. What is the model identifier under the device settings in the official Yeelight app? I need this to add it to my app.

Is this it? :slight_smile:

Let me know if you need something else. App crashes sometimes, not sure if its because of my lightstrip or not.

5fb958d8-6ed3-4087-a631-96e5060d3802