Hello everyone. Sadly, I have to close this feature request and state that we won’t implement the integration.
We have bought a yeelight and spent quite some time trying to integrate it, but it turned out that the protocol it uses is so badly chosen that it just isn’t possible for Sleep as Android to use Yeelight.
For the technically inclined:
Yeelight uses UDP and TCP protocols. They use UDP for discovery of the bulbs and TCP for command messages.
UDP has non-guaranteed delivery, and that’s the pain point. Sometimes the discovery of your bulb can take minutes, sometimes (less often) it fails altogether and the bulb needs to be restarted physically.
Our application is time-critical (at least in terms of minutes), so we cannot use this product. Practically it would mean lots of maintenance and a raise in incoming support requests as most of the time the lights will be delayed if they work at all.
If someone differs in their opinion and wants to try it on their own, we have an open API and offer any help he might need.
You should also be able to trigger your Yeelight from Sleep as Android using IFTTT.