All,
I got my Ambilight system mostly up and running this weekend. I'm using a RPi3 and a (clone) Arduino Uno to run a string of WS2812 LEDs, using the built-in V4L2 grabber pulling input from an STK1160 USB capture device.
The good news:
- All LEDs blink just fine as part of the Arduino startup routine (and I've now disabled that so it goes straight to it's "ready" mode.
- All LEDs respond to effects picked via the HyperCon Android app. It switches back to actively responding to what's on the screen when I turn the effect off.
The weird part:
- Almost all LEDs update and react to what's on the screen without issue, with the exception of the last LED in the string.
As I said, all LEDs blinked in the Arduino's startup sequence before I disabled it, and all LEDs work fine in effects and the color wheel.
I am using the Arduino Sketch found @ https://github.com/hyperion-pr…ino/adalight/adalight.ino. When I was setting it up initially I ran into a problem with the last LED not lighting up until I commented out the following part of the Sketch:
That brought the last LED online in the start-up sequence (though I couldn't find where I could have misconfigured the Analog options that would have made it go through that if statement), but not for the actual Ambilight operation.
I then took the Sketch and edited out ALL the analog configuration and function parts. The result can be found here: [MEDIA=pastebin]hsEZFM4F[/MEDIA]
My config file can be found here: [MEDIA=pastebin]X21BcF2y[/MEDIA]
I have a total of 222 LEDs in my string, which is set in the config file, with it showing config for LEDs 0 through 221.
And for completeness, here is the results grabbed from my log after starting/re-starting Hyperion.
ssh in: Jan 29 20:12:57 ambi systemd[1]: Started Hyperion Systemd service.
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: Hyperion Ambilight Deamon (706)
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: Version : V1.03.3 (brindosch-2fbbcff/2f01dfa-1495880388
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: Build Time: Jun 3 2017 02:06:37
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: HYPERION INFO: ColorTransform 'default' => [0; 221]
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: HYPERION INFO: ColorCorrection 'default' => [0; 221]
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: HYPERION INFO: ColorAdjustment 'default' => [0; 221]
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: LEDDEVICE INFO: configuration:
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: {
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: "colorOrder" : "rgb",
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: "delayAfterConnect" : 0,
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: "name" : "AmbiLight",
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: "output" : "/dev/ttyACM0",
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: "rate" : 115200,
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: "type" : "adalight"
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: }
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: Opening UART: /dev/ttyACM0
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: INFO: Creating linear smoothing
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=16;settlingTime_ms=100;updateDelay=0
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: EFFECTENGINE INFO: Initializing Python interpreter
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: INFO: Hyperion started and initialised
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: INFO: Json server created and started on port 19444
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: INFO: Proto server created and started on port 19445
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: INFO: Boblight server created and started on port 19333
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: V4L2GRABBER INFO: width=720 height=480
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: V4L2GRABBER INFO: pixel format=UYVY
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: BLACKBORDER INFO: threshold set to 0 (0)
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: BLACKBORDER INFO: mode:default
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: V4L2GRABBER INFO: signal threshold set to: {0,0,0}
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: V4L2GRABBER INFO: started
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: INFO: V4L2 grabber created and started
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: BORDER SWITCH REQUIRED!!
ssh in: Jan 29 20:12:57 ambi hyperiond[706]: CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
Alles anzeigen
Anyone have any thoughts about what could be causing this (honestly minor) issue?