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


- cpresser - 2012-03-04

apañero Wrote:I have tested it with: "COM3;proto=amblone" and the LEDS doesn't light. I don't know what speed/configuration should I use. I can test whatever you think it might work.

From The Ambalone Source:
Code:
iDCB.BaudRate = CBR_256000;
        iDCB.ByteSize = 8;
        iDCB.StopBits = ONESTOPBIT;
        iDCB.Parity = NOPARITY;

So you should try 256000 (which will only work in Windows!)


- apañero - 2012-03-04

Thanks, it works with: "COM3&speed:256000&proto:amblone", not with "COM3;speed=256000;proto=amblone" in Windows.
Let's see if I can avoid Aero tearing problems with this addon.

Thanks everybody!!


- durchflieger - 2012-03-06

apañero Wrote:Thanks, it works with: "COM3&speed:256000&proto:amblone", not with "COM3;speed=256000;proto=amblone" in Windows.
Let's see if I can avoid Aero tearing problems with this addon.

Thanks everybody!!

You should also enable amblone escape handling with:

"COM3&speed:256000&amblone&proto:amblone


RE: [RELEASE] DFAtmo the driver for Atmolight controllers - moeff - 2012-03-13

is it possible to use more than one atmo-light controller with dfatmo - in atmowin there is the multi-atmo feature. i have 4 controllers and want to use them under xbmc.

in classic it works, but only 1 controller used (4 channels)

or is there an option with comX, comX, ..., comX in the parameter value - nothin found in readme and special forums Sad


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

@moeff
See Post #73 of this thread


RE: [RELEASE] DFAtmo the driver for Atmolight controllers - tocinillo - 2012-04-15

Any option to add delay to startup? In my case, if I activate the "auto startup" option, XBMC loads before that ttyUSB0 is ready....and of course, DFAtmo give me "output error". In that case, I turn off and turn on DFAtmo and everything works perfectly....

Any ideas?

Thanks for this AWESOME add-on Wink


RE: [RELEASE] DFAtmo the driver for Atmolight controllers - apañero - 2012-05-04

Hi again, I'm correctly using Dfatmo with Amblone but I have just changed two of my led bars and they are not the same as the other two, so the colors are not the same. Is it possible to specify different white calibration values for each channel? How?

Thanks a lot and congratulations for the job!


RE: [RELEASE] DFAtmo the driver for Atmolight controllers - durchflieger - 2012-05-07

@apañero

Sorry but the actual implementation has only individual white calibration when using the DF10CH controller.


DFAtmo Version 0.2.0 - durchflieger - 2012-05-07

Version 0.2.0 of DFAtmo is now ready for Download at github!

The history since V0.1.0:

Added support for VDR with new DFAtmo VDR plugin.
Added parameter for configuration of output rate.
Ensure first packet send to controller turn lights off.
Correction to mean filter to prevent flickering.
Added some more description for the filter parameters.
Increase maximum size of a data package in serial output driver to 512 bytes.
Increase maximum size of driver parameter to 2048 bytes.
Added more speed values to linux version of serial output driver.
Added ampersand as a additional driver parameter option separator to satisfy xinelib plugin parameter parsing.
Added support for amblone and karatelight controller.
Open Addon settings dialog if no settings file exists.

Download of DFAtmo XBMC addon for windows: https://github.com/downloads/durchflieger/DFAtmo/dfatmo-xbmc-addon-win.zip

Download of DFAtmo source code: https://github.com/durchflieger/DFAtmo/tarball/v0.2.0

Have fun...







RE: DFAtmo Version 0.2.0 - tocinillo - 2012-05-08

(2012-05-07, 13:43)durchflieger Wrote: Version 0.2.0 of DFAtmo is now ready for Download at github!

The history since V0.1.0:

Added support for VDR with new DFAtmo VDR plugin.
Added parameter for configuration of output rate.
Ensure first packet send to controller turn lights off.
Correction to mean filter to prevent flickering.
Added some more description for the filter parameters.
Increase maximum size of a data package in serial output driver to 512 bytes.
Increase maximum size of driver parameter to 2048 bytes.
Added more speed values to linux version of serial output driver.
Added ampersand as a additional driver parameter option separator to satisfy xinelib plugin parameter parsing.
Added support for amblone and karatelight controller.
Open Addon settings dialog if no settings file exists.

Download of DFAtmo XBMC addon for windows: https://github.com/downloads/durchflieger/DFAtmo/dfatmo-xbmc-addon-win.zip

Download of DFAtmo source code: https://github.com/durchflieger/DFAtmo/tarball/v0.2.0

Have fun...

Thanks for this awesome addon Smile

Just two questions:

- Are you added any option to delay the startup add-on (under Linux with SSD, XBMC loads before that ttyUSB0 is ready....and of course, DFAtmo give me "output error".

- It's possible add dfatmo to favourites for turn off/on atmolight?

Thanks again and regards!


RE: [RELEASE] DFAtmo the driver for Atmolight controllers - durchflieger - 2012-05-08

@tocinillo

There is currently no option to delay startup. You should first check the presents of tty device before starting xbmc
because this will be a more reliable solution.

Don't know if its possible to add dfatmo to favourites for turn off/on atmolight because until now i did not dig into it.







RE: [RELEASE] DFAtmo the driver for Atmolight controllers - Crazy#1 - 2012-05-18

hey,
i'm using karatelight and windows.
i don't know whats going wrong. on startup it says 'dfatmo is running' but no light on the led's
Code:
<settings>
    <setting id="analyze_rate" value="35" />
    <setting id="analyze_size" value="1" />
    <setting id="bottom" value="2" />
    <setting id="bottom_left" value="true" />
    <setting id="bottom_right" value="true" />
    <setting id="brightness" value="100" />
    <setting id="center" value="true" />
    <setting id="custom_driver" value="" />
    <setting id="darkness_limit" value="1" />
    <setting id="driver" value="serial" />
    <setting id="driver_param" value="COM3;proto:xAA|x12|CX|24|Gl|Bl|Rl|Gr|Br|Rr|Gt|Bt|Rt|Gb|Bb|Rb|Gl2|Bl2|Rl2|Gr2|Br2|Rr2|Gt2|Bt2|Rt2|Gb2|Bb2|Rb2" />
    <setting id="edge_weighting" value="60" />
    <setting id="enabled" value="true" />
    <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="2" />
    <setting id="log_level" value="1" />
    <setting id="overscan" value="0" />
    <setting id="right" value="2" />
    <setting id="sat_win_size" value="3" />
    <setting id="top" value="2" />
    <setting id="top_left" value="true" />
    <setting id="top_right" value="true" />
    <setting id="uniform_brightness" value="false" />
    <setting id="wc_blue" value="210" />
    <setting id="wc_green" value="255" />
    <setting id="wc_red" value="255" />
</settings>

if I play a video the green control led starts on the karatelightcontroller (idle:only red one flickering | video playing: red one flickering an green led is on). something seems to work...


RE: [RELEASE] DFAtmo the driver for Atmolight controllers - gef974 - 2012-05-28

Hello all!
I'm using an Arduino-power Ambilight.
http://www.ladyada.net/make/adalight/
I have an arduino uno, and I'm a windows user. I tried to get it works but I can't... I put ledstream.pde, installed dfatmo plugin. When I launch xbmc the leds become red green blue, but no lights during a movie playback. How should I configure DFAtmo to get it works? Thank you.

Code:
<setting id="analyze_rate" value="35" />
  <setting id="analyze_size" value="1" />
  <setting id="bottom" value="2" />
  <setting id="bottom_left" value="true" />
  <setting id="bottom_right" value="true" />
  <setting id="brightness" value="100" />
  <setting id="center" value="true" />
  <setting id="custom_driver" value="" />
  <setting id="darkness_limit" value="1" />
  <setting id="driver" value="serial" />
  <setting id="driver_param" value="COM3" />
  <setting id="edge_weighting" value="60" />
  <setting id="enabled" value="true" />
  <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="2" />
  <setting id="log_level" value="1" />
  <setting id="output_rate" value="20" />
  <setting id="overscan" value="5" />
  <setting id="right" value="2" />
  <setting id="sat_win_size" value="3" />
  <setting id="top" value="2" />
  <setting id="top_left" value="true" />
  <setting id="top_right" value="true" />
  <setting id="uniform_brightness" value="false" />
  <setting id="wc_blue" value="255" />
  <setting id="wc_green" value="255" />
  <setting id="wc_red" value="255" />



RE: - Corallaro - 2012-05-29

(2011-10-10, 15:40)werwer Wrote: Hi durchflieger,

I am using Ubuntu 11.04, and a Momolight device.

It is made with a PIC microcontroller and only 3 areas (left, up and right) instead of an Atmel controller.

I think that it should work, because there is no problem using boblight. In essence, it works in the same way as an Atmolight, with the same serial protocol.

In windows it works with no problem.

Hi
With XBMC Eden under Windows XP and serial Momolight original device (with pic 16F628 http://divxstation.com/article.asp?aId=151&page=1 and http://moodprog.digiweert.nl/) with thit parameters:

"com1&speed:9600&proto:Rl|Rt|Rr|Gl|Gt|Gr|Bl|Bt|Br"

works perfectly
(note that i need to write com1 and do not COM1.....boh...)

Giovanni



RE: [RELEASE] DFAtmo the driver for Atmolight controllers - Krautmaster - 2012-05-31

Hey there!

hope ure all fine Wink

1d like to use the DFAthmo plugin together with Windows / Linux and SeduBoards.

Baudrate would be 256000.

Does anybody have an idea how to do so? I installed libusb driver and xbmc eden together with the 0.2 addon version.

Thanks !!!


Edit:

COM Port is No. 3

boblight works with the following settings:

channels 512
type momo
interval 20000
rate 500000
prefix 5A A2
postfix A5

@durchflieger

Maybe it would be a good idea to orientate on boblight to add a standard boblight.conf file for channels configuration in general.

I am in contact with Bob and with Mamba and he wrote a similar plugin for Dreamboxes and VU.

http://www.vuplus-support.org/wbb2/thread.php?postid=324148#post324148

The good thing is, that this would work with boblight in Linux / windows, VU / DB, and its very flexible in configuration.

I already wrote a smal tool to generate a config file, u may check out here:

http://dl.dropbox.com/u/21136636/VS/final/BoblightConfigTool.exe

regards

Kraut


up to 256 Channel Ambilight Project -> buyable stripes
http://www.computerbase.de/forum/showthread.php?p=11611601