Seite 1 von 1

Obere LED vertauscht Grün und Blau bei externer Quelle

Verfasst: 9. Nov 2016, 12:20
von hado31
Schönen Tag miteinander,

Wie schon im Titel zu lesen, habe ich das Problem, dass die obere LED-Leiste meines Ambilights die Farben Grün und Blau vertauscht. Besonders deutlich wird dies, wenn ich die Testbilder aus dem Tutorial anzeigen lasse. Zur Verdeutlichung hier zwei Bilder:

Bild

Beim Anzeigen des blauenBildes

Bild


Beim Anzeigen des grünen Bildes

Zu den geforderten Angaben (vor Veröffentlichung meines Beitrages habe ich die Fehlermeldung bekommen, dass ich zuviele URLs in meinem Beitrag habe. Deshalb habe ich einige aus den kopierten Angaben gelöscht. Diese waren aber alle nur als Kommentar eingefügt, sollten also keine Rolle spielen):

1. WS2801 LED-Stripe hier bestellt: https://de.aliexpress.com/item/5M-ws280 ... -IauvBurZN

2.

Bild

Bild

Bild

Bild

3. Ich habe die SD-Karte des Raspberrys an den PC angeschlossen, ich hoffe, dass ist die richtige Datei.

################################################################################
# This file is part of OpenELEC -
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
# Inspired and partly copied from:
#
#
# 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
################################################################################
# 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#Overcl ... figuration
################################################################################

# 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
# overscan_scale=1
# disable_overscan=1

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

################################################################################
#
################################################################################

# 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
################################################################################

# 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
# mehr usb strom
max_usb_current=1




4.

// Automatically generated configuration file for Hyperion ambilight daemon
// Notice: All values are explained with comments at our wiki: wiki.hyperion-project.org (config area)
// Generated by: HyperCon (The Hyperion deamon configuration file builder)
// Created with HyperCon V1.03.1 (11.06.2016)

{
// DEVICE CONFIGURATION
"device" :
{
"name" : "hyperion.config.grabber.json.",
"type" : "ws2801",
"output" : "/dev/spidev0.0",
"rate" : 250000,
"colorOrder" : "rgb"
},

// COLOR CALIBRATION CONFIG
"color" :
{
"channelAdjustment" :
[
{
"id" : "default",
"leds" : "*",
"pureRed" :
{
"redChannel" : 255,
"greenChannel" : 0,
"blueChannel" : 0
},
"pureGreen" :
{
"redChannel" : 0,
"greenChannel" : 255,
"blueChannel" : 0
},
"pureBlue" :
{
"redChannel" : 0,
"greenChannel" : 0,
"blueChannel" : 255
}
}
],
"temperature" :
[
{
"id" : "default",
"leds" : "*",
"correctionValues" :
{
"red" : 255,
"green" : 255,
"blue" : 255
}
}
],
"transform" :
[
{
"id" : "default",
"leds" : "*",
"hsl" :
{
"saturationGain" : 1.0000,
"luminanceGain" : 1.0000,
"luminanceMinimum" : 0.0000
},
"red" :
{
"threshold" : 0.0000,
"gamma" : 2.5000
},
"green" :
{
"threshold" : 0.0000,
"gamma" : 2.5000
},
"blue" :
{
"threshold" : 0.0000,
"gamma" : 2.5000
}
}
],
// SMOOTHING CONFIG
"smoothing" :
{
"type" : "linear",
"time_ms" : 200,
"updateFrequency" : 20.0000,
"updateDelay" : 0
}
},

// NO V4L2 GRABBER CONFIG
// BLACKBORDER CONFIG
"blackborderdetector" :
{
"enable" : true,
"threshold" : 0.9,
"unknownFrameCnt" : 600,
"borderFrameCnt" : 50,
"maxInconsistentCnt" : 10,
"blurRemoveCnt" : 1,
"mode" : "default"
},

// BOOTEFFECT CONFIG
"bootsequence" :
{
"color" : [0,0,0],
"effect" : "Rainbow swirl fast",
"duration_ms" : 3000,
"priority" : 700
},

"grabber-v4l2" :
{
"device" : "/dev/video0",
"input" : 0,
"standard" : "NTSC",
"width" : -1,
"height" : -1,
"frameDecimation" : 2,
"sizeDecimation" : 4,
"priority" : 800,
"mode" : "2D",
"cropLeft" : 6,
"cropRight" : 6,
"cropTop" : 2,
"cropBottom" : 2,
"redSignalThreshold" : 0.1,
"greenSignalThreshold" : 0.1,
"blueSignalThreshold" : 0.1
},

// JSON SERVER CONFIG
"jsonServer" :
{
"port" : 19444
},

// PROTO SERVER CONFIG
"protoServer" :
{
"port" : 19445
},

// EFFECT PATH
"effects" :
{
"paths" :
[
"/storage/hyperion/effects",
"/usr/share/hyperion/effects"
]
},

// NO FRAME GRABBER CONFIG
// NO KODI CHECK CONFIG
// NO BOBLIGHT SERVER CONFIG
// NO JSON/PROTO FORWARD CONFIG

// LED CONFIGURATION
"leds" :
[
{
"index" : 0,
"hscan" : { "minimum" : 0.3182, "maximum" : 0.3636 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 1,
"hscan" : { "minimum" : 0.2727, "maximum" : 0.3182 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 2,
"hscan" : { "minimum" : 0.2273, "maximum" : 0.2727 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 3,
"hscan" : { "minimum" : 0.1818, "maximum" : 0.2273 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 4,
"hscan" : { "minimum" : 0.1364, "maximum" : 0.1818 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 5,
"hscan" : { "minimum" : 0.0909, "maximum" : 0.1364 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 6,
"hscan" : { "minimum" : 0.0455, "maximum" : 0.0909 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 7,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0455 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 8,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.9231, "maximum" : 1.0000 }
},
{
"index" : 9,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.8462, "maximum" : 0.9231 }
},
{
"index" : 10,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.7692, "maximum" : 0.8462 }
},
{
"index" : 11,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.6923, "maximum" : 0.7692 }
},
{
"index" : 12,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.6154, "maximum" : 0.6923 }
},
{
"index" : 13,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.5385, "maximum" : 0.6154 }
},
{
"index" : 14,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.4615, "maximum" : 0.5385 }
},
{
"index" : 15,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.3846, "maximum" : 0.4615 }
},
{
"index" : 16,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.3077, "maximum" : 0.3846 }
},
{
"index" : 17,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.2308, "maximum" : 0.3077 }
},
{
"index" : 18,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.1538, "maximum" : 0.2308 }
},
{
"index" : 19,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.0769, "maximum" : 0.1538 }
},
{
"index" : 20,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0769 }
},
{
"index" : 21,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0455 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 22,
"hscan" : { "minimum" : 0.0455, "maximum" : 0.0909 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 23,
"hscan" : { "minimum" : 0.0909, "maximum" : 0.1364 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 24,
"hscan" : { "minimum" : 0.1364, "maximum" : 0.1818 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 25,
"hscan" : { "minimum" : 0.1818, "maximum" : 0.2273 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 26,
"hscan" : { "minimum" : 0.2273, "maximum" : 0.2727 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 27,
"hscan" : { "minimum" : 0.2727, "maximum" : 0.3182 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 28,
"hscan" : { "minimum" : 0.3182, "maximum" : 0.3636 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 29,
"hscan" : { "minimum" : 0.3636, "maximum" : 0.4091 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 30,
"hscan" : { "minimum" : 0.4091, "maximum" : 0.4545 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 31,
"hscan" : { "minimum" : 0.4545, "maximum" : 0.5000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 32,
"hscan" : { "minimum" : 0.5000, "maximum" : 0.5455 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 33,
"hscan" : { "minimum" : 0.5455, "maximum" : 0.5909 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 34,
"hscan" : { "minimum" : 0.5909, "maximum" : 0.6364 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 35,
"hscan" : { "minimum" : 0.6364, "maximum" : 0.6818 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 36,
"hscan" : { "minimum" : 0.6818, "maximum" : 0.7273 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 37,
"hscan" : { "minimum" : 0.7273, "maximum" : 0.7727 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 38,
"hscan" : { "minimum" : 0.7727, "maximum" : 0.8182 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 39,
"hscan" : { "minimum" : 0.8182, "maximum" : 0.8636 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 40,
"hscan" : { "minimum" : 0.8636, "maximum" : 0.9091 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 41,
"hscan" : { "minimum" : 0.9091, "maximum" : 0.9545 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 42,
"hscan" : { "minimum" : 0.9545, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 43,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0769 }
},
{
"index" : 44,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.0769, "maximum" : 0.1538 }
},
{
"index" : 45,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.1538, "maximum" : 0.2308 }
},
{
"index" : 46,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.2308, "maximum" : 0.3077 }
},
{
"index" : 47,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.3077, "maximum" : 0.3846 }
},
{
"index" : 48,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.3846, "maximum" : 0.4615 }
},
{
"index" : 49,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.4615, "maximum" : 0.5385 }
},
{
"index" : 50,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.5385, "maximum" : 0.6154 }
},
{
"index" : 51,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.6154, "maximum" : 0.6923 }
},
{
"index" : 52,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.6923, "maximum" : 0.7692 }
},
{
"index" : 53,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.7692, "maximum" : 0.8462 }
},
{
"index" : 54,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.8462, "maximum" : 0.9231 }
},
{
"index" : 55,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.9231, "maximum" : 1.0000 }
},
{
"index" : 56,
"hscan" : { "minimum" : 0.9545, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 57,
"hscan" : { "minimum" : 0.9091, "maximum" : 0.9545 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 58,
"hscan" : { "minimum" : 0.8636, "maximum" : 0.9091 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 59,
"hscan" : { "minimum" : 0.8182, "maximum" : 0.8636 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 60,
"hscan" : { "minimum" : 0.7727, "maximum" : 0.8182 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 61,
"hscan" : { "minimum" : 0.7273, "maximum" : 0.7727 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 62,
"hscan" : { "minimum" : 0.6818, "maximum" : 0.7273 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 63,
"hscan" : { "minimum" : 0.6364, "maximum" : 0.6818 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
}
],

"endOfJson" : "endOfJson"
}

"grabber-v4l2" :
{
"device" : "/dev/video0",
"input" : 0,
"standard" : "NTSC",
"width" : -1,
"height" : -1,
"frameDecimation" : 2,
"sizeDecimation" : 4,
"priority" : 800,
"mode" : "2D",
"cropLeft" : 6,
"cropRight" : 6,
"cropTop" : 2,
"cropBottom" : 2,
"redSignalThreshold" : 0.1,
"greenSignalThreshold" : 0.1,
"blueSignalThreshold" : 0.1
},



5.

Bild

Bild

Bild

Bild

Bild

6.

Wenn man den Fernseher von vorne betrachtet, beginnt die ersteLED (die mit dem Raspberry verbunden ist) links der Mitte und verläuft im Uhrzeigersinn um den Fernseher.

7. Die Hypericon-App funktioniert, jedoch habe ich dort auch das Problem, dass Blau und Grün vertauscht werden.

8.

OpenELEC (official) Version: 6.0.3
OpenELEC:~ # killall hyperiond
OpenELEC:~ # /storage/hyperion/bin/hyperiond.sh /storage/.config/hyperion.config
.json
Hyperion Ambilight Deamon (520)
Version : V1.03.2 (brindosch-99d9396/d3713a8-1469452981
Build Time: Jul 25 2016 06:54:40
INFO: Selected configuration file: /storage/.config/hyperion.config.json
HYPERION INFO: ColorTransform 'default' => [0; 63]
HYPERION INFO: ColorCorrection 'default' => [0; 63]
HYPERION INFO: ColorAdjustment 'default' => [0; 63]
LEDDEVICE INFO: configuration:
{
"colorOrder" : "rgb",
"name" : "MyHyperionConfig",
"output" : "/dev/spidev0.0",
"rate" : 1000000,
"type" : "ws2801"
}

INFO: Creating linear smoothing
HYPERION (CS) INFO: Created linear-smoothing(interval_ms=40;settlingTime_ms=100; updateDelay=0
EFFECTENGINE INFO: 27 effects loaded from directory /storage/hyperion/effects
EFFECTENGINE INFO: Initializing Python interpreter
INFO: Hyperion started and initialised
INFO: Boot sequence 'Rainbow mood' EFFECTENGINE INFO: run effect Rainbow mood on channel 0
BLACKBORDER INFO: threshold set to 0.01 (3)
BLACKBORDER INFO: mode:default
started
INFO: Kodi checker created and started
INFO: Json server created and started on port 19444
INFO: Proto server created and started on port 19445
DISPMANXGRABBER INFO: Display opened with resolution: 640x480
BLACKBORDER INFO: threshold set to 0.01 (3)
BLACKBORDER INFO: mode:default
INFO: Frame grabber created and started
V4L2GRABBER INFO: width=720 height=480
V4L2GRABBER INFO: pixel format=YUYV
BLACKBORDER INFO: threshold set to 0.01 (3)
BLACKBORDER INFO: mode:default
V4L2GRABBER INFO: signal threshold set to: {25,25,25}
V4L2GRABBER INFO: started
INFO: V4L2 grabber created and started
KODICHECK INFO: Kodi Connected
KODICHECK INFO: switching to MENU mode
BORDER SWITCH REQUIRED!!
CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
BORDER SWITCH REQUIRED!!
CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
V4L2GRABBER INFO: stopped
EFFECTENGINE INFO: effect finished
V4L2GRABBER INFO: started



Für eure Hilfe wäre ich wirklich sehr dankbar!

Beste Grüße!

Obere LED vertauscht Grün und Blau bei externer Quelle

Verfasst: 10. Nov 2016, 15:59
von Orbit
Hast du sichergestellt das du die Verbindungen auch entsprechend der Vorgabe verlötet hast, also grün-grün, blau-blau, rot-rot?
Nutzt du auch Ambilight über Kodi? Wenn ja tritt da der Effekt auch auf?

Obere LED vertauscht Grün und Blau bei externer Quelle

Verfasst: 10. Nov 2016, 17:14
von hado31
Hallo!

Ja, zumindest hat alles ohne Probleme funktioniert, als ich die Filme direkt am Raspberry angeschlossen hatte. Die vertauschten Farben kamen erst zustande, als ich über den hdmi grabber meine entertainment-box angeschlossen habe.

Das Ambilight benutze ich ausschließlich über Kodi

Obere LED vertauscht Grün und Blau bei externer Quelle

Verfasst: 10. Nov 2016, 23:28
von Orbit
Du hast in deiner config zwei mal die Informationen für deinen Grabber hinterlegt und zusätzlich auch noch auf NTSC gestellt. Lösche bitte einemal weg und ändere mal auf PAL.