Yeelight / Yeelight-Chroma-Connector

BSD 3-Clause "New" or "Revised" License
13 stars 5 forks source link

add mi devices #6

Open stgov opened 2 years ago

stgov commented 2 years ago

Hi, please add Xiaomi devices, they use the same api but it dont appear in the connector, i have lan control activated, i dont know c++

frosit commented 1 year ago

Not all devices that have this LAN API are supported by the yeelight chroma connector, I have a handful of yeelight bulbs around my office but only the more recent S model is identified and can be used. Despite the LAN API seeming fully functional (not sure if there's a difference in the API). I believe I read somewhere on Github not long ago that this was due to newer hardware and being able to process messages faster (correct me if i'm wrong), which seems a valid reason as speed is important for the chroma connector. The S models have other/more functionality in the yeelight app as well but in my opinion (and use case), the older models seem fast enough to do what I want (music visualization). I'm currently tinkering around in a fork to add support for older models myself and see if it works but I don't expect such PR will be accepted. I guess it's the same principle for adding your devices if the API is similar. I can give you an update if and when I get it to work, you might be able to use it but this is not known territory for me, I usually work with other technologies.