I recently purchased Xiaomi Yeelight IPL Color LED WiFi Bulbs. They are very cheap but they don’t have any integration beyond the official app. However, they offer complete local LAN control with good documentation and example code. They should be easy to control via ST Hub. I think someone with programming experience could write up the required “service manager app” and “device type” for this “LAN connected device” in less than a day.
Unfortunately, I don’t have such experience. So I can only offer links to the relevant resources and hope that a generous soul finds the time to do it.
I tried to sneak my way by coping code from similar devices, but I don’t actually know how to code, and I immediately ran out of depth when I found out that this bulb uses UPnP port 1982 instead of the standard port 1900 to which the ST Hub is listening for device discovery.
Looking forward to hearing from this great community.
Of course, I shared the link in my post!
The main problem for me (with little coding skills) is that Yeelight uses port 1982 instead of the standard 1900 for device discovery through ssdp. ST Hub has pre-set command for sending UPnP discovery message in which you only change device type (in this example: wifi_bulb) but I couldn’t find a way to include a custom port, and I don’t have enough skill to override the default ST method or write a custom code for device discovery.
I have my 2 bulbs getting delivered these days. I am going to use them with homebridge and raspberry.
I hope I can find a way to create some sort of link that will give me the chance to add them on Smarttiles. I will let you know how it goes
I contacted Yeelight support and exchanged half a dozen of emails. They say they will consider changing the default UPnP port to 1900, but they didn’t promise anything. They said their priority now is to release IFTTT and openHAB integration, which may help a bit with SmartThings too.
I installed them today with homebridge/raspberry. Lovely to be able to control them with Siri.
Hope there will be a chance to have them under smartthings
@mssaleh can provide the link or tell me where you got the code for similar devices and I’ll try and have a got at it. Would for my Yeelight to work with ST
This would be fantastic as I’m currently using IFTTT and it’d a little slow. However, reading over the post you linked to, it doesn’t look very promising…
@finalbillybong can you please let me know how you use it with IFTTT. I am planning to buy a couple of these bulbs but unsure how to integrate with smartthings atleast indirectly. Also what do you mean by slow? 5sec? 10sec?
Thanks very much for the information. Is it possible to set colour temperatures instead of just toggles? I have the below core piston currently controlling my Lifx and hue bulbs. I set the @colourTemp variable 3 times a day to change from 6500 -> 3500 -> 2700 and depending on the time of day, the lights are set to a certain colour temp when turned on.
Would it be possible with the yeelight to set the colour temperature on IFTTT? is there a way to pass this value to IFTTT?
I found ifttt should be able to set the color of Yeelight the problem is using a virtual switch in smartthings it cannot be identified as dimmable or color chabgeable, I was thinking to use it with alarms with lights
Oh I tried to use ifttt and a st sensor, when it detects an open status set to a particular color in Yeelight not too bad even if it takes a few seconds
I’ve just read the thred on the Yeelight forums. Please please please Smartthings, just allow the intergration… The devices are fantastic and a fraction of the cost of Hue and LIFX.