[Tutorial] Hyperion Ambilight on Linux and OpenELEC x64

  Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
rmilyard Offline
Senior Member
Posts: 268
Joined: Mar 2014
Reputation: 0
Post: #76
I can use some help. I am new to Hyperion. I make a 250 LEDs with ws2812b. I am using an Ardiuno Uno R3 with sketch someone sent me. Not sure which I should be using but think not my issue yet. I am having issues getting it working. Sorry but I am a noob.

Running current version of OpenELEC on Intel NUC. I am getting this error when starting it up:

Code:
OpenELEC:~/hyperion/config # /storage/hyperion/bin/hyperiond.sh /storage/hyperion/config/hyperion.config.json
Application build time: May 16 2015 07:36:26
QCoreApplication initialised
Selected configuration file: /storage/hyperion/config/hyperion.config.json
ColorTransform 'default' => [0; 117]
Device configuration:
{
        "colorOrder" : "rgb",
        "name" : "MyPi",
        "output" : "/dev/ttyUSB0",
        "rate" : 115200,
        "type" : "adalight"
}

Opening UART: /dev/ttyUSB0
Black border threshold set to 0.01 (3)
Creating linear smoothing
Created linear-smoothing(interval_ms=40;settlingTime_ms=100;updateDelay=0
Effect loaded: Knight rider
Effect loaded: Blue mood blobs
Effect loaded: Cold mood blobs
Effect loaded: Full color mood blobs
Effect loaded: Green mood blobs
Effect loaded: Red mood blobs
Effect loaded: Warm mood blobs
Effect loaded: Rainbow mood
Effect loaded: Rainbow swirl fast
Effect loaded: Rainbow swirl
Effect loaded: Snake
Effect loaded: Strobe blue
Effect loaded: Strobe Raspbmc
Effect loaded: Strobe white
Initializing Python interpreter
Hyperion created and initialised
run effect Rainbow swirl fast on channel 0
Boot sequence(Rainbow swirl fast) created and started
XBMC video checker created and started
The dispmanx framegrabber can not be instantiated, becuse it has been left out from the build
The framebuffer grabber can not be instantiated, becuse it has been left out from the build
The osx grabber can not be instantiated, becuse it has been left out from the build
Json server created and started on port 19444
Proto server created and started on port 19445
XBMC Connected
Message from XBMC: {"id":666,"jsonrpc":"2.0","result":[{"playerid":1,"type":"video"}]}
XBMC checker: switching to VIDEO mode
Message from XBMC: {"id":668,"jsonrpc":"2.0","result":{"System.ScreenSaverActive":false}}
Message from XBMC: {"id":667,"jsonrpc":"2.0","result":{"item":{"file":"smb://FREENAS/Media/videos/movies/A History of Violence (2005)/A History of Violence (2005).mkv","id":784,"label":"A History of Violence","type":"movie"}}}
Message from XBMC: {"id":670,"jsonrpc":"2.0","result":{"version":{"major":14,"minor":2,"revision":"7cc53a9","tag":"stable"}}}
effect finished

Here is my hyperion.config.json:

Code:
// Automatically generated configuration file for 'Hyperion daemon'
// Generated by: HyperCon (The Hyperion deamon configuration file builder

{
    /// Device configuration contains the following fields:
    /// * 'name'       : The user friendly name of the device (only used for display purposes)
    /// * 'type'       : The type of the device or leds (known types for now are 'ws2801', 'ldp8806',
    ///                  'lpd6803', 'sedu', 'adalight', 'lightpack', 'test' and 'none')
    /// * 'output'     : The output specification depends on selected device. This can for example be the
    ///                  device specifier, device serial number, or the output file name
    /// * 'rate'       : The baudrate of the output to the device
    /// * 'colorOrder' : The order of the color bytes ('rgb', 'rbg', 'bgr', etc.).
    "device" :
    {
        "name"       : "MyPi",
        "type"       : "adalight",
    ///    "output"     : "/dev/ttyUSB_FTDI",
    ///    "output"     : "/dev/ttyACM0",
           "output"     : "/dev/ttyUSB0",
        "rate"       : 115200,
        "colorOrder" : "rgb"
    },

    /// Color manipulation configuration used to tune the output colors to specific surroundings.
    /// The configuration contains a list of color-transforms. Each transform contains the
    /// following fields:
    ///  * 'id'   : The unique identifier of the color transformation (eg 'device_1')   ///  * 'leds' : The indices (or index ranges) of the leds to which this color transform applies
    ///             (eg '0-5, 9, 11, 12-17'). The indices are zero based.   ///  * 'hsv' : The manipulation in the Hue-Saturation-Value color domain with the following
    ///            tuning parameters:
    ///            - 'saturationGain'  The gain adjustement of the saturation
    ///            - 'valueGain'       The gain adjustement of the value
    ///  * 'red'/'green'/'blue' : The manipulation in the Red-Green-Blue color domain with the
    ///                           following tuning parameters for each channel:
    ///            - 'threshold'       The minimum required input value for the channel to be on
    ///                                (else zero)
    ///            - 'gamma'           The gamma-curve correction factor
    ///            - 'blacklevel'      The lowest possible value (when the channel is black)
    ///            - 'whitelevel'      The highest possible value (when the channel is white)
    ///
    /// Next to the list with color transforms there is also a smoothing option.
    ///  * 'smoothing' : Smoothing of the colors in the time-domain with the following tuning
    ///                  parameters:
    ///            - 'type'            The type of smoothing algorithm ('linear' or 'none')
    ///            - 'time_ms'         The time constant for smoothing algorithm in milliseconds
    ///            - 'updateFrequency' The update frequency of the leds in Hz
    "color" :
    {
        "transform" :
        [
            {
                "id"   : "default",
                "leds" : "*",
                "hsv" :
                {
                    "saturationGain" : 1.0000,
                    "valueGain"      : 1.0000
                },
                "red" :
                {
                    "threshold"  : 0.0000,
                    "gamma"      : 1.0000,
                    "blacklevel" : 0.0000,
                    "whitelevel" : 1.0000
                },
                "green" :
                {
                    "threshold"  : 0.0000,
                    "gamma"      : 1.0000,
                    "blacklevel" : 0.0000,
                    "whitelevel" : 1.0000
                },
                "blue" :
                {
                    "threshold"  : 0.0000,
                    "gamma"      : 1.0000,
                    "blacklevel" : 0.0000,
                    "whitelevel" : 1.0000
                }
            }
        ],
        "smoothing" :
        {
            "type"            : "linear",
            "time_ms"         : 100,
            "updateFrequency" : 25.0000
        }
    },

    ///  The configuration for each individual led. This contains the specification of the area
    ///  averaged of an input image for each led to determine its color. Each item in the list
    ///  contains the following fields:
    ///  * index: The index of the led. This determines its location in the string of leds; zero
    ///           being the first led.
    ///  * hscan: The fractional part of the image along the horizontal used for the averaging
    ///           (minimum and maximum inclusive)
    ///  * vscan: The fractional part of the image along the vertical used for the averaging
    ///           (minimum and maximum inclusive)

    "leds" :
    [
        {
            "index" : 0,
            "hscan" : { "minimum" : 0.4865, "maximum" : 0.5135 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 1,
            "hscan" : { "minimum" : 0.4595, "maximum" : 0.4865 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 2,
            "hscan" : { "minimum" : 0.4324, "maximum" : 0.4595 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 3,
            "hscan" : { "minimum" : 0.4054, "maximum" : 0.4324 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 4,
            "hscan" : { "minimum" : 0.3784, "maximum" : 0.4054 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 5,
            "hscan" : { "minimum" : 0.3514, "maximum" : 0.3784 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 6,
            "hscan" : { "minimum" : 0.3243, "maximum" : 0.3514 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 7,
            "hscan" : { "minimum" : 0.2973, "maximum" : 0.3243 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 8,
            "hscan" : { "minimum" : 0.2703, "maximum" : 0.2973 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 9,
            "hscan" : { "minimum" : 0.2432, "maximum" : 0.2703 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 10,
            "hscan" : { "minimum" : 0.2162, "maximum" : 0.2432 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 11,
            "hscan" : { "minimum" : 0.1892, "maximum" : 0.2162 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 12,
            "hscan" : { "minimum" : 0.1622, "maximum" : 0.1892 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 13,
            "hscan" : { "minimum" : 0.1351, "maximum" : 0.1622 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 14,
            "hscan" : { "minimum" : 0.1081, "maximum" : 0.1351 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 15,
            "hscan" : { "minimum" : 0.0811, "maximum" : 0.1081 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 16,
            "hscan" : { "minimum" : 0.0541, "maximum" : 0.0811 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 17,
            "hscan" : { "minimum" : 0.0270, "maximum" : 0.0541 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 18,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0270 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 19,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 20,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.9524, "maximum" : 1.0000 }
        },
        {
            "index" : 21,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.9048, "maximum" : 0.9524 }
        },
        {
            "index" : 22,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.8571, "maximum" : 0.9048 }
        },
        {
            "index" : 23,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.8095, "maximum" : 0.8571 }
        },
        {
            "index" : 24,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.7619, "maximum" : 0.8095 }
        },
        {
            "index" : 25,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.7143, "maximum" : 0.7619 }
        },
        {
            "index" : 26,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.6667, "maximum" : 0.7143 }
        },
        {
            "index" : 27,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.6190, "maximum" : 0.6667 }
        },
        {
            "index" : 28,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.5714, "maximum" : 0.6190 }
        },
        {
            "index" : 29,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.5238, "maximum" : 0.5714 }
        },
        {
            "index" : 30,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.4762, "maximum" : 0.5238 }
        },
        {
            "index" : 31,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.4286, "maximum" : 0.4762 }
        },
        {
            "index" : 32,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.3810, "maximum" : 0.4286 }
        },
        {
            "index" : 33,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.3333, "maximum" : 0.3810 }
        },
        {
            "index" : 34,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.2857, "maximum" : 0.3333 }
        },
        {
            "index" : 35,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.2381, "maximum" : 0.2857 }
        },
        {
            "index" : 36,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.1905, "maximum" : 0.2381 }
        },
        {
            "index" : 37,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.1429, "maximum" : 0.1905 }
        },
        {
            "index" : 38,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.0952, "maximum" : 0.1429 }
        },
        {
            "index" : 39,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.0476, "maximum" : 0.0952 }
        },
        {
            "index" : 40,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0800 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.0476 }
        },
        {
            "index" : 41,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0270 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 42,
            "hscan" : { "minimum" : 0.0270, "maximum" : 0.0541 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 43,
            "hscan" : { "minimum" : 0.0541, "maximum" : 0.0811 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 44,
            "hscan" : { "minimum" : 0.0811, "maximum" : 0.1081 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 45,
            "hscan" : { "minimum" : 0.1081, "maximum" : 0.1351 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 46,
            "hscan" : { "minimum" : 0.1351, "maximum" : 0.1622 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 47,
            "hscan" : { "minimum" : 0.1622, "maximum" : 0.1892 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 48,
            "hscan" : { "minimum" : 0.1892, "maximum" : 0.2162 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 49,
            "hscan" : { "minimum" : 0.2162, "maximum" : 0.2432 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 50,
            "hscan" : { "minimum" : 0.2432, "maximum" : 0.2703 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 51,
            "hscan" : { "minimum" : 0.2703, "maximum" : 0.2973 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 52,
            "hscan" : { "minimum" : 0.2973, "maximum" : 0.3243 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 53,
            "hscan" : { "minimum" : 0.3243, "maximum" : 0.3514 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 54,
            "hscan" : { "minimum" : 0.3514, "maximum" : 0.3784 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 55,
            "hscan" : { "minimum" : 0.3784, "maximum" : 0.4054 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 56,
            "hscan" : { "minimum" : 0.4054, "maximum" : 0.4324 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 57,
            "hscan" : { "minimum" : 0.4324, "maximum" : 0.4595 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 58,
            "hscan" : { "minimum" : 0.4595, "maximum" : 0.4865 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 59,
            "hscan" : { "minimum" : 0.4865, "maximum" : 0.5135 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 60,
            "hscan" : { "minimum" : 0.5135, "maximum" : 0.5405 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 61,
            "hscan" : { "minimum" : 0.5405, "maximum" : 0.5676 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 62,
            "hscan" : { "minimum" : 0.5676, "maximum" : 0.5946 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 63,
            "hscan" : { "minimum" : 0.5946, "maximum" : 0.6216 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 64,
            "hscan" : { "minimum" : 0.6216, "maximum" : 0.6486 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 65,
            "hscan" : { "minimum" : 0.6486, "maximum" : 0.6757 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 66,
            "hscan" : { "minimum" : 0.6757, "maximum" : 0.7027 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 67,
            "hscan" : { "minimum" : 0.7027, "maximum" : 0.7297 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 68,
            "hscan" : { "minimum" : 0.7297, "maximum" : 0.7568 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 69,
            "hscan" : { "minimum" : 0.7568, "maximum" : 0.7838 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 70,
            "hscan" : { "minimum" : 0.7838, "maximum" : 0.8108 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 71,
            "hscan" : { "minimum" : 0.8108, "maximum" : 0.8378 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 72,
            "hscan" : { "minimum" : 0.8378, "maximum" : 0.8649 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 73,
            "hscan" : { "minimum" : 0.8649, "maximum" : 0.8919 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 74,
            "hscan" : { "minimum" : 0.8919, "maximum" : 0.9189 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 75,
            "hscan" : { "minimum" : 0.9189, "maximum" : 0.9459 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 76,
            "hscan" : { "minimum" : 0.9459, "maximum" : 0.9730 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 77,
            "hscan" : { "minimum" : 0.9730, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.1500 }
        },
        {
            "index" : 78,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.0476 }
        },
        {
            "index" : 79,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.0476, "maximum" : 0.0952 }
        },
        {
            "index" : 80,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.0952, "maximum" : 0.1429 }
        },
        {
            "index" : 81,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.1429, "maximum" : 0.1905 }
        },
        {
            "index" : 82,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.1905, "maximum" : 0.2381 }
        },
        {
            "index" : 83,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.2381, "maximum" : 0.2857 }
        },
        {
            "index" : 84,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.2857, "maximum" : 0.3333 }
        },
        {
            "index" : 85,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.3333, "maximum" : 0.3810 }
        },
        {
            "index" : 86,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.3810, "maximum" : 0.4286 }
        },
        {
            "index" : 87,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.4286, "maximum" : 0.4762 }
        },
        {
            "index" : 88,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.4762, "maximum" : 0.5238 }
        },
        {
            "index" : 89,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.5238, "maximum" : 0.5714 }
        },
        {
            "index" : 90,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.5714, "maximum" : 0.6190 }
        },
        {
            "index" : 91,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.6190, "maximum" : 0.6667 }
        },
        {
            "index" : 92,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.6667, "maximum" : 0.7143 }
        },
        {
            "index" : 93,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.7143, "maximum" : 0.7619 }
        },
        {
            "index" : 94,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.7619, "maximum" : 0.8095 }
        },
        {
            "index" : 95,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.8095, "maximum" : 0.8571 }
        },
        {
            "index" : 96,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.8571, "maximum" : 0.9048 }
        },
        {
            "index" : 97,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.9048, "maximum" : 0.9524 }
        },
        {
            "index" : 98,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.9524, "maximum" : 1.0000 }
        },
        {
            "index" : 99,
            "hscan" : { "minimum" : 0.9200, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 100,
            "hscan" : { "minimum" : 0.9730, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 101,
            "hscan" : { "minimum" : 0.9459, "maximum" : 0.9730 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 102,
            "hscan" : { "minimum" : 0.9189, "maximum" : 0.9459 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 103,
            "hscan" : { "minimum" : 0.8919, "maximum" : 0.9189 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 104,
            "hscan" : { "minimum" : 0.8649, "maximum" : 0.8919 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 105,
            "hscan" : { "minimum" : 0.8378, "maximum" : 0.8649 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 106,
            "hscan" : { "minimum" : 0.8108, "maximum" : 0.8378 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 107,
            "hscan" : { "minimum" : 0.7838, "maximum" : 0.8108 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 108,
            "hscan" : { "minimum" : 0.7568, "maximum" : 0.7838 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 109,
            "hscan" : { "minimum" : 0.7297, "maximum" : 0.7568 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 110,
            "hscan" : { "minimum" : 0.7027, "maximum" : 0.7297 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 111,
            "hscan" : { "minimum" : 0.6757, "maximum" : 0.7027 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 112,
            "hscan" : { "minimum" : 0.6486, "maximum" : 0.6757 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 113,
            "hscan" : { "minimum" : 0.6216, "maximum" : 0.6486 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 114,
            "hscan" : { "minimum" : 0.5946, "maximum" : 0.6216 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 115,
            "hscan" : { "minimum" : 0.5676, "maximum" : 0.5946 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 116,
            "hscan" : { "minimum" : 0.5405, "maximum" : 0.5676 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        },
        {
            "index" : 117,
            "hscan" : { "minimum" : 0.5135, "maximum" : 0.5405 },
            "vscan" : { "minimum" : 0.8500, "maximum" : 1.0000 }
        }
    ],

    /// The black border configuration, contains the following items:
    ///  * enable    : true if the detector should be activated
    ///  * threshold : Value below which a pixel is regarded as black
    "blackborderdetector" :
    {
        "enable" : true,
        "threshold" : 0.01
    },

    /// The configuration of the effect engine, contains the following items:
    ///  * paths        : An array with absolute location(s) of directories with effects
    ///  * bootsequence : The effect selected as 'boot sequence'
    "effects" :
    {
        "paths" :
        [
            "/storage/hyperion/effects"
        ]
    },

    "bootsequence" :
    {
        "effect" : "Rainbow swirl fast",
        "duration_ms" : 5000
    },

    ///  The configuration for the frame-grabber, contains the following items:
    ///   * width        : The width of the grabbed frames [pixels]
    ///   * height       : The height of the grabbed frames [pixels]
    ///   * frequency_Hz : The frequency of the frame grab [Hz]
    "framegrabber" :
    {
        "width" : 64,
        "height" : 64,
        "frequency_Hz" : 10.0
    },

    /// The configuration of the XBMC connection used to enable and disable the frame-grabber. Contains the following fields:
    ///  * xbmcAddress  : The IP address of the XBMC-host
    ///  * xbmcTcpPort  : The TCP-port of the XBMC-server
    ///  * grabVideo    : Flag indicating that the frame-grabber is on(true) during video playback
    ///  * grabPictures : Flag indicating that the frame-grabber is on(true) during picture show
    ///  * grabAudio    : Flag indicating that the frame-grabber is on(true) during audio playback
    ///  * grabMenu     : Flag indicating that the frame-grabber is on(true) in the XBMC menu
    "xbmcVideoChecker" :
    {
        "xbmcAddress" : "127.0.0.1",
        "xbmcTcpPort" : 9090,
        "grabVideo" : true,
        "grabPictures" : true,
        "grabAudio" : true,
        "grabMenu" : false,
                "grabScreensaver" : true,
                "enable3DDetection" : true
    },

        /// Configuration for the embedded V4L2 grabber
        ///  * device          : V4L2 Device to use [default="/dev/video0"]
        ///  * input           : V4L2 input to use [default=0]
        ///  * standard        : Video standard (no-change/PAL/NTSC) [default="no-change"]
        ///  * width                : V4L2 width to set [default=-1]
        ///  * height               : V4L2 height to set [default=-1]
        ///  * frameDecimation      : Frame decimation factor [default=2]
        ///  * sizeDecimation       : Size decimation factor [default=8]
        ///  * priority             : Hyperion priority channel [default=800]
        ///  * mode                 : 3D mode to use 2D/3DSBS/3DTAB (note: no autodetection) [default="2D"]
        ///  * cropLeft             : Cropping from the left [default=0]
        ///  * cropRight            : Cropping from the right [default=0]
        ///  * cropTop              : Cropping from the top [default=0]
        ///  * cropBottom           : Cropping from the bottom [default=0]
        ///  * redSignalThreshold   : Signal threshold for the red channel between 0.0 and 1.0 [default=0.0]
        ///  * greenSignalThreshold : Signal threshold for the green channel between 0.0 and 1.0 [default=0.0]      
        ///  * blueSignalThreshold  : Signal threshold for the blue channel between 0.0 and 1.0 [default=0.0]
//        "grabber-v4l2" :
//        {
//                "device" : "/dev/video0",
//                "input" : 0,
//                "standard" : "PAL",
//                "width" : -1,
//                "height" : -1,
//                "frameDecimation" : 2,
//                "sizeDecimation" : 8,
//                "priority" : 800,
//                "mode" : "2D",
//                "cropLeft" : 10,
//                "cropRight" : 10,
//                "cropTop" : 1,
//                "cropBottom" : 1,      
//                "redSignalThreshold" : 0.1,
//                "greenSignalThreshold" : 0.1,
//                "blueSignalThreshold" : 0.1
//        },

    /// The configuration of the Json server which enables the json remote interface
    ///  * port : Port at which the json server is started
    "jsonServer" :
    {
        "port" : 19444
    },

    /// The configuration of the Proto server which enables the protobuffer remote interface
    ///  * port : Port at which the protobuffer server is started
    "protoServer" :
    {
        "port" : 19445
    },

    /// The configuration of the boblight server which enables the boblight remote interface
    ///  * port : Port at which the boblight server is started
//  "boblightServer" :
//  {
//      "port" : 19333
//  },

    "endOfJson" : "endOfJson"
}

When running I get no lights from LED. When I boot system up I get some but not during playback.

Other thing if I use the JAVA program to make the config file I get different error when start up:

Code:
OpenELEC:~/hyperion/config # /storage/hyperion/bin/hyperiond.sh /storage/hyperion/config/hyperion.config.json
Application build time: May 16 2015 07:36:26
QCoreApplication initialised
Selected configuration file: /storage/hyperion/config/hyperion.config.json
ColorTransform 'default' => [0; 249]
Device configuration:
{
        "colorOrder" : "rgb",
        "name" : "MyPi",
        "output" : "/dev/USB0",
        "rate" : 115200,
        "type" : "adalight"
}

Opening UART: /dev/USB0
Unable to open RS232 device (IO Exception (2): No such file or directory, file /tmp/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
Black border threshold set to 0.01 (3)
Not creating any smoothing
Effect directory can not be loaded: /opt/hyperion/effects
Initializing Python interpreter
Hyperion created and initialised
run effect Rainbow swirl fast on channel 0
effect Rainbow swirl fast not found
Failed to start boot sequence: Rainbow swirl fast
XBMC video checker created and started
The dispmanx framegrabber can not be instantiated, becuse it has been left out from the build
The framebuffer grabber can not be instantiated, becuse it has been left out from the build
The osx grabber can not be instantiated, becuse it has been left out from the build
Json server created and started on port 19444
Proto server created and started on port 19445
XBMC Connected
Message from XBMC: {"id":666,"jsonrpc":"2.0","result":[{"playerid":1,"type":"video"}]}
XBMC checker: switching to VIDEO mode
Message from XBMC: {"id":668,"jsonrpc":"2.0","result":{"System.ScreenSaverActive":false}}
Message from XBMC: {"id":667,"jsonrpc":"2.0","result":{"item":{"file":"smb://FREENAS/Media/videos/movies/A History of Violence (2005)/A History of Violence (2005).mkv","id":784,"label":"A History of Violence","type":"movie"}}}
Message from XBMC: {"id":670,"jsonrpc":"2.0","result":{"version":{"major":14,"minor":2,"revision":"7cc53a9","tag":"stable"}}}
(This post was last modified: 2015-06-12 02:53 by rmilyard.)
find quote
illiac4 Offline
Fan
Posts: 704
Joined: May 2009
Reputation: 6
Post: #77
Hmm looks like you have dependencies problem. From looking at your command lines I assume that you are using my build. What openelec version do you use (I assume that it is openelec) or. are you compiling by yourself.
Second if you are using my build try this one as alternative:

Code:
curl -L -O https://raw.github.com/Gamadril/hyperion/master/bin/install_hyperion.sh
bash install_hyperion.sh

Third paste one pastebin the modified arduino code and also sketches so that we can see what are you using since adalight does not include 2812 support by default.

Another note:
Also there seems that the config file is strange. Are you sure that you have /dev/ttyUSB0 and not /dev/USB0
as i see in your log file? Also check what new device is created when you insert arduino into usb under folder /dev/ it should be ttyUSB0 and not USB.
(This post was last modified: 2015-06-12 05:25 by illiac4.)
find quote
rmilyard Offline
Senior Member
Posts: 268
Joined: Mar 2014
Reputation: 0
Post: #78
(2015-06-12 05:16)illiac4 Wrote:  Hmm looks like you have dependencies problem. From looking at your command lines I assume that you are using my build. What openelec version do you use (I assume that it is openelec) or. are you compiling by yourself.
Second if you are using my build try this one as alternative:

Code:
curl -L -O https://raw.github.com/Gamadril/hyperion/master/bin/install_hyperion.sh
bash install_hyperion.sh

Third paste one pastebin the modified arduino code and also sketches so that we can see what are you using since adalight does not include 2812 support by default.

Another note:
Also there seems that the config file is strange. Are you sure that you have /dev/ttyUSB0 and not /dev/USB0
as i see in your log file? Also check what new device is created when you insert arduino into usb under folder /dev/ it should be ttyUSB0 and not USB.

I am getting closer. However I think might be the sketch and or prefix. How can you figure out prefix? I am using ws2812b LEDs with 250 of them. Also anyone have a sketch I SHOULD be using?
find quote
rmilyard Offline
Senior Member
Posts: 268
Joined: Mar 2014
Reputation: 0
Post: #79
(2015-06-12 17:17)rmilyard Wrote:  
(2015-06-12 05:16)illiac4 Wrote:  Hmm looks like you have dependencies problem. From looking at your command lines I assume that you are using my build. What openelec version do you use (I assume that it is openelec) or. are you compiling by yourself.
Second if you are using my build try this one as alternative:

Code:
curl -L -O https://raw.github.com/Gamadril/hyperion/master/bin/install_hyperion.sh
bash install_hyperion.sh

Third paste one pastebin the modified arduino code and also sketches so that we can see what are you using since adalight does not include 2812 support by default.

Another note:
Also there seems that the config file is strange. Are you sure that you have /dev/ttyUSB0 and not /dev/USB0
as i see in your log file? Also check what new device is created when you insert arduino into usb under folder /dev/ it should be ttyUSB0 and not USB.

I am getting closer. However I think might be the sketch and or prefix. How can you figure out prefix? I am using ws2812b LEDs with 250 of them. Also anyone have a sketch I SHOULD be using?

How do I figure out prefix for sketch? I think might be the issue but can't figure this part out.
find quote
rmilyard Offline
Senior Member
Posts: 268
Joined: Mar 2014
Reputation: 0
Post: #80
Think I got Hyperion running. However when play movie LEDs don't come on. Is there a log file or something to look for issues?
find quote
illiac4 Offline
Fan
Posts: 704
Joined: May 2009
Reputation: 6
Post: #81
run in foreground paste to pastebin. Also make sure you have installed hyperion addon. Static lights works?
(This post was last modified: 2015-06-13 06:18 by illiac4.)
find quote
rmilyard Offline
Senior Member
Posts: 268
Joined: Mar 2014
Reputation: 0
Post: #82
(2015-06-13 06:17)illiac4 Wrote:  run in foreground paste to pastebin. Also make sure you have installed hyperion addon. Static lights works?

Addon? Someone told me there wasn't one. Maybe this is reason no LEDs?
find quote
illiac4 Offline
Fan
Posts: 704
Joined: May 2009
Reputation: 6
Post: #83
https://github.com/tvdzwan/hyperion/wiki...t-for-RPi)
find quote
Purge Offline
Junior Member
Posts: 7
Joined: Jan 2014
Reputation: 0
Post: #84
Thanks for the openelec x64 Port . Its working like a charm Big Grin

The only thing that is broken = Hyperion + Cinema Experince

Hyperion not work correctly after starting a Movie with cinema Experience
When i start CE the lights have a big delay and looking some kind of static.

Any one else managed to get Hyperion work with CE ?

I posted this also in the CE Thread, but i didn't get a solution
find quote
sunnyfunny Offline
Junior Member
Posts: 13
Joined: Apr 2012
Reputation: 0
Location: Germany
Post: #85
(2015-05-16 08:21)illiac4 Wrote:  There it is:
http://bite-in.com/hyperion/Hyperion_OpenELEC_x64.tgz

File not found..... can anyone up it again please?

MY NUC Family:
Office: NUC5i3RYH, 8GB RAM, Samsung SSD 2400GB, Windows 10 Pro x64
Living Room: NUC5PPYH , 4GB RAM, Samsung SSD 120GB, OpenELEC, Ardulight 100 Leds@ 55" TV
Bedroom: DN2820FYKH, 2GB RAM, Sandisk 120GB SSD, OpenElec
find quote
Furby8704 Offline
Member
Posts: 51
Joined: Feb 2011
Reputation: 0
Location: South Central LA
Post: #86
just saw you have a OE x64 patch now and omg the transition from rpi to OE was smooth.
even my video grabber is working flawlessly. playing destiny on my PS4 right now Smile

thank you so much!!!

**Tip**

if your lights are on all the time you can create commands to turn on and off the lights via keymaps

To Turn Lights On Add:
Code:
/storage/hyperion/bin/hyperiond.sh /storage/hyperion/config/hyperion.config.json </dev/null >/dev/null 2>&1 &

into /storage/.config/on.sh

To Turn Lights Off Add:
Code:
killall hyperiond

into /storage/.config/off.sh

and then edit your keymap to excute command
im using a logitech remote and used my red and green buttons

My Example:
Code:
<red>System.Exec(/storage/.config/on.sh)</red>
<green>System.Exec(/storage/.config/off.sh)</green>

TV: 60" Sharp 60le640u

HTPC:
Openelec 5.0
Intel Pentium E6500
ZOTAC GF9300
2GB RAM
64GB SSD Crucial M4

STORAGE:
Unraid 5.0.6
Intel Celeron G1610 Ivy Bridge
Asrock B75 Pro3-M
8GB G.SKILL Ripjaws (2GB x 4)
28TB Storage + 4TB Parity

REMOTE: Logitech Harmony Smart Hub & Control
AVR: Onkyo HT-S3500 5.1 Surround
(This post was last modified: 2015-08-12 14:39 by Furby8704.)
find quote
Post Reply