Benutzeravatar
Master-P
Neuling

Beiträge:7
Registriert:22. Feb 2016

Ambilight funktioniert nicht mehr

22. Feb 2016, 12:08

Hallo,

vorweg ein großes Lob an den Blog mit seinen super Anleitungen!

Ich habe folgendes Problem:

Vor etwa einem halben Jahr habe ich mir einen Pi 2 und diese LED's http://www.aliexpress.com/item/50pcs-12mm-IP65-Waterproof-WS2801-RGB-LED-Pixels-Modules-with-WS2801-IC-Addressable-Color/663520530.html gekauft und alles soweit eingerichtet.
Das hat bis vor ein paar Tagen prima funktioniert.

Jedoch kam nach einem Ab- und Aufbau des Systems beim Einschalten die Fehlermeldung:

Code: Alles auswählen

sh can't access tty; job control turned off

Nach erfolglosen versuchen den Fehler zu beheben habe ich dann OpenELEC neu installiert.
So nun läuft Kodi wieder aber ich bekomme das Ambilight nicht zum leuchten. Bin strikt nach der Anleitung aus dem Blog vorgegangen...

config.txt:

Code: Alles auswählen

################################################################################
#      This file is part of OpenELEC - http://www.openelec.tv
#      Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
#      Inspired and partly copied from:
#  http://youresuchageek.blogspot.fr/2012/09/howto-raspberry-pi-openelec-on.html
#
#  OpenELEC is free software: you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation, either version 2 of the License, or
#  (at your option) any later version.
#
#  OpenELEC is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with OpenELEC.  If not, see <http://www.gnu.org/licenses/>.
################################################################################
# Bootloader configuration - config.txt
################################################################################

################################################################################
# Memory (System/GPU configuration )
################################################################################

# default GPU memory split (do not change if you do not know what you are doing)
  gpu_mem=128

# SDRAM size based GPU memory split, uncomment and setup to override 'gpu_mem'
  gpu_mem_256=112
  gpu_mem_512=160
  gpu_mem_1024=256

################################################################################
# Overclocking settings
# WARNING: Do not change/enable if you do not know what you are doing!
#          The System may become unstable or you can have data corruption or
#          you can loose your warranty if you set wrong settings
#
# please read: http://elinux.org/RPi_config.txt#Overclocking_configuration
################################################################################

# Overclock mode settings.
#
# default recommended values are: arm_freq | core_freq | sdram_freq | over_voltage
# no overclocking               :    700   |    250    |    400     |      0
# mode 'Modest'                 :    800   |    300    |    400     |      0
# mode 'Medium'                 :    900   |    333    |    450     |      2
# mode 'High'                   :    950   |    450    |    450     |      6
# mode 'Turbo'                  :   1000   |    500    |    600     |      6
# mode 'Pi2'                    :   1000   |    500    |    500     |      2

# arm_freq=700
# core_freq=250
# sdram_freq=400
# over_voltage=0

# set to 'force_turbo=1' to disable dynamic overclocking (you can lose your warranty!)
  force_turbo=0

# If you have any data corruption using Turbo Mode and overclocking
# try with this setting uncommented
# If this still fails, try to use Medium mode without "over_voltage=2"
# If it ultimately keeps failing, forget about this until it gets fixed
# Use a more conservative mode that will works fine in any cases:
# initial_turbo=30

################################################################################
# Overscan settings
################################################################################

# Make display smaller to stop text spilling off the screen
# see also http://www.raspberrypi.org/phpBB3/viewtopic.php?f=67&t=15700
# overscan_scale=1
# disable_overscan=1

# Adapt overscan values to your needs
# overscan_left=57
# overscan_right=59
# overscan_top=20
# overscan_bottom=20

################################################################################
# various settings see also: http://elinux.org/RPi_config.txt
################################################################################

# Force HDMI even if unplugged or powered off
# hdmi_force_hotplug=1

# Doesn't sent initial active source message.
# Avoids bringing CEC (enabled TV) out of standby and channel switch when
# rebooting.
  hdmi_ignore_cec_init=1

################################################################################
# License keys to enable GPU hardware decoding for various codecs
# to obtain keys visit the shop at http://www.raspberrypi.com
################################################################################

# decode_MPG2=0x00000000
# decode_WVC1=0x00000000
# decode_DTS=0x00000000
# decode_DDP=0x00000000

################################################################################
# End of default configuration
# all values below this line were inserted from config.txt.bk (your old config)
# and can be merged with the above values
################################################################################

# Ambilight Modul aktivieren
dtparam=spi=on


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
   /// APA102, Adalight, AmbiLed, Atmo, Hyperion-USBASP-WS2801, Hyperion-USBASP-WS2812, Lightberry, Lightpack, LPD6803, LPD8806, Multi-Lightpack, P9813, Paintpack, PhilipsHUE, PiBlaster, SEDU, Test, ThinkerForge, TPM2, WS2801, WS2812b, None)
   /// * [device type specific configuration]
   /// * 'colorOrder' : The order of the color bytes ('rgb', 'rbg', 'bgr', etc.).
   "device" :
   {
      "name"       : "MyPi",
      "type"       : "ws2801",
      "output"     : "/dev/spidev0.0",
      "rate"     : 1000000,
      "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
   ///            - 'updateDelay'     The delay of the output to leds (in periods of smoothing)
   "color" :
   {
      "transform" :
      [
         {
            "id"   : "default",
            "leds" : "*",
            "hsv" :
            {
               "saturationGain" : 1.0000,
               "valueGain"      : 1.0000
            },
            "red" :
            {
               "threshold"  : 0.2000,
               "gamma"      : 1.8000,
               "blacklevel" : 0.0000,
               "whitelevel" : 1.0000
            },
            "green" :
            {
               "threshold"  : 0.2000,
               "gamma"      : 1.8000,
               "blacklevel" : 0.0000,
               "whitelevel" : 0.6300
            },
            "blue" :
            {
               "threshold"  : 0.2000,
               "gamma"      : 1.8000,
               "blacklevel" : 0.0000,
               "whitelevel" : 0.5300
            }
         }
      ],
      "smoothing" :
      {
         "type"            : "linear",
         "time_ms"         : 150,
         "updateFrequency" : 35.0000,
         "updateDelay"     : 0
      }
   },

   /// 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" : "127.0.0.1",
      "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
//    },

   /// 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" : "no-change",
//       "width" : -1,
//       "height" : -1,
//       "frameDecimation" : 2,
//       "sizeDecimation" : 8,
//       "priority" : 800,
//       "mode" : "2D",
//       "cropLeft" : 0,
//       "cropRight" : 0,
//       "cropTop" : 0,
//       "cropBottom" : 0,
//       "redSignalThreshold" : 0.0,
//       "greenSignalThreshold" : 0.0,
//       "blueSignalThreshold" : 0.0
//    },

   ///  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.0000, "maximum" : 0.0200 },
         "vscan" : { "minimum" : 0.9107, "maximum" : 1.0000 }
      },
      {
         "index" : 1,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
         "vscan" : { "minimum" : 0.8393, "maximum" : 0.9464 }
      },
      {
         "index" : 2,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
         "vscan" : { "minimum" : 0.7679, "maximum" : 0.8750 }
      },
      {
         "index" : 3,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
         "vscan" : { "minimum" : 0.6964, "maximum" : 0.8036 }
      },
      {
         "index" : 4,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
         "vscan" : { "minimum" : 0.6250, "maximum" : 0.7321 }
      },
      {
         "index" : 5,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
         "vscan" : { "minimum" : 0.5536, "maximum" : 0.6607 }
      },
      {
         "index" : 6,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
         "vscan" : { "minimum" : 0.4821, "maximum" : 0.5893 }
      },
      {
         "index" : 7,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
         "vscan" : { "minimum" : 0.4107, "maximum" : 0.5179 }
      },
      {
         "index" : 8,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
         "vscan" : { "minimum" : 0.3393, "maximum" : 0.4464 }
      },
      {
         "index" : 9,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
         "vscan" : { "minimum" : 0.2679, "maximum" : 0.3750 }
      },
      {
         "index" : 10,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
         "vscan" : { "minimum" : 0.1964, "maximum" : 0.3036 }
      },
      {
         "index" : 11,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
         "vscan" : { "minimum" : 0.1250, "maximum" : 0.2321 }
      },
      {
         "index" : 12,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
         "vscan" : { "minimum" : 0.0536, "maximum" : 0.1607 }
      },
      {
         "index" : 13,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0893 }
      },
      {
         "index" : 14,
         "hscan" : { "minimum" : 0.0000, "maximum" : 0.0568 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 15,
         "hscan" : { "minimum" : 0.0341, "maximum" : 0.1023 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 16,
         "hscan" : { "minimum" : 0.0795, "maximum" : 0.1477 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 17,
         "hscan" : { "minimum" : 0.1250, "maximum" : 0.1932 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 18,
         "hscan" : { "minimum" : 0.1705, "maximum" : 0.2386 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 19,
         "hscan" : { "minimum" : 0.2159, "maximum" : 0.2841 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 20,
         "hscan" : { "minimum" : 0.2614, "maximum" : 0.3295 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 21,
         "hscan" : { "minimum" : 0.3068, "maximum" : 0.3750 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 22,
         "hscan" : { "minimum" : 0.3523, "maximum" : 0.4205 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 23,
         "hscan" : { "minimum" : 0.3977, "maximum" : 0.4659 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 24,
         "hscan" : { "minimum" : 0.4432, "maximum" : 0.5114 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 25,
         "hscan" : { "minimum" : 0.4886, "maximum" : 0.5568 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 26,
         "hscan" : { "minimum" : 0.5341, "maximum" : 0.6023 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 27,
         "hscan" : { "minimum" : 0.5795, "maximum" : 0.6477 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 28,
         "hscan" : { "minimum" : 0.6250, "maximum" : 0.6932 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 29,
         "hscan" : { "minimum" : 0.6705, "maximum" : 0.7386 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 30,
         "hscan" : { "minimum" : 0.7159, "maximum" : 0.7841 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 31,
         "hscan" : { "minimum" : 0.7614, "maximum" : 0.8295 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 32,
         "hscan" : { "minimum" : 0.8068, "maximum" : 0.8750 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 33,
         "hscan" : { "minimum" : 0.8523, "maximum" : 0.9205 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 34,
         "hscan" : { "minimum" : 0.8977, "maximum" : 0.9659 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 35,
         "hscan" : { "minimum" : 0.9432, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
      },
      {
         "index" : 36,
         "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.0000, "maximum" : 0.0893 }
      },
      {
         "index" : 37,
         "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.0536, "maximum" : 0.1607 }
      },
      {
         "index" : 38,
         "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.1250, "maximum" : 0.2321 }
      },
      {
         "index" : 39,
         "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.1964, "maximum" : 0.3036 }
      },
      {
         "index" : 40,
         "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.2679, "maximum" : 0.3750 }
      },
      {
         "index" : 41,
         "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.3393, "maximum" : 0.4464 }
      },
      {
         "index" : 42,
         "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.4107, "maximum" : 0.5179 }
      },
      {
         "index" : 43,
         "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.4821, "maximum" : 0.5893 }
      },
      {
         "index" : 44,
         "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.5536, "maximum" : 0.6607 }
      },
      {
         "index" : 45,
         "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.6250, "maximum" : 0.7321 }
      },
      {
         "index" : 46,
         "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.6964, "maximum" : 0.8036 }
      },
      {
         "index" : 47,
         "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.7679, "maximum" : 0.8750 }
      },
      {
         "index" : 48,
         "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.8393, "maximum" : 0.9464 }
      },
      {
         "index" : 49,
         "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
         "vscan" : { "minimum" : 0.9107, "maximum" : 1.0000 }
      }
   ],

   "endOfJson" : "endOfJson"
}


Das ist meine alte Hyperion config mit der es Funktioniert hat, ich habe versucht die im Hyperion configuration Tool nachzustellen.

Erste LED ist unten links montiert, da wo auch der Pi steht.
Strom kommt von unten rechts.
Steuerung per App funktioniert nicht. Es leuchtet immer nur die LED unten links.

Der Befehl aus Punkt 8 ergibt:

Code: Alles auswählen

Application build time: Feb 10 2016 01:50:15
QCoreApplication initialised
Selected configuration file: /storage/.config/hyperion.config.json
ColorTransform 'default' => [0; 49]
Device configuration:
{
        "colorOrder" : "rgb",
        "name" : "MyPi",
        "output" : "/dev/spidev0.0",
        "rate" : 1000000,
        "type" : "ws2801"
}

Creating linear smoothing
Created linear-smoothing(interval_ms=28;settlingTime_ms=150;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: Police Lights Single
Effect loaded: Police Lights Solid
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
Effect loaded: X-Mas
Initializing Python interpreter
Hyperion created and initialised
run effect Rainbow swirl fast on channel 0
Black border threshold set to 0.01 (3)
DETECTION MODE:default
Boot sequence(Rainbow swirl fast) created and started
XBMC video checker created and started
Display opened with resolution: 1920x1080
Black border threshold set to 0.01 (3)
DETECTION MODE:default
Frame grabber created and started
Json server created and started on port 19444
Proto server created and started on port 19445
XBMC Connection error (0)
BORDER SWITCH REQUIRED!!
CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
effect finished
XBMC Connection error (0)
XBMC Connection error (0)
XBMC Connection error (0)
XBMC Connection error (0)
XBMC Connection error (0)
XBMC Connection error (0)
XBMC Connection error (0)
XBMC Connection error (0)
XBMC Connection error (0)
XBMC Connection error (0)
XBMC Connection error (0)
XBMC Connection error (0)
XBMC Connection error (0)
XBMC Connection error (0)
XBMC Connection error (0)
XBMC Connection error (0)
XBMC Connection error (0)


Das fertig Image hab ich auch schon erfolglos getestet :(
Dateianhänge
Verbindung.jpg
Strom.jpg
Pi.jpg

Master-P
Neuling

Beiträge:7
Registriert:22. Feb 2016

Ambilight funktioniert nicht mehr

22. Feb 2016, 12:09

Hyperion configuration Tool
Dateianhänge
HcP5.jpg
HcP3.jpg
HcP4.jpg
HcP2.jpg
HcP1.jpg

b2un0
Moderator

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

Ambilight funktioniert nicht mehr

22. Feb 2016, 12:59

XBMC Connection error (0)


Kontrollier deine XBMC Einstellungen bzgl. aktivierter Fernsteuerung unter Dienste
ggf ändere "xbmcTcpPort" auf "80" in deiner hyperion.config.json
Kein Support per PM!

cenyal
Mitglied

Beiträge:156
Registriert:25. Jan 2016

Ambilight funktioniert nicht mehr

22. Feb 2016, 13:16

wofür ist der Baudrate überhaupt ? bei mir steht 250000 und bei dir 1000000 ??

-Und ich dachte dieses Version von HyperionApp sollte unter openelec nicht funktionieren ? oder irre ich mich ?

Master-P
Neuling

Beiträge:7
Registriert:22. Feb 2016

Ambilight funktioniert nicht mehr

22. Feb 2016, 13:37

Alles klar, jetzt kommt:

Code: Alles auswählen

Application build time: Feb 10 2016 01:50:15
QCoreApplication initialised
Selected configuration file: /storage/.config/hyperion.config.json
ColorTransform 'default' => [0; 49]
Device configuration:
{
        "colorOrder" : "rgb",
        "name" : "MyPi",
        "output" : "/dev/spidev0.0",
        "rate" : 1000000,
        "type" : "ws2801"
}

Creating linear smoothing
Created linear-smoothing(interval_ms=28;settlingTime_ms=150;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: Police Lights Single
Effect loaded: Police Lights Solid
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
Effect loaded: X-Mas
Initializing Python interpreter
Hyperion created and initialised
run effect Rainbow swirl fast on channel 0
Black border threshold set to 0.01 (3)
DETECTION MODE:default
Boot sequence(Rainbow swirl fast) created and started
XBMC video checker created and started
Display opened with resolution: 1920x1080
Black border threshold set to 0.01 (3)
DETECTION MODE:default
Frame grabber created and started
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":[]}
XBMC checker: switching to MENU mode
Message from XBMC: {"id":668,"jsonrpc":"2.0","result":{"System.ScreenSaverActive":false}}
Message from XBMC: {"id":670,"jsonrpc":"2.0","result":{"version":{"major":15,"minor":2,"revision":"02e7013","tag":"stable"}}}
BORDER SWITCH REQUIRED!!
CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
effect finished


Wofür die Baudrate ist weiß ich auch nicht...

Zur Hyperion Version:
Hab erst die aus der Anleitung genommen und dann das hier ausprobiert http://powerpi.de/forum/viewtopic.php?f=13&t=833

Edit: Also nicht dass das falsch verstanden wird, mein Ambilight funktioniert leider nach wie vor nicht.. :cry:

Master-P
Neuling

Beiträge:7
Registriert:22. Feb 2016

Ambilight funktioniert nicht mehr

23. Feb 2016, 18:53

Kann es sein dass die GPIOs defekt sind?
Und wenn ja wie könnte ich das testen bzw ist es möglich die Pins fürs Ambilight zu ändern?

Master-P
Neuling

Beiträge:7
Registriert:22. Feb 2016

Ambilight funktioniert nicht mehr

27. Feb 2016, 20:21

*push*

b2un0
Moderator

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

Ambilight funktioniert nicht mehr

29. Feb 2016, 08:36

Die SPI Pins lassen sich nicht ändern soweit ich weiß.
Zumindest habe ich noch keine Möglichkeit gefunden da ich gerne noch einen zweiten Stripe mit eigener Hyperion Instanz betreiben wollte und dafür ebenfalls keine Lösung gefunden hab.

Außerdem korrigier die Baudrate wirklich mal zurück auf "250000".
Kein Support per PM!

Master-P
Neuling

Beiträge:7
Registriert:22. Feb 2016

Ambilight funktioniert nicht mehr

13. Jun 2016, 12:51

So ich bins wieder.
Ich habe mir jetzt einen zweiten Pi 2 gekauft um zu schauen ob es am Pi lag.
Aber auch mit dem neuen Pi funktioniert nichts...
Habe aktuell das Testimage drauf.

Mir ist aufgefallen, dass die erste LED die Farbe ändert wenn man das Kabel berührt und habe im Verdacht eines Wackelkontakts o.Ä. die erste LED abgeschnitten, jedoch macht die jetzige erste LED genau das Gleiche...

Was kann es denn jetzt noch sein? :cry:

b2un0
Moderator

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

Ambilight funktioniert nicht mehr

13. Jun 2016, 13:19

Vertausch mal die beiden Datenleitungen.

Die LEDs reagieren generell empfindlich auf alles, auch Berührungen solang kein konstantes Steuersignal anliegt.

Viel wichtiger ist eher die Frage, bist du wirklich am Anfang der Stripes oder am Ende? woran erkennst du bei deinen LEDs die Laufrichtung?
Woran erkennst du außerdem die unterschiedlichen Leitung?

Ein Foto der ersten LED wo man die Adern sauber erkennt wie diese zur Platine gehen wäre hilfreich.
Kein Support per PM!

Master-P
Neuling

Beiträge:7
Registriert:22. Feb 2016

Ambilight funktioniert nicht mehr

13. Jun 2016, 13:45

Zunächst vielen Dank für deine Antwort :)

Also ich habe ja die Kette und nicht die Stripes, habe die Leitungen anhand ihrer Farbe identifiziert (Weiß clk, blau gnd, grün dat) aber das war wohl falsch...
Sehe grad hier https://www.linuxlinus.de/wp-content/uploads/2014/08/schaltung.png dass das wohl nicht einheitlich ist.

Jedenfalls funktioniert es jetzt mit dem neuen Pi und Blau auf 9, Grün auf 23 und Weiß auf 19.
Mit dem alten Pi funktioniert es nicht. Also sind da die Pins wohl irgendwie Kaputt gegangen und ich habe jetzt nur beim Anschließen mich fälschlicherweise auf die Farben verlassen.

Bin jedenfalls happy dass es jetzt endlich wieder funktioniert :roll:
auch wenn ich jetzt nur noch 49 LEDs habe :mrgreen:

Danke für den tollen Support!

Zurück zu „Ambilight - Support“