Kodi Community Forum
[RELEASE] DFAtmo the driver for Atmolight controllers - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] DFAtmo the driver for Atmolight controllers (/showthread.php?tid=110939)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13


RE: [RELEASE] DFAtmo the driver for Atmolight controllers - Clou42 - 2012-06-03

Hi,

first I'd like to thank you for this plugin, I'm using a Karatelight and it works flawlessly (as soon as I managed to get the channels right, BGR instead of GBR looks really funky..).

Do you plan to support audio visualizations and picture-slideshows?
Another nice feature would be to be able to lower the max brightness at night.


RE: [RELEASE] DFAtmo the driver for Atmolight controllers - durchflieger - 2012-06-03

@Clou42

I have no plans for support of audio visualizations and picture-slideshows. There is currently no interface support
for plugins in xbmc to fetch color information when playing audio or pictures.

Reducing max brightness would be best done with a ligh sensor within the ambilight controller because some people
might darken there rooms even at daylight when watching videos.
You should check your karatelight controller for such a feature.

Of course any contributions to the project are wellcome and adding such features like "night brightness" could
be done within the python script part of the plugin where programming is relative easy.

- durchflieger



RE: [RELEASE] DFAtmo the driver for Atmolight controllers - F0x123 - 2012-07-13

Hi,

I am kind of desperate. I am using the following setup:
Arduino Uno
50x ws8201 LEDs
Asus E35M1-I DELUXE
Windows 7 x86
XBMC Eden

Now I already tried the boblight plugin, lightpack and Atmoduino with atmowinX. All solutions aren't perfect, causing tearing or stuttering or even frame drops.
So this will be the next solution and hopefully it will work smoothly.

I read the readme and all the thread but I did not get how to get it working with my LEDs and setup. Sure I have to install the XBMC plugin, but then what application will control my LEDs?

Is there a way also to get light effects during xbmc GUI?

Thank you for any hint Smile


RE: [RELEASE] DFAtmo the driver for Atmolight controllers - F0x123 - 2012-07-17

Nobody who can help a newbie to get DFAtmo to work?


RE: [RELEASE] DFAtmo the driver for Atmolight controllers - Corallaro - 2012-10-11

Hi, i use XBMC Eden under Windows XP/7 and serial Momolight original device

(with pic 16F628 http://divxstation.com/article.asp?aId=151&page=1 and http://moodprog.digiweert.nl/)

MomoLight have 3 channels: 1-left, 2-top, 3-right

MoMoLight-protocol used is: RRRGGGBBB

So

with thit parameters:

"com1&speed:9600&proto:Rl|Rt|Rr|Gl|Gt|Gr|Bl|Bt|Br" (note that i need to write com1 and do not COM1.....boh...)

seems to works OK but,

when i make a test with a test video the fullscreen color is OK but the areas are wrong...

the top seems to be upper right....

at the moment i will test only the top area with a single channel ad i see that in a test video with the screen diveded in two same vertical areas of red and blue color

i think to have a magenta light on stre but th result is red.

where am I wrong?



RE: [RELEASE] DFAtmo the driver for Atmolight controllers - durchflieger - 2012-10-11

(2012-10-11, 11:45)Corallaro Wrote: Hi, i use XBMC Eden under Windows XP/7 and serial Momolight original device

(with pic 16F628 http://divxstation.com/article.asp?aId=151&page=1 and http://moodprog.digiweert.nl/)

MomoLight have 3 channels: 1-left, 2-top, 3-right

MoMoLight-protocol used is: RRRGGGBBB

So

with thit parameters:

"com1&speed:9600&proto:Rl|Rt|Rr|Gl|Gt|Gr|Bl|Bt|Br" (note that i need to write com1 and do not COM1.....boh...)

seems to works OK but,

when i make a test with a test video the fullscreen color is OK but the areas are wrong...

the top seems to be upper right....

at the moment i will test only the top area with a single channel ad i see that in a test video with the screen diveded in two same vertical areas of red and blue color

i think to have a magenta light on stre but th result is red.

where am I wrong?

Please post your settings.xml




RE: [RELEASE] DFAtmo the driver for Atmolight controllers - Corallaro - 2012-10-11

hi..this is my setting:

<settings>
<setting id="analyze_rate" value="35" />
<setting id="analyze_size" value="1" />
<setting id="bottom" value="0" />
<setting id="bottom_left" value="false" />
<setting id="bottom_right" value="false" />
<setting id="brightness" value="100" />
<setting id="center" value="false" />
<setting id="custom_driver" value="" />
<setting id="darkness_limit" value="1" />
<setting id="driver" value="serial" />
<setting id="driver_param" value="&#x16;com1&amp;speed:9600&amp;proto:Rl|Rt|Rr|Gl|Gt|Gr|Bl|Bt|Br" />
<setting id="edge_weighting" value="60" />
<setting id="enabled" value="false" />
<setting id="filter" value="2" />
<setting id="filter_delay" value="0" />
<setting id="filter_length" value="500" />
<setting id="filter_smoothness" value="50" />
<setting id="filter_threshold" value="40" />
<setting id="gamma" value="10" />
<setting id="hue_threshold" value="93" />
<setting id="hue_win_size" value="3" />
<setting id="left" value="0" />
<setting id="log_level" value="1" />
<setting id="output_rate" value="20" />
<setting id="overscan" value="0" />
<setting id="right" value="0" />
<setting id="sat_win_size" value="3" />
<setting id="top" value="10" />
<setting id="top_left" value="false" />
<setting id="top_right" value="false" />
<setting id="uniform_brightness" value="false" />
<setting id="wc_blue" value="255" />
<setting id="wc_green" value="255" />
<setting id="wc_red" value="255" />
</settings>

all is defaut except sections at top area that is "10"

many TNX
Giovanni

ps
errata / corrige:
the top seems to be upper left....


RE: [RELEASE] DFAtmo the driver for Atmolight controllers - durchflieger - 2012-10-11

For your 3 channels: 1-left, 2-top, 3-righ you shoud set:

<setting id="bottom" value="0" />
<setting id="bottom_left" value="false" />
<setting id="bottom_right" value="false" />
<setting id="center" value="false" />
<setting id="left" value="1" />
<setting id="right" value="1" />
<setting id="top" value="1" />
<setting id="top_left" value="false" />
<setting id="top_right" value="false" />



RE: [RELEASE] DFAtmo the driver for Atmolight controllers - Corallaro - 2012-10-11

(2012-10-11, 17:18)durchflieger Wrote: For your 3 channels: 1-left, 2-top, 3-righ you shoud set:

<setting id="bottom" value="0" />
<setting id="bottom_left" value="false" />
<setting id="bottom_right" value="false" />
<setting id="center" value="false" />
<setting id="left" value="1" />
<setting id="right" value="1" />
<setting id="top" value="1" />
<setting id="top_left" value="false" />
<setting id="top_right" value="false" />

many tnx....
this evening/night i test the system and tell you
Giovanni

i made a quick test and seems to be ok.....this w.e. i hope have time to test all and report to you
many tnx....
Giovanni

i made a full test , now is all OK, i'm going to study better the documentation
Many thanks
Giovanni





DFAtmo version 0.3.0 ready for download! - durchflieger - 2012-11-14

Hi,

the new version 0.3.0 of DFAtmo is ready for downloading!

From the changelog:
Code:
Optimize performance of image analysis algorithm:
    1. By introducing a new weight table so that only calculation for pixel
       with relevant weight (currently > 5%) is done.
    2. Do not calculate windowed histograms if windowing size is 0.
Fixed calculation of weight table for border sections.
Fixed analysis error for saturation window size 0.
Serial output driver:
    Extend maximum output package length to 1023 bytes to support SEDU B0 mode.
    Enhanced protocol descriptor syntax:
      For constant values a repeat count or fill up count could be
      specified to define a arbitrary number of bytes with the same
      constant value.
      A couple of RGB groups within the same area with monotone
      increasing or decreasing sections could be defined with the
      new shortcut operators '+n' and '-n'.
README:
    Added performance hints.
    Added enhanced protocol descriptor syntax.
    Added SEDU protocol example.

Because there are significant performance enhancements a update is always worth!

DFAtmo at GitHub
XBMC addon for Windows

Have fun!

- durchflieger





RE: [RELEASE] DFAtmo the driver for Atmolight controllers - OOge - 2012-11-14

ok....I need some help here. I can only get atmowin to work using xbmc in window mode.
Can't get boblight to work. And neither dfatmo. Any help would be great.

50x2 channels using seduboard on com3


RE: - Eratostenes - 2012-11-24

Someone can help me. I try to install according to the following steps in the DFAtmo ubuntu (Windows Me worked fine)

In step 3 ... I get:


xbmci@xbmc-salon:~$ git clone [email protected]:durchflieger/DFAtmo.git dfatmo
Cloning into dfatmo...
The authenticity of host 'github.com (207.97.227.239)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,207.97.227.239' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
xbmci@xbmc-salon:~$

And Again:
Cloning into dfatmo ...
Permission denied (publickey)
fatal: The remote end hung up unepectedly


No need to do to follow ...

thanks



(2011-10-11, 18:09)durchflieger Wrote: @werwer

ok here are the steps for ubuntu:

Code:
# 1. Install prerequisites:
sudo apt-get install git build-essential fakeroot debhelper zip libusb-1.0-0-dev python-dev

# 1a. If you want to build the DFAtmo xinelib plugin do the following step
# Note: You need libxine 1.2 packages here!
sudo apt-get install libxine-dev

# 2. Change into your home dir
cd $HOME

# 3. Download DFAtmo files from git into sub dir dfatmo
# This has only to be done for the first time
git clone [email protected]:durchflieger/DFAtmo.git dfatmo

# 4. Change into project dir
cd dfatmo

# 5. If you want to update the project from git do the following step
git reset --hard
git pull

# 6. If you only want xbmc support without xinelib plugin do the following step
cp debian/control-dfatmo-only debian/control

# 7. Build debian packages
dpkg-buildpackage -b -D -tc -sd -us -uc

# 8. Install DFAtmo package
sudo dpkg -i ../dfatmo_0.1-0_i386.deb

# 8a. If you build the xinelib plugin install it with
sudo dpkg -i ../libxine-dfatmo-plugin_0.1-0_amd64.deb

# 9. Add permissions to access the serial port for the user who executes xbmc by adding him to group "dialout"
#    If you are logged in as this user log out/in again before executing xbmc.
sudo adduser <username> dialout

# 10. Next launch xbmc and install DFAtmo xbmc addon with the zip installation function of XBMC
# The zip is located at "/usr/lib/dfatmo/dfatmo-xbmc-addon.zip"

Go into the addon settings for DFAtmo and set:
driver -> serial
driver param -> /dev/ttyS0;proto=classic
areas -> top=1 left=1 right=1

Of course set driver param to your used serial port device.

Start the DFAtmo addon in xbmc.
Start watching a video -> light should go on

If you need you can configure the mapping from areas to controller channels
individually with the "proto:" option within driver_param.
Have a look into DFAtmo README how this works.




RE: [RELEASE] DFAtmo the driver for Atmolight controllers - durchflieger - 2012-11-24

You have to use the following git clone command:

git clone git://github.com/durchflieger/DFAtmo.git dfatmo


RE: [RELEASE] DFAtmo the driver for Atmolight controllers - Eratostenes - 2012-11-24

(2012-11-24, 11:21)durchflieger Wrote: You have to use the following git clone command:

git clone git://github.com/durchflieger/DFAtmo.git dfatmo
Thank you.

thanks

For me it is very complicated and I have not gotten ubuntu operating. I've gone back and working properly W7.

thanks



RE: [RELEASE] DFAtmo the driver for Atmolight controllers - dasmith83 - 2012-11-25

Would just like to take a moment to thank durchflieger for making this add on and explaining how to use it with Amblone.

I was originally looking at using Boblight, however that was needing linux servers etc and there seems to be no simple windows solution for that add-in.

However, DFAtmo works like a charm!

My particular setup has 4 x LED strips, and uses the exact hardware as described on the Amblone site, with the use of 2 x ULN3000A chips instead of seperate transisters. Personally I prefer all the strips outputting the same colour, i.e. the average colour of the whole screen, as it seems more pleasing to the eye. To do this, I had to enable Top, Left, Right and Bottom in the DFAtmo settings as 1, and i decided to monitor the Centre of the screen therefore you have to enable the Centre option too.

The driver param I ended up using was "com5&speed:256000&proto:xF4|Rc|Gc|Bc|Rc|Gc|Bc|Rc|Gc|Bc|Rc|Gc|Bc|x33"

I'll probably play with more settings at some point however it seems to work well after initial tests.

Thanks again!