sandeepmistry / node-yeelight-blue

A Node.js lib for the yeelight blue and yeelight blue lightstrips.
MIT License
26 stars 8 forks source link

Extend support for Xiaomi Yeelight #5

Closed William1444 closed 8 years ago

William1444 commented 8 years ago

Hi, using this library, I have been trying to connect to my new Xiaomi Yeelight lamp.

Unfortunately I can't find the bluetooth messaging documentation for it so have been reverse engineering the interface (or trying to!)

I think the service id is fee7.. but not sure. I changed the YeelightBlue.is function to include the name 'XMCTD_', and have tried sending the code for red, 100% brightness to all characteristics on all service ids... but no joy :(..

Have you got any advice on what I should try next?? This is my first bluetooth device endeavour!

sandeepmistry commented 8 years ago

Hi @William1444,

The Xiaomi Yeelight shares the same name, but it's a completely different device.

I suggest you work with @Marcocanc here: https://github.com/Marcocanc/node-mi-lamp