[HOWTO] new KARATELIGHT with boblight and XBMC
#1
Thumbs Up 
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:

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.
_______________________________________________
CASE: Silverstone with Imon LCD/ Harmony ONE
BOARD: Zotac IONITX 330 D-E / 6 Terrabytes
NAS: Synology Diskstation 8TB RAID5
Software: XBMC Live Skin: Modded Confluence AppleTV2: XBMC....rocks
KARATELIGHT
Reply
#2
Thanks, will try this when Carsten is back from his vacation Smile

BTW: Step 4/the patch isn't needed anymore: http://code.google.com/p/boblight/issues...l?id=17#c4
Reply
#3
This looks pretty interesting, since i have boblight already running with this old 3 channel Philips AMBX Kit, can anyone tell me how much of a CPU hog this is since its 8 channels? Will it work with a little iON?

awsome stuff guys...
Reply
#4
I have a N330 and it works like a charme. Smile
Reply
#5
The number of channels hardly has any influence on cpu usage.
Reply
#6
hi

i´ve also a ion 330 htpc and it works good.


@all karatelight user:

i see little flickering when the value of boblight is low (1.0 like i use on nightly dark rooms)

cpresser updated the karatelight firmware but i´ve flickering on
intervall of 20000 microsecs (50 Hz)
if i set it to 200 microsec (500 hz) it is better on the low value (brightness)

has someone else this expierience?

greetz
_______________________________________________
CASE: Silverstone with Imon LCD/ Harmony ONE
BOARD: Zotac IONITX 330 D-E / 6 Terrabytes
NAS: Synology Diskstation 8TB RAID5
Software: XBMC Live Skin: Modded Confluence AppleTV2: XBMC....rocks
KARATELIGHT
Reply
#7
damn, I have tried to WARN everybody from buying ambilight hardware designed by Carsten Presser...

Yes it flickers, and Carsten has NO IDEA why...
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
Reply
#8
pike Wrote:damn, I have tried to WARN everybody from buying ambilight hardware designed by Carsten Presser...

Yes it flickers, and Carsten has NO IDEA why...

I will contact carsten about this problem. maybe he can find a solution.
_______________________________________________
CASE: Silverstone with Imon LCD/ Harmony ONE
BOARD: Zotac IONITX 330 D-E / 6 Terrabytes
NAS: Synology Diskstation 8TB RAID5
Software: XBMC Live Skin: Modded Confluence AppleTV2: XBMC....rocks
KARATELIGHT
Reply
#9
muggi Wrote:cpresser updated the karatelight firmware

How can I flash the new firmware?
Reply
#10
BurningSky Wrote:How can I flash the new firmware?

i´ve flash the firmware on a enigma2 settopbox.
maybe karatelight.de can help you_
http://karatelight.de/index.php/firmwareupdate.html


i dont know if this works on ubuntu, too.
_______________________________________________
CASE: Silverstone with Imon LCD/ Harmony ONE
BOARD: Zotac IONITX 330 D-E / 6 Terrabytes
NAS: Synology Diskstation 8TB RAID5
Software: XBMC Live Skin: Modded Confluence AppleTV2: XBMC....rocks
KARATELIGHT
Reply
#11
Thanks, I will try it at the weekend. Smile
Reply
#12
@muggi youre rapidshare upload is missing the atmostop.sh & atmostart.sh file
at least its linked in the programs.cfg but not in the zip file.

just wanna let you know, might be a problem for someone.

and thanks for the scripts, was very helpfull for my custom ambx installation, now I'm able to remote control it Big Grin
Reply
#13
mason Wrote:@muggi youre rapidshare upload is missing the atmostop.sh & atmostart.sh file
at least its linked in the programs.cfg but not in the zip file.

just wanna let you know, might be a problem for someone.

and thanks for the scripts, was very helpfull for my custom ambx installation, now I'm able to remote control it Big Grin

thanks for the hint.

but i let the link online. if someone want such a custumized setup with boblight an excecutor plugin, this person has to understand how it works.
_______________________________________________
CASE: Silverstone with Imon LCD/ Harmony ONE
BOARD: Zotac IONITX 330 D-E / 6 Terrabytes
NAS: Synology Diskstation 8TB RAID5
Software: XBMC Live Skin: Modded Confluence AppleTV2: XBMC....rocks
KARATELIGHT
Reply
#14
Hi,

I'm not using the Karatelight but the Atmolight (4 channels), designed also by Carsten Presser. I added boblightd and boblight-X11 to my XBMC Live install and basically it is working fine with the executor scripts provided by muggi in this thread. But I’m struggling with the color calibration of my LED stripes (60 LED/m RGB SMD).

I’m also using my Atmolight setup with a VU+ DUO satellite receiver and the Atmolight plugin and there – after some white balance adjustments – the colors emitted by the LEDs are matching the TV nicely. But with boblight especially the red is really more a pink and nothing I did until now could fix this. I already tried to play around with my boblight.conf but the only value that showed some effect when changed was the ‘adjust’ parameter, but that didn’t really help Sad

Does anyone have an advice on how to achieve better results in regard to color matching?

Thanks a lot in advance!
Hardware Setup
Acer Revo 3610 // 2GB RAM // 64GB SSD // Harmony 650 w. XBox USB Dongle // Lenovo Wireless Keyboard N5901A // Logitech Cordless RumblePad 2 // Panasonic P42S10E 42" FullHD Plasma // Atmolight
Software Setup
XBMCbuntu 12.2 (Frodo)
Reply
#15
Hm maybe that has something to do with the fact that boblight treats pixels as linear instead of sRGB, because I didn't know any better at the time.
Check with "boblight-constant ff" if the red from the leds is actually red, to rule out other issues.
Reply
 
Thread Rating:
  • 1 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
[HOWTO] new KARATELIGHT with boblight and XBMC51