dotsam / homebridge-milight

MiLight/LimitlessLED/Easybulb Plugin for Homebridge
MIT License
63 stars 12 forks source link

Support For Disco Mode? #41

Open davidjaystrauss opened 7 years ago

davidjaystrauss commented 7 years ago

Hi All,

This isn't really an "issue" per se, but I haven't seen much talk about supporting the built in "Disco Mode" for MiLight, or even if we could define "custom" modes, such as fading from one color to another and so on and so forth.

If this isn't the correct place to be asking this question, feel free to close the issue, but I've been using this plugin for a while and am looking for ways to extend it further.

Thanks!

dotsam commented 6 years ago

Hi @davidjaystrauss,

I'll have to do some research into custom characteristics/adding extra switches to a HomeKit bulb as a way to offer these controls. Even then, they may not be supported by Siri or all HomeKit apps.

blloyd78 commented 6 years ago

Is there a way to reverse engineer the Milight app to provide the necessary functionality?

mwittig commented 6 years ago

Ben, the basic functionality to use the built-in Milight disco mode is already provided as part of the underlying base library node-milight-promise. So, there is no need to reverse engineer that. However, if I understood @dotsam's comment correctly, it needs some research to find out how the functionality can be mapped to Homekit characteristic types or a way of defining a custom characteristic.

davidjaystrauss commented 6 years ago

Totally forgot I asked about this, but it seems like HomeKit itself is a bit too limited at the moment to support this feature. Still definitely possible through apps, so not that big of a deal :)