[APP] Yeelights LAN [needs other developer]

Hello, how do Homey communicate with yeelight bulbs? Does it communicate with some Chinese server, and the server controls bulbs, or does Homey directly to bulbs within local network?

Can I remove bulbs from Yeelight app after I pair them with Homey? Will the temporary internet outage (router working, but no connection to the rest of the world) affect my bulbs?

The Yeelights app creates a local websocket with every Yeelight and listens for updates or sends messages over the websocket connection to control the Yeelight. No cloud involved, itā€™s a direct connection between Homey and the lights and I think the lights can be removed from the Yeelights app. Not sure though, they might get reset that way which would loose the LAN control setting. Temporary internet outage should not effect the connection between Homey and the Yeelights as long as your LAN keeps working.

Status pdates from Yeelights to Homey might take up to a second. Stuff that can interfere is bad WiFi but also the performance of Homey. Both are out of my hands. I can imaging if a lot of lights send a status update to Homey at the same time your Homey is not going to like that. You could add a delay between each light and see if that solves the toggle, on, off issue.

Iā€™d have to look into the relative dimming card but I dont have time at the moment, please submit a bug report on GitHub so I can look into it at a later time.

Hi Jelle, great app!

Is there a way to discover what the several settings mean?
For example, the setting ā€œstel standaard opstart status inā€.
I assume this is a one time, but very usefull, action but canā€™t find out how to make use of it.

Grtz

Harm

The way is to ask here if you donā€™t understand I guess. This card saves the current state of the light as the state it will return to when powered off (not just turned off but actually completely powered down). Just setup your light as you would like to have it and run this action and you have updated the default power on state.

Hi, tnx for the quick reply.
I hoped this command would save the last state before turning of the lights.
I have defined the desired ā€œwarm whiteā€ color of the yeelights in the original Yeelight app from Xiaomi.
When we are watching movies i want to set the lights to a light blue color. After that i want de lights to return to the original defined color. Hoped to do this by using the statement ā€œsave colorā€ in the flow before turning the lights into blue and after watching the movie, turn the lights off and on to restore the original color. Any suggestions to get this result by using your (btw great !!) app?

Just created a flow with the start this flow trigger and action cards from the Yeelight app that configure your desired warm white. Trigger this flow when you are done watching telly.

Thnx Jelger,

I think i am to much a novice to understand the part of the action cards from the Yeelight app.

Thnx that you took the time to reply anyway!

Grtz Harm

Hi, is the Bedside Lamp 2 wifi supported? The app returns ā€œno device foundā€ message.
Thanks!

Yes it is, did you follow the instruction and enabled the LAN mode?

Sorry maybe my fault. Device was a bit far from homey for association. Now it works even in the original location.

Just noted that ambilight color change does not work out of the Homey app menu on my Yeelight 650 ceiling light. Other controls seem to work OK. I can also change ambilight color in the flows, just not manually in the menu. Any ideas what I may be doing wrong?

Not a clue. I have the same light and itā€™s working fine for me. The code to change the color is independent of device card or flow card. Perhaps you need to restart your app?

Thanks for the prompt feedback! I did restart the app, restart Homey and power cycled the ceiling light itself. Still not working.
Looks strange indeed as I can normally change ambilight color via the flows, just not manually in the app. The color temperature picker also works a bit weird for me, but at least it works (when I pick the different color temperature it does change as it should, but the color picker marker (pointer) only momentarily shifts to the selected color and then back to its previous position).

I can change ambilight color fine via Yeelight native app as well as bluetooth remote and wall dimmer.

I have the same problem with colors led on the Ceiling 650.

What Athom smartphone app are you guys using, Apple or Android and what version? My Android app works fine for changing color through the device. As mentioned before, the same code for changing color is used for the flow cards. If that works it while the device card doesnt it could indicate an issue with the smartphone app.

I have an android phone, but yesterday I also checked how it works on my wifeā€™s iPhone and its all the same.

Homey version is 3.2.1, app version (Android) is 3.2.0 it seemsā€¦

FWIW the ceiling lamp firmware version is 159_0053, I have updated it a month or so ago and the update did change how the bluetooth wall dimmer works with ambilight. Not sure if itā€™s relevant though.

Is Yeelight curtain motor supported?

Perhaps, Iā€™ll look into it when I have some more time. Still does not explain why it works using flow cards (which uses the exact same function to actually change the color).

Do you have a product link? You are probably talking about the Xiaomi curtain motor which is not supported by this app (the Xiaomi Mi Home app might support it).

I have the same firmware. Just to get it straight. You open the Homey app, navigate to your light under devices. Long press it, swipe 2x to the left to get to the color selector, you choose a color there and then nothing happens when you do?

https://aliexpress.com/item/4000443614005.html