2015-02-06, 00:27
I've only used the setup for turning lights on and off on play/pause /stop. Not done the ambilight.
(2015-02-03, 21:52)hardyt Wrote: Here's a solution for some people who cannot get this to work.
Discussion: this plugin requires the lights to be in an {"on":true} state before playback begins. The plugin is also not nice in that it does not restore the lights to their pre-video settings.
Impact: My lights are normally off, so the plugin appeared to not work. The plugin would also make the lights garishly bright, washed out green at the stop of the video.
Suggested improvement: I made some modifications so it now functions in my particular case. The changes begin with #th comments. https://github.com/hardyt/script.xbmc.hue.ambilight. Ambilight works when I play video. The lights are returned to their original state on stop, pause, or end. I may take the time to configure this as an option, but probably not anytime soon.
(2015-02-06, 14:07)fabd Wrote: I'm interested in feedback about lighstrip too.
For people who are interested, here is how it work for me :
- Kodi 14.1
- Zotac Ci540, Processeur dual core Intel Core i5 4210Y (1.5 GHz)
- Ambilight mode with 2 bloom.
The plug in works fine for me, but i add to change video rendering to Software instead of Hardware rendering with dxva. In the second case Live TV suffered from green screen on some frame.
In the software mode, SD video are fine and ambilight is good (even if there is 1 second between the frame analysis and the bloom light)
HD video works too but sometimes, don't know why, video seems to be a little slow, some frame are lost.
To manage more efficiently the bloom, i setup on my remote (harmony one), 2 shortcut for lighting ON and OFF the buld. I also add a sequence to power off the lamp when the tv goes off.
One thing i noticed is when i try to disable the add on, sometime kodi don't react, and i must power off the computer.
How to do, to add a submenu in program to enable/disabled the plugin more faster than going in parameter/add/active/service..... ?
I will be great to manage the status of the HUE from a sub menu.
For people who hesitate to buy Philips HUE, go on, it's very fun and the plug in, even if is not perfect, it's amazing.
Sometime there are some good promotion for Philips HUE on AMAZON.CO.UK
(2015-02-06, 22:59)daweze Wrote: i use the light strips and an iris and all work well for me. i am running openelec 5.01 kodi 14.1
to disable the plugin i use this python script
#!/usr/bin/env python
import subprocess
proc1 = subprocess.Popen(["curl -s -H \"Accept: application/json\" -H \"Content-type: application/json\" -d '{\"jsonrpc\":\"2.0\",\"method\":\"Addons.SetAddonEnabled\",\"params\":{\"addonid\":\"script.xbmc.hue.ambilight\",\"enabled\":\"toggle\"},\"id\":1}' http://localhost/jsonrpc"], shell=True)
<mute>XBMC.RunScript("/storage/.kodi/userdata/scripts/hue-toggle.py")</mute>