Broken YeeMee - (Control Yeelight Smart Bulb + Ambi from Kodi)
#27
(2017-05-05, 14:42)mohican9 Wrote: Thanx for the immediate response, but I think that it would work better if the action, is not like simulation ("bulb_play") but a direct command to the bulb like i.e. "addon://home/addons/service.yeemee/standalone.py,bulb_on".

OK, I thought about it and it is just not possible - it is way to complex, we are not talking about only passing the "turn on" command to the bulb, but also intensity/brightness and color. And there simply isn't a way to specify this, since I can pass only 1 parameter to the function. Even if there was a way to send multiple parameter, I would have to do error checking if the parameters are correct etc etc. The way it is implemented now - we have all error checking in Kodi addon settings already implemented and all params (brightness, time to make the change, color) inside the addon. Also it would require adding more code with similar functionality that would increase complexity and size... So that is a definite no.
Reply


Messages In This Thread
RE: YeeMee - (Control Yeelight Smart Bulb from Kodi) - by User 325245 - 2017-05-08, 11:40
Logout Mark Read Team Forum Stats Members Help
YeeMee - (Control Yeelight Smart Bulb + Ambi from Kodi)2