2011-09-03, 20:44
Here is the first and ultimate tutorial to get the new
8-Channel Ambilight Clone "KARATELIGHT" from Carsten Presser http://www.karatelight.de
work with XBMC and boblightd and boblight-X11.
In Part 2 of this TUT i´ll explain how to add some profiles to
start, stop, set brightness and speed of the lights.
I´ve a non autostart install because boblight-x11 can only start after x-server is up.
So i´ve not found a place in the boot process to get it start on boot.
Here is a short demonstration of my working Karatelight:
http://www.youtube.com/watch?v=DBdusA6EB-I
Ok, let´s go!!!!!!!!!!!!!
1. First we need the depencies:
2. Checkout the latest subversion:
3. Into the directory:
3.1 Download my file from rapidshare:
https://rapidshare.com/files/1868039844/...ols.tar.gz
3.2 Copy the file to directory boblight-read-only
4. Extract it.
5. Configure it (we only need boblight-x11, so the other boblight deamon will not compiled)
6. Compile
7. Install
7.1 Run this.
8. Copy the boblight.conf from my karatetools into /etc
Now boblight is almost installed. But boblight-x11 was first very annoying.... (long story but i´ve found
a solution!)
9. Add this to etc/enviroment
save with key CTRL + X
10.Now Reboot
11.After this, you can test it with
and
Now you can enjoy your karatelight.
How to control Karatelight or boblight within XBMC.
The files and folders are from my karatetools.tar.gz
1. Copy the plugin.program.executor folder in
/home/xbmc/.xbmc/userdata/addon_data
2. Copy the programs.cfg in
/home/xbmc/.xbmc/userdata/addon_data/plugin.program.executor
3. Copy the files from atmotools/media/atmo/ to a mounted harddisks
4. default locations for my programs.cfg is
/media/Media/Atmo/atmo3toggle.sh
if you want another destination for the scripts, you have to change the path in
the programs.cfg
5.Now you can reboot your system.
6.Under the plugin executor you have now the scripts.
atmotoggle
atmo2toggle
atmo3toggle
atmodynamisch
atmodynamisch2
The difference from atmotoggle to atmo3toggle is the brightness parameters from boblight-X11.
atmodynamisch is the same setup like the other but with more speed of the light-changing....
The scripts first kill the boblight processes, if they´re running and then starts boblightd
and boblight-x11.
So you can switch on and off with one script.
You also can map this scripts to your remote with the keymaps.xml or lircmap.xml.
I have a Harmony One and can switch through all scripts.
Here a example from my remote.xml
<myvideo>RunPlugin("plugin://plugin.program.executor/?do=program&id=atmotoggle")</myvideo>
Have fun with it.
8-Channel Ambilight Clone "KARATELIGHT" from Carsten Presser http://www.karatelight.de
work with XBMC and boblightd and boblight-X11.
In Part 2 of this TUT i´ll explain how to add some profiles to
start, stop, set brightness and speed of the lights.
I´ve a non autostart install because boblight-x11 can only start after x-server is up.
So i´ve not found a place in the boot process to get it start on boot.
Here is a short demonstration of my working Karatelight:
http://www.youtube.com/watch?v=DBdusA6EB-I
Ok, let´s go!!!!!!!!!!!!!
1. First we need the depencies:
Code:
sudo apt-get install subversion libx11-dev libgl1-mesa-dev libxrender-dev libxext-dev portaudio19-dev libavcodec-dev libavformat-dev libswscale-dev libavdevice-dev g++ libxext-dev
2. Checkout the latest subversion:
Code:
svn checkout http://boblight.googlecode.com/svn/trunk/ boblight-read-only
3. Into the directory:
Code:
cd boblight-read-only
3.1 Download my file from rapidshare:
https://rapidshare.com/files/1868039844/...ols.tar.gz
3.2 Copy the file to directory boblight-read-only
4. Extract it.
Code:
tar xvfz karatetools.tar.gz
5. Configure it (we only need boblight-x11, so the other boblight deamon will not compiled)
Code:
./configure --without-ffmpeg
6. Compile
Code:
make
7. Install
Code:
make install
7.1 Run this.
Code:
ldconfig
8. Copy the boblight.conf from my karatetools into /etc
Now boblight is almost installed. But boblight-x11 was first very annoying.... (long story but i´ve found
a solution!)
9. Add this to etc/enviroment
Code:
nano /etc/environment
export DISPLAY=:0.0
save with key CTRL + X
10.Now Reboot
11.After this, you can test it with
Code:
boblightd -f
and
Code:
boblight-X11 -o saturation=1.1 -o value=2 -o threshold=20 -o interpolation=1 -o speed=50
Now you can enjoy your karatelight.
How to control Karatelight or boblight within XBMC.
The files and folders are from my karatetools.tar.gz
1. Copy the plugin.program.executor folder in
/home/xbmc/.xbmc/userdata/addon_data
2. Copy the programs.cfg in
/home/xbmc/.xbmc/userdata/addon_data/plugin.program.executor
3. Copy the files from atmotools/media/atmo/ to a mounted harddisks
4. default locations for my programs.cfg is
/media/Media/Atmo/atmo3toggle.sh
if you want another destination for the scripts, you have to change the path in
the programs.cfg
5.Now you can reboot your system.
6.Under the plugin executor you have now the scripts.
atmotoggle
atmo2toggle
atmo3toggle
atmodynamisch
atmodynamisch2
The difference from atmotoggle to atmo3toggle is the brightness parameters from boblight-X11.
atmodynamisch is the same setup like the other but with more speed of the light-changing....
The scripts first kill the boblight processes, if they´re running and then starts boblightd
and boblight-x11.
So you can switch on and off with one script.
You also can map this scripts to your remote with the keymaps.xml or lircmap.xml.
I have a Harmony One and can switch through all scripts.
Here a example from my remote.xml
<myvideo>RunPlugin("plugin://plugin.program.executor/?do=program&id=atmotoggle")</myvideo>
Have fun with it.