Es funktioniert. Es lag doch am Raspberry Pi. Eine Frage noch.
Gibt es ein Befehl oder eine config Änderung mit der der Raspberry Pi startet wenn ein Hdmi Signal über den Grabber reinkommt und ausgeht wenn das Signal weg ist?
Es funktioniert. Es lag doch am Raspberry Pi. Eine Frage noch.
Gibt es ein Befehl oder eine config Änderung mit der der Raspberry Pi startet wenn ein Hdmi Signal über den Grabber reinkommt und ausgeht wenn das Signal weg ist?
Ich hab ein Arduino Uno von einem Kollegen bekommen. Kann mir jemand einen thread oder link schicken, um mit den Arduino die LEDs zu testen ob sie funktionieren. (Arduino Controller)
Kann der Querschnitt der Datenkabel zu klein sein? Ich weiß nicht weiter.
Genau. Ist über microusb an einen USB Adapter in der Steckdose. Und GND ist einmal auf V- des LED Netzteil und einmal auf Pin 9 aka Pin 6.
Doch hab alles wie beim Plan angeschlossen. Die 5v an Pin 2 hab ich aber weggelassen. Es tut sich nix.
Die jumperkabel sind glaub ich nicht das Problem.
Das Raspberry bekommt den Saft über microUSB. Ich hab alles so angeschlossen wie JumpigJoes Foto es zeigt. Es passiert nix, auch wenn ich ein anderen Effekt über Hyperion.NG einbette.
Hab alles angeschlossen wie auf dem Bild. Aber es funktioniert nicht. Auch hab ich das SPI über raspi Config aktiviert. Der Spi Test hat gezeigt das mein spidev0.0 funktioniert.
Hat Pin 19 und 23 das gleiche Potential wie GND? Wenn ich die beiden gegen GND messe steht da 0V ,ist das normal? Meines Erachtens kann ich 0V ja nicht zu 5V über den Pegelwandler hochskalieren.
Was soll ich tun?
Kann den Test nicht richtig ausführen.
kann ich mit respberry pi os und hyperion.ng mein WS2801 steuern? Oder brauch ich kodi?
hab ich gemacht. Die Zeile 48 ist bei mir eine andere. Habe den Befehl jetzt ans Ende geschrieben.
meine raspi-config sieht so aus:
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# 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
# Configure GPU memory based on SDRAM size - overrides above setting
gpu_mem_256=112
gpu_mem_512=160
gpu_mem_1024=256
################################################################################
# For overclocking and various other settings, see:
# https://www.raspberrypi.org/do…nfiguration/config-txt.md
################################################################################
# Set 'force_turbo=1' to disable dynamic overclocking and enable overclocking a>
force_turbo=0
# Make display smaller to stop text spilling off the screen
#
# Note that the overscan settings only affect the splash screen and not Kodi.
#
# If you experience overscan/underscan issues the best solution is to adjust
# your TV settings ("full pixel", "1-1 pixel" etc.). Alternatively, there is a
# calibration menu in the Kodi GUI.
# disable_overscan=1
# 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
################################################################################
# End of default configuration
################################################################################
################################################################################
# Include distribution specific config file if it exists.
################################################################################
#
[all]
include distroconfig.txt
max_usb_current=1
dtparam=spi=on
hdmi_force_hotplug=1
aber vorher sowie jetzt kommt in Putty:
LibreELEC:~ # ls -l /dev/spi*
crw------- 1 root root 153, 0 Apr 11 2019 /dev/spidev0.0
crw------- 1 root root 153, 1 Apr 11 2019 /dev/spidev0.1
LibreELEC:~ #
bedeutet das nicht, das sie aktiviert sind?
Danke JumpigJoe,
Könntest du mir die Begriffe erklären, was du damit meinst? sudo Funktioniert über putty bei LibreElec doch nicht oder?
Hallo libe Community,
ich habe mein Ambilight noch nicht zum laufen gebracht.
Alle Beiträge hier habe ich schon durchforstet und ausprobiert.
Die LEDs wollen einfach nicht leuchten. Ich bekomme aber auch keine Fehlermeldung via SSH Protokoll. Farben senden funktioniert, bringt aber kein Erfolg.
Kann es sein das mein pi kaputt ist? Ich bekomm ja keine Fehlermeldung.
Oder falsch angeschlossen? Hab ich irgendetwas übersehen?
mein Setup:
Pi 3b+ V.1.2
Hyperion V1.3.5
WS2801 15LED langer Teststreifen (an einer Seite angeschlossen; siehe Foto)
den UTVF007 Grabber
LibreELEC-RPi2.arm-9.2.8.img
// 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.4 (02.02.2020)
{
// DEVICE CONFIGURATION
"device" :
{
"name" : "MyHyperionConfig",
"type" : "ws2801",
"output" : "/dev/spidev0.0",
"rate" : 921600,
"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
}
},
// V4L2 GRABBER CONFIG
"grabber-v4l2" :
{
"device" : "/dev/video0",
"input" : 0,
"standard" : "NO-CHANGE",
"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
},
// BLACKBORDER CONFIG
"blackborderdetector" :
{
"enable" : true,
"threshold" : 0.15,
"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
},
// 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.9333, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 1,
"hscan" : { "minimum" : 0.8667, "maximum" : 0.9333 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 2,
"hscan" : { "minimum" : 0.8000, "maximum" : 0.8667 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 3,
"hscan" : { "minimum" : 0.7333, "maximum" : 0.8000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 4,
"hscan" : { "minimum" : 0.6667, "maximum" : 0.7333 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 5,
"hscan" : { "minimum" : 0.6000, "maximum" : 0.6667 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 6,
"hscan" : { "minimum" : 0.5333, "maximum" : 0.6000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 7,
"hscan" : { "minimum" : 0.4667, "maximum" : 0.5333 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 8,
"hscan" : { "minimum" : 0.4000, "maximum" : 0.4667 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 9,
"hscan" : { "minimum" : 0.3333, "maximum" : 0.4000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 10,
"hscan" : { "minimum" : 0.2667, "maximum" : 0.3333 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 11,
"hscan" : { "minimum" : 0.2000, "maximum" : 0.2667 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 12,
"hscan" : { "minimum" : 0.1333, "maximum" : 0.2000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 13,
"hscan" : { "minimum" : 0.0667, "maximum" : 0.1333 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 14,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0667 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
}
],
"endOfJson" : "endOfJson"
}
ssh connected
ssh out: cat /storage/logfiles/hyperion.log
ssh in: Hyperion Ambilight Deamon (468)
ssh in: Version : V1.03.5 (GitHub-66bef6b/fb413cd-1566231780
ssh in: Build Time: Aug 25 2019 10:39:29
ssh in: INFO: Selected configuration file: /storage/.config/hyperion.config.json
ssh in: HYPERION INFO: ColorTransform 'default' => [0; 14]
ssh in: HYPERION INFO: ColorCorrection 'default' => [0; 14]
ssh in: HYPERION INFO: ColorAdjustment 'default' => [0; 14]
ssh in: LEDDEVICE INFO: configuration:
ssh in: {
ssh in: "colorOrder" : "rgb",
ssh in: "name" : "MyHyperionConfig",
ssh in: "output" : "/dev/spidev0.0",
ssh in: "rate" : 921600,
ssh in: "type" : "ws2801"
ssh in: }
ssh in: INFO: Creating linear smoothing
ssh in: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
ssh in: EFFECTENGINE INFO: 27 effects loaded from directory /storage/hyperion/effects
ssh in: EFFECTENGINE INFO: Initializing Python interpreter
ssh in: INFO: Hyperion started and initialised
ssh in: INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
ssh in: BLACKBORDER INFO: threshold set to 0.15 (39)
ssh in: BLACKBORDER INFO: mode:default
ssh in: started
ssh in: INFO: Json server created and started on port 19444
ssh in: INFO: Proto server created and started on port 19445
ssh in: V4L2GRABBER INFO: width=720 height=480
ssh in: V4L2GRABBER INFO: pixel format=YUYV
ssh in: BLACKBORDER INFO: threshold set to 0.15 (39)
ssh in: BLACKBORDER INFO: mode:default
ssh in: V4L2GRABBER INFO: signal threshold set to: {0,0,0}
ssh in: V4L2GRABBER INFO: started
ssh in: INFO: V4L2 grabber created and started
ssh in: V4L2GRABBER INFO: stopped
ssh in: EFFECTENGINE INFO: effect finished
ssh in: V4L2GRABBER INFO: started
LibreELEC (official): 9.2.8 (RPi2.arm)
LibreELEC:~ # killall hyperiond
LibreELEC:~ # /storage/hyperion/bin/hyperiond.sh /storage/.config/hyperion.confi
g.json
Hyperion Ambilight Deamon (585)
Version : V1.03.5 (GitHub-66bef6b/fb413cd-1566231780
Build Time: Aug 25 2019 10:39:29
INFO: Selected configuration file: /storage/.config/hyperion.config.json
HYPERION INFO: ColorTransform 'default' => [0; 14]
HYPERION INFO: ColorCorrection 'default' => [0; 14]
HYPERION INFO: ColorAdjustment 'default' => [0; 14]
LEDDEVICE INFO: configuration:
{
"colorOrder" : "rgb",
"name" : "MyHyperionConfig",
"output" : "/dev/spidev0.0",
"rate" : 921600,
"type" : "ws2801"
}
INFO: Creating linear smoothing
HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;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 swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
BLACKBORDER INFO: threshold set to 0.15 (39)
BLACKBORDER INFO: mode:default
started
INFO: Json server created and started on port 19444
INFO: Proto server created and started on port 19445
V4L2GRABBER INFO: width=720 height=480
V4L2GRABBER INFO: pixel format=YUYV
BLACKBORDER INFO: threshold set to 0.15 (39)
BLACKBORDER INFO: mode:default
V4L2GRABBER INFO: signal threshold set to: {0,0,0}
V4L2GRABBER INFO: started
INFO: V4L2 grabber created and started
V4L2GRABBER INFO: stopped
EFFECTENGINE INFO: effect finished
V4L2GRABBER INFO: started