Hi all, I've been making progress with my setup at home but am encountering some problems. I have the my LED strip connected together and talking to the Arduino (verified by loading a different sketch). I have verified Hyperion is running, and my phone can successfully connect to the server. I have not added an inline capicator
When I power only the Arduino, I see a quick, successful LED test. Once the Pi and Arduino boot up I see a quick LED flash, but do not see the rainbow swirl effect.
I am unable to control the LEDs through Hyperion. When I SSH into the Pi and manually set a color I see confirmation from Hyperion, but nothing on the LED side. I'm not sure if it's a configuration issue with the Arduino, or a communication issue between the Pi and the Arduino. Thanks for any help!
BoxOfLights:~/hyperion/bin # ./hyperion-remote -c blue
hyperion-remote:
version : V1.03.2 (brindosch-99d9396/d3713a8-1469452981
build time: Jul 25 2016 06:54:18
Connected to localhost:19444
Set color to 0 0 255
Hardware:
RiPi3 with OpenElec 7.01 and Hyperion
IEIK UNO R3 Board ATmega328P
Mokungit 1APA102-C Individually Addressable Magic Color LED Strip 36 Pixels/m 180
Configs:
Gist => hyperion.config.json
Gist => Arduino sketch
Note, my hyperion config uses "AdalightApa102". When I tried modifying the type to "apa102" type I did not see any activity from the LEDs at all.
Hyperion log
Hyperion Ambilight Deamon (572)
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; 167]
HYPERION INFO: ColorCorrection 'default' => [0; 167]
HYPERION INFO: ColorAdjustment 'default' => [0; 167]
LEDDEVICE INFO: configuration:
{
"colorOrder" : "rgb",
"delayAfterConnect" : 0,
"name" : "P51HyperionConfig",
"output" : "/dev/ttyACM0",
"rate" : 460800,
"type" : "AdalightApa102"
}
Opening UART: /dev/ttyACM0
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 (0)
BLACKBORDER INFO: mode:default
started
INFO: Json server created and started on port 19444
INFO: Proto server created and started on port 19445
EFFECTENGINE INFO: effect finished
JSONSERVER INFO: New connection
BLACKBORDER INFO: threshold set to 0 (0)
BLACKBORDER INFO: mode:default
EFFECTENGINE INFO: effect finished
EFFECTENGINE INFO: run effect Cold mood blobs on channel 50
BLACKBORDER INFO: threshold set to 0 (0)
BLACKBORDER INFO: mode:default
Alles anzeigen
Arduino pins:
Ignore the wire colors, I had to flip the connector backwards for a better connection. I have verified the correct direction of the clock and data.
Testing LEDs through the Arduino (different sketch loaded):
RPi3 + Arduino test: