Hello,
Here is what I did:
- Install Hyperion with Hypercon.jar on Rpi 3b on Debian
- Connect 6 LED WS2813 to the Rpi (pin 19 for DI, no connection for BI, as it is supposed to work as the WS2812b)
- Connect the LED strip +5V to the V+ of the 5V 20A DC current ( this part: https://www.amazon.fr/gp/produ…_detailpage?ie=UTF8&psc=1 ) I tried 6 LED first to see the feasbility of the project.
- Connect Ground from LED strip and Rpi (pin 6 ) to the ground of the power supply of the LED strip.
- Connect an HDMI splitter / Hdmi to RCA converter / FrameGrabber UTV007 to Rpi
- Configure the Hyperion with Hypercon
What works:
- Installation of Hyperion seems ok
- Screenshot of FrameGrabber Works
- Send conifguration to the Rpi works ( I can see the file on the Rpi being modified)
- The LOG when I start Hyperion shows no error
However, the LED never light.
What I tried to debug:
- I de-solder the DI connection, increase the rainbow effect from 3 s to 1 min and try to connect it with every pin, no thing.
- Check with the Multimeter every connection.
Here is the .json config file:
// 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.3 (22.10.2017)
{
// DEVICE CONFIGURATION
"device" :
{
"name" : "checkforpin",
"type" : "ws281x",
"leds" : 5,
"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" : "PAL",
"width" : -1,
"height" : -1,
"frameDecimation" : 2,
"sizeDecimation" : 8,
"priority" : 900,
"mode" : "2D",
"cropLeft" : 16,
"cropRight" : 15,
"cropTop" : 0,
"cropBottom" : 0,
"redSignalThreshold" : 0.0,
"greenSignalThreshold" : 0.0,
"blueSignalThreshold" : 0.0
},
// FRAME GRABBER CONFIG
"framegrabber" :
{
"width" : 64,
"height" : 64,
"frequency_Hz" : 10.0,
"priority" : 890
},
// BLACKBORDER CONFIG
"blackborderdetector" :
{
"enable" : true,
"threshold" : 0.0,
"unknownFrameCnt" : 600,
"borderFrameCnt" : 50,
"maxInconsistentCnt" : 10,
"blurRemoveCnt" : 1,
"mode" : "default"
},
// BOOTEFFECT CONFIG
"bootsequence" :
{
"color" : [0,0,0],
"effect" : "Rainbow swirl fast",
"duration_ms" : 60000,
"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 KODI CHECK CONFIG
// NO BOBLIGHT SERVER CONFIG
// NO JSON/PROTO FORWARD CONFIG
// LED CONFIGURATION
"leds" :
[
{
"index" : 0,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.5000, "maximum" : 1.0000 }
},
{
"index" : 1,
"hscan" : { "minimum" : 0.0000, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 2,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.5000, "maximum" : 1.0000 }
},
{
"index" : 3,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.5000 }
},
{
"index" : 4,
"hscan" : { "minimum" : 0.0000, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 5,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.5000 }
}
],
"endOfJson" : "endOfJson"
}
Here is the LOG file:
ssh in: janv. 03 12:22:04 raspberrypi systemd[1]: Started Hyperion Systemd service.
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: Hyperion Ambilight Deamon (1108)
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: Version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: Build Time: Apr 5 2018 01:57:25
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: HYPERION INFO: ColorTransform 'default' => [0; 5]
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: HYPERION INFO: ColorCorrection 'default' => [0; 5]
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: HYPERION INFO: ColorAdjustment 'default' => [0; 5]
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: LEDDEVICE INFO: configuration:
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: {
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: "colorOrder" : "rgb",
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: "leds" : 5,
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: "name" : "checkforpin",
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: "type" : "ws281x"
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: }
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: whiteAlgorithm ::
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: INFO: Creating linear smoothing
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: EFFECTENGINE INFO: Initializing Python interpreter
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: INFO: Hyperion started and initialised
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: BLACKBORDER INFO: threshold set to 0 (0)
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: BLACKBORDER INFO: mode:default
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: started
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: INFO: Json server created and started on port 19444
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: INFO: Proto server created and started on port 19445
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: DISPMANXGRABBER INFO: Display opened with resolution: 1920x1080
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: BLACKBORDER INFO: threshold set to 0 (0)
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: BLACKBORDER INFO: mode:default
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: INFO: Frame grabber created and started
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: V4L2GRABBER INFO: width=720 height=576
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: V4L2GRABBER INFO: pixel format=YUYV
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: BLACKBORDER INFO: threshold set to 0 (0)
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: BLACKBORDER INFO: mode:default
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: V4L2GRABBER INFO: signal threshold set to: {0,0,0}
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: V4L2GRABBER INFO: started
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: INFO: V4L2 grabber created and started
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: BORDER SWITCH REQUIRED!!
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: BORDER SWITCH REQUIRED!!
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
ssh in: janv. 03 12:22:04 raspberrypi hyperiond[1108]: V4L2GRABBER INFO: stopped
Question:
- I saw that WS2812b are connected via Arduino. Is it possible to do without it ?
- Is the connection from DI to PIN 19 correct ?
- Where do I connect BI to ?
- Is there a small program I can try directly from the RPi to test if the LED are still functionnal ?
- Should I try it with OpenElec instead of Debian ?
- Is there something more I can try ?
Thank you,
Melponeme.