Benutzeravatar
Lexter
Neuling

Beiträge:14
Registriert:2. Jul 2016

nur die erste LED leuchtet

17. Jul 2016, 13:17

Ich bekomme es einfach nicht gebacken.

Habe meine hyperion.config.json angepaßt, meine Einstellungen am Bluray-Player durchgeschaut, Depp-Color ausgeschalten, alles auf's einfachste gesetzt, (RGB Standard), mehr Einstellungen hat der nicht, achja auch ma testweise die Viedoausgabe auf 540p gesetzt. aber keine Änderung. Wenn ich mit einem feuchten Finger die Chips auf den LED's berühre, dann leuchtet die jeweilige LED auch auf, daher ist also auch alles richtig angeschlossen. Nur der RPi kann das nicht steuern. Warum? Keine Ahnung.

modifizierte hyperion.config.json

Code: Alles auswählen

// 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"       : "ws2801",
      "output"     : "/dev/spidev0.0",
      "rate"       : 250000,
      "colorOrder" : "brg"
   },

   /// 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.2000,
               "valueGain"      : 1.0000
            },
            "red" :
            {
               "threshold"  : 0.1000,
               "gamma"      : 2.0000,
               "blacklevel" : 0.0000,
               "whitelevel" : 1.0000
            },
            "green" :
            {
               "threshold"  : 0.1000,
               "gamma"      : 2.0000,
               "blacklevel" : 0.0000,
               "whitelevel" : 0.8000
            },
            "blue" :
            {
               "threshold"  : 0.1000,
               "gamma"      : 2.0000,
               "blacklevel" : 0.0000,
               "whitelevel" : 0.7000
            }
         }
      ],
      "smoothing" :
      {
         "type"            : "linear",
         "time_ms"         : 200,
         "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.2857, "maximum" : 0.3214 },
         "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
         "index" : 1,
         "hscan" : { "minimum" : 0.2500, "maximum" : 0.2857 },
         "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
         "index" : 2,
         "hscan" : { "minimum" : 0.2143, "maximum" : 0.2500 },
         "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
         "index" : 3,
         "hscan" : { "minimum" : 0.1786, "maximum" : 0.2143 },
         "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
         "index" : 4,
         "hscan" : { "minimum" : 0.1429, "maximum" : 0.1786 },
         "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
         "index" : 5,
         "hscan" : { "minimum" : 0.1071, "maximum" : 0.1429 },
         "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
         "index" : 6,
         "hscan" : { "minimum" : 0.0714, "maximum" : 0.1071 },
         "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
         "index" : 7,
         "hscan" : { "minimum" : 0.0357, "maximum" : 0.0714 },
         "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
         "index" : 8,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0357 },
         "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
         "index" : 9,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
         "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
         "index" : 10,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
         "vscan" : { "minimum" : 0.9444, "maximum" : 1.0000 }
      },
      {
         "index" : 11,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
         "vscan" : { "minimum" : 0.8889, "maximum" : 0.9444 }
      },
      {
         "index" : 12,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
         "vscan" : { "minimum" : 0.8333, "maximum" : 0.8889 }
      },
      {
         "index" : 13,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
         "vscan" : { "minimum" : 0.7778, "maximum" : 0.8333 }
      },
      {
         "index" : 14,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
         "vscan" : { "minimum" : 0.7222, "maximum" : 0.7778 }
      },
      {
         "index" : 15,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
         "vscan" : { "minimum" : 0.6667, "maximum" : 0.7222 }
      },
      {
         "index" : 16,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
         "vscan" : { "minimum" : 0.6111, "maximum" : 0.6667 }
      },
      {
         "index" : 17,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
         "vscan" : { "minimum" : 0.5556, "maximum" : 0.6111 }
      },
      {
         "index" : 18,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
         "vscan" : { "minimum" : 0.5000, "maximum" : 0.5556 }
      },
      {
         "index" : 19,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
         "vscan" : { "minimum" : 0.4444, "maximum" : 0.5000 }
      },
      {
         "index" : 20,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
         "vscan" : { "minimum" : 0.3889, "maximum" : 0.4444 }
      },
      {
         "index" : 21,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
         "vscan" : { "minimum" : 0.3333, "maximum" : 0.3889 }
      },
      {
         "index" : 22,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
         "vscan" : { "minimum" : 0.2778, "maximum" : 0.3333 }
      },
      {
         "index" : 23,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
         "vscan" : { "minimum" : 0.2222, "maximum" : 0.2778 }
      },
      {
         "index" : 24,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
         "vscan" : { "minimum" : 0.1667, "maximum" : 0.2222 }
      },
      {
         "index" : 25,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
         "vscan" : { "minimum" : 0.1111, "maximum" : 0.1667 }
      },
      {
         "index" : 26,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
         "vscan" : { "minimum" : 0.0556, "maximum" : 0.1111 }
      },
      {
         "index" : 27,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0556 }
      },
      {
         "index" : 28,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 29,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0357 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 30,
         "hscan" : { "minimum" : 0.0357, "maximum" : 0.0714 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 31,
         "hscan" : { "minimum" : 0.0714, "maximum" : 0.1071 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 32,
         "hscan" : { "minimum" : 0.1071, "maximum" : 0.1429 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 33,
         "hscan" : { "minimum" : 0.1429, "maximum" : 0.1786 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 34,
         "hscan" : { "minimum" : 0.1786, "maximum" : 0.2143 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 35,
         "hscan" : { "minimum" : 0.2143, "maximum" : 0.2500 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 36,
         "hscan" : { "minimum" : 0.2500, "maximum" : 0.2857 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 37,
         "hscan" : { "minimum" : 0.2857, "maximum" : 0.3214 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 38,
         "hscan" : { "minimum" : 0.3214, "maximum" : 0.3571 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 39,
         "hscan" : { "minimum" : 0.3571, "maximum" : 0.3929 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 40,
         "hscan" : { "minimum" : 0.3929, "maximum" : 0.4286 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 41,
         "hscan" : { "minimum" : 0.4286, "maximum" : 0.4643 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 42,
         "hscan" : { "minimum" : 0.4643, "maximum" : 0.5000 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 43,
         "hscan" : { "minimum" : 0.5000, "maximum" : 0.5357 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 44,
         "hscan" : { "minimum" : 0.5357, "maximum" : 0.5714 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 45,
         "hscan" : { "minimum" : 0.5714, "maximum" : 0.6071 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 46,
         "hscan" : { "minimum" : 0.6071, "maximum" : 0.6429 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 47,
         "hscan" : { "minimum" : 0.6429, "maximum" : 0.6786 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 48,
         "hscan" : { "minimum" : 0.6786, "maximum" : 0.7143 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 49,
         "hscan" : { "minimum" : 0.7143, "maximum" : 0.7500 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 50,
         "hscan" : { "minimum" : 0.7500, "maximum" : 0.7857 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 51,
         "hscan" : { "minimum" : 0.7857, "maximum" : 0.8214 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 52,
         "hscan" : { "minimum" : 0.8214, "maximum" : 0.8571 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 53,
         "hscan" : { "minimum" : 0.8571, "maximum" : 0.8929 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 54,
         "hscan" : { "minimum" : 0.8929, "maximum" : 0.9286 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 55,
         "hscan" : { "minimum" : 0.9286, "maximum" : 0.9643 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 56,
         "hscan" : { "minimum" : 0.9643, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 57,
         "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
         "index" : 58,
         "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0556 }
      },
      {
         "index" : 59,
         "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.0556, "maximum" : 0.1111 }
      },
      {
         "index" : 60,
         "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.1111, "maximum" : 0.1667 }
      },
      {
         "index" : 61,
         "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.1667, "maximum" : 0.2222 }
      },
      {
         "index" : 62,
         "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.2222, "maximum" : 0.2778 }
      },
      {
         "index" : 63,
         "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.2778, "maximum" : 0.3333 }
      },
      {
         "index" : 64,
         "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.3333, "maximum" : 0.3889 }
      },
      {
         "index" : 65,
         "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.3889, "maximum" : 0.4444 }
      },
      {
         "index" : 66,
         "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.4444, "maximum" : 0.5000 }
      },
      {
         "index" : 67,
         "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.5000, "maximum" : 0.5556 }
      },
      {
         "index" : 68,
         "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.5556, "maximum" : 0.6111 }
      },
      {
         "index" : 69,
         "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.6111, "maximum" : 0.6667 }
      },
      {
         "index" : 70,
         "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.6667, "maximum" : 0.7222 }
      },
      {
         "index" : 71,
         "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.7222, "maximum" : 0.7778 }
      },
      {
         "index" : 72,
         "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.7778, "maximum" : 0.8333 }
      },
      {
         "index" : 73,
         "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.8333, "maximum" : 0.8889 }
      },
      {
         "index" : 74,
         "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.8889, "maximum" : 0.9444 }
      },
      {
         "index" : 75,
         "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.9444, "maximum" : 1.0000 }
      },
      {
         "index" : 76,
         "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
         "index" : 77,
         "hscan" : { "minimum" : 0.9643, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
         "index" : 78,
         "hscan" : { "minimum" : 0.9286, "maximum" : 0.9643 },
         "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
         "index" : 79,
         "hscan" : { "minimum" : 0.8929, "maximum" : 0.9286 },
         "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
         "index" : 80,
         "hscan" : { "minimum" : 0.8571, "maximum" : 0.8929 },
         "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
         "index" : 81,
         "hscan" : { "minimum" : 0.8214, "maximum" : 0.8571 },
         "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
         "index" : 82,
         "hscan" : { "minimum" : 0.7857, "maximum" : 0.8214 },
         "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
         "index" : 83,
         "hscan" : { "minimum" : 0.7500, "maximum" : 0.7857 },
         "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
         "index" : 84,
         "hscan" : { "minimum" : 0.7143, "maximum" : 0.7500 },
         "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
         "index" : 85,
         "hscan" : { "minimum" : 0.6786, "maximum" : 0.7143 },
         "vscan" : { "minimum" : 0.9200, "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 (value between 0.0 and 1.0)
   "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" : 3000
   },

   ///  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
   ///  * grabScreensaver   : Flag indicating that the frame-grabber is on(true) when XBMC is on screensaver
   ///  * enable3DDetection : Flag indicating that the frame-grabber should switch to a 3D compatible modus if a 3D video is playing
//    "xbmcVideoChecker" :
//    {
//       "xbmcAddress" : "10.0.1.11",
//       "xbmcTcpPort" : 9090,
//       "grabVideo" : true,
//       "grabPictures" : true,
//       "grabAudio" : true,
//       "grabMenu" : true,
//       "grabScreensaver" : true,
//       "enable3DDetection" : true
//    },

   /// 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
//    },
// V4L2 GRABBER CONFIG
   "grabber-v4l2" :
   {
      "device" : "/dev/video0",
      "input" : 0,
      "standard" : "PAL",
      "width" : -1,
      "height" : -1,
      "frameDecimation" : 2,
      "sizeDecimation" : 8,
      "priority" : 900,
      "mode" : "2D",
      "cropLeft" : 0,
      "cropRight" : 0,
      "cropTop" : 0,
      "cropBottom" : 0,
      "redSignalThreshold" : 0.0,
      "greenSignalThreshold" : 0.0,
      "blueSignalThreshold" : 0.0
   },
   "endOfJson" : "endOfJson"
}


Ich hoffe, daß ich die hyperion.config.json auch ins richtige Verzeichnis kopiert habe - /storage/.config/
RPi 3 + Raspbian "Jessie" + Hyperion mit Grabber über HDMI und über AV

b2un0
Moderator

Beiträge:1819
Registriert:16. Nov 2015
Wohnort:Hamburg
Beruf:Softwareentwickler

nur die erste LED leuchtet

18. Jul 2016, 07:19

Irgendwie fehlt mir hier noch immer der Screenshot den du mit dem Befehl vom hier
viewtopic.php?f=8&t=836
aus Beitrag #2 angefertigt hast um zu sehen was den nun wirklich am Grabber für ein Bild ankommt.
Kein Support per PM!

Lexter
Neuling

Beiträge:14
Registriert:2. Jul 2016

nur die erste LED leuchtet

20. Dez 2016, 21:57

So, nachdem ich paar Monate Abstand von dem ganzen genommen habe, hab ich mich die Tage nochmal hingesetzt und hab den Fehler gefunden: Meine Raspberry Pi - GPIO-Pins hab ich mir am Anfang wahrscheinlich zerschossen. Hatte heute mal meinen alten 2er drangehängt und ... welch Freude. es hat funktioniert. Wenn ich das gleich mal probiert hätte, dann wäre mir viel nervige und fluchende Zeit erspart geblieben.
RPi 3 + Raspbian "Jessie" + Hyperion mit Grabber über HDMI und über AV

Lexter
Neuling

Beiträge:14
Registriert:2. Jul 2016

nur die erste LED leuchtet

30. Dez 2016, 11:10

b2un0 hat geschrieben:hiermit könnte es funktionieren wenn du den Anschluss an deinem Model hast und den Adapter auch in der Verpackung findest.
2016-07-08 at 15.34.png


So, dank des Hinweises von b2un0 geht jetzt mein Fernsehbild auch über den Raspberry Pi 3.

Habe mal mit dem Technisat-Support telefoniert und der nette Herr am Telefon sagte mir, daß der AV-to-Scart-Ausgang an meinem Gerät ein Video-Signal einspeißt und auch ausgibt. Ich bedankte mich für die Info und kaufte mir das AV-to- Scart-Kabel von Technisat und so einen Scart to-Cinch-Konverter. Meiner ist mit einem "in/out-Schalter" und einer S-Video-Buchse. Gehe ich vom AV-Kabel über die S-Video-Buchse in den Grabber, kommt leider kein Signal an. Gehe ich allerdings vom AV-Kabel über Cinch in den Grabber, dann wird das Signal vom Grabber erkannt. Jetzt brauch ich nur noch nen Video-Cinch-Adapter (1 x Video-Cinch-Eingang und 2 x Video-Cinch-Ausgang), damit ich das Cinch-kabel vom Grabber nicht immer umstecken muß.

D.h. für Technisat-Fernseher der Reihe TechnioPLUS ISIO braucht man definitiv alle Teile von http://powerpi.de/ambilight-fuer-jedes-hdmi-geraet-die-ultimative-schritt-fuer-schritt-anleitung/, plus zusätzlich noch folgende Teile, um auch das Fernsehbild über Ambilight laufen zu lassen.

AV-to-Scart-Kabel https://www.alternate.de/TechniSat/Mini-SCART-Adapter-f%C3%BCr-TechniPlus-ISIO/html/product/1167225?
Scart-Adapter https://www.amazon.de/Scart-Adapter-3x-Cinch-S-VHS/dp/B0014HB4YO/ref=sr_1_4?ie=UTF8&qid=1483092177&sr=8-4&keywords=scart-cinch+adapter

Jetzt such ich nur noch einen Video-Cinch-Adapter oder Kabel (1x Video-Cinch männlich auf 2 x Video-Cinch-weiblich), damit ich nicht mehr umstöpseln muß, wenn ich mal ne Blu-ray über HDMI anschauen will.

Wenn da jemand ne Idee hat, immer her damit.

Allen Forenmitgliedern, Moderatoren und Helfern wünsch' ich noch einen schönen Jahresausklang und einen Guten Rutsch ins neue Jahr! :)
RPi 3 + Raspbian "Jessie" + Hyperion mit Grabber über HDMI und über AV

Donald
Moderator

Beiträge:1255
Registriert:15. Nov 2015

nur die erste LED leuchtet

30. Dez 2016, 13:07

Das geht natürlich auch über S-Video Kabel. Der Grabber kann allerdings nicht allein entscheiden, welchen Eingang er nehmen soll. Daher musst du nur den Input in deiner hyperion.config.json ändern. Input von 0 auf 1

Siehe hier:
// V4L2 GRABBER CONFIG
"grabber-v4l2" :
{
"device" : "/dev/video0",
"input" : 1,
"standard" : "PAL",
"width" : -1,
"height" : -1,
"frameDecimation" : 2,
"sizeDecimation" : 8,
"priority" : 900,
"mode" : "2D",
"cropLeft" : 6,
"cropRight" : 6,
"cropTop" : 2,
"cropBottom" : 2,
"redSignalThreshold" : 0.1,
"greenSignalThreshold" : 0.1,
"blueSignalThreshold" : 0.1
},

Lexter
Neuling

Beiträge:14
Registriert:2. Jul 2016

nur die erste LED leuchtet

30. Dez 2016, 16:58

Aber alle beide auf einmal gehen nicht oder?
Müßte ja dann doch das Kabel umstöpseln, wenn ich über HDMI schauen möchte.
RPi 3 + Raspbian "Jessie" + Hyperion mit Grabber über HDMI und über AV

Donald
Moderator

Beiträge:1255
Registriert:15. Nov 2015

nur die erste LED leuchtet

30. Dez 2016, 20:09

Beide zugleich geht nicht. Aber du kannst Umschaltescripte nehmen, wie hier im Blog beschrieben. Dann kann man die Eingänge per Favorit in Openelec bzw. Kodi umschalten.
Kodi und einer der beiden Grabber Eingänge gehen aber schon gleichzeitig. Nur wen der dritte Eingang dazu kommt, wirds komplizierter.

Lexter
Neuling

Beiträge:14
Registriert:2. Jul 2016

[Gelöst] nur die erste LED leuchtet

8. Jan 2017, 22:03

Danke, Donald, für Deine Idee mit dem Script. Hab jetzt das S-Video-Kabel und ein Cinch-Kabel am Grabber und kann das mit der Fernbedienung umschalten unter Raspbian "Jessie".
Ich habe mir einen IR-Empfänger bestellt und dann habe ich eine PANASONIC-Fernbedienung mittels lirc angelernt.
Danach habe ich folgende 3 Tasten auf der Fernbedienung definiert:

Taste "EXIT" -> Herunterfahren
Taste "AV" -> umschalten von SCART auf HDMI
Taste "CANCEL" -> Reboot

Anschließend habe ich mir ein einfaches Bash-Script geschrieben, welches das Herunterfahren beim Drücken der Taste "EXIT" und ein Reboot beim Drücken der Taste "CANCEL" aktiviert und so dann ein einfaches umschalten.sh-Script, welches einfach nur 2 Konfigurationsdateien kopiert, umbenennt. Wichtig war eben hierbei, einmal den Input von "0" auf "1" zu setzen. Anschließend gibts noch einen automatischen Reboot und die Konfiguration läuft dann über das gewünschte Gerät.

Hier mal meine Grabber-Config in der Datei "hyperion.config.json"-Datei für Scart übertragen auf S-Video an den Grabber.

Code: Alles auswählen

// V4L2 GRABBER CONFIG
   "grabber-v4l2" :
   {
      "device" : "/dev/video0",
      "input" : 1,
      "standard" : "PAL",
      "width" : 720,
      "height" : 576,
      "frameDecimation" : 2,
      "sizeDecimation" : 8,
      "priority" : 900,
      "mode" : "2D",
      "cropLeft" : 10,
      "cropRight" : 9,
      "cropTop" : 3,
      "cropBottom" : 4,
      "redSignalThreshold" : 0.1,
      "greenSignalThreshold" : 0.1,
      "blueSignalThreshold" : 0.1
   },


Und zum Vergleich hier mal meine Grabber-Config in der Datei "hyperion.config2.json"-Datei für HDMI übertragen auf Cinch an den Grabber.

Code: Alles auswählen

   // V4L2 GRABBER CONFIG
   "grabber-v4l2" :
   {
      "device" : "/dev/video0",
      "input" : 0,
      "standard" : "PAL",
      "width" : 720,
      "height" : 576,
      "frameDecimation" : 2,
      "sizeDecimation" : 8,
      "priority" : 900,
      "mode" : "2D",
      "cropLeft" : 19,
      "cropRight" : 17,
      "cropTop" : 3,
      "cropBottom" : 5,
      "redSignalThreshold" : 0.1,
      "greenSignalThreshold" : 0.1,
      "blueSignalThreshold" : 0.1
      },


Und hier noch mein "billiges" Shell-Script, welches beim Drücken der Taste "AV" auf der Fernbedienung aktiviert. Wie gesagt, hatte bisher mit Linux nicht viel am Hut, war aber relativ simpel. Für Verbesserungsvorschläge bin ich stets offen.

1. Hyperion stoppen.
2. Wechsel ins Verzeichnis /etc/hyperion
3. "hyperion.config.json" umbenennen in "hyperion.config3.json"
4. "hyperion.config2.json" umbenennen in "hyperion.config.json"
5. "hyperion.config3.json" umbenennen in "hyperion.config2.json"
6. "Reboot" des RPi mit der geänderten hyperion.config.json

Code: Alles auswählen

#!/bin/sh
killall hyperiond
cd /etc/hyperion
mv hyperion.config.json hyperion.config3.json
mv hyperion.config2.json hyperion.config.json
mv hyperion.config3.json hyperion.config2.json
reboot
RPi 3 + Raspbian "Jessie" + Hyperion mit Grabber über HDMI und über AV

Zurück zu „Ambilight - Support“