Hi All,
I've tried to resolve this on my own by searching the forum and reading other online tutorials, however over the last 2 days I've sadly not made much progress and appear to be going round in circles.
I Believe my wiring is correct, the Uno on its own can address all the LED's so I'm happy with those. In fact when the Uno is attached to the RPi, my config placed within "\Configfiles\" and I use the below command, the LED's react:
My problem is that upon booting up OpenElec, although the Uno / LED's do their initial RGB test, they don't come on again afterwards. As mentioned above once booted, and using SSH I can run that command and the LED's react. So I get the impression the issue is config related?
My setup is as follows:
OpenElec Version 8.0.4
HyperCon Version 1.03.3
RPi Zero W
Arduino Uno R3
5V 10amp PSU
WS2812B LED Strip
LogiLink VG0001A USB Video Grabber
HDMI2AV converter
HDMI Switch
During troubleshooting I've run with a minimal config of just:
OpenElec Version 8.0.4
HyperCon Version 1.03.3
RPi Zero W
Arduino Uno R3
5V 10amp PSU
WS2812B LED Strip
Once I've initially installed and setup Wifi / SSH on OpenElec, I add this line of code to the config of the RPi:
Then I utilise the SSH functionally of HyperCon to "Inst. /Upd. Hyperion", this appears to work successfully. Still using HyperCon I then upload my configuration to: "\storage\.config\hyperion.config.json" and using "start" / "Stop", "Set Led Color" all works.
My Config file appears as:
[MEDIA=pastebin]kXqfsjQB[/MEDIA]
Before I attach the video grabber and progress my project I would like the LEDs to react to the KODI menu and videos it plays, however the LEDS don't automatically start upon booting. What have I missed?
if I run the command :
It produces the follow error:
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 'Knight rider' EFFECTENGINE INFO: run effect Knight rider on channel 0
BLACKBORDER INFO: threshold set to 0.01 (3)
BLACKBORDER INFO: mode:default
started
INFO: Kodi checker created and started
terminate called after throwing an instance of 'std::runtime_error'
what(): JSONSERVER ERROR: could not bind to port
Aborted (core dumped)
Alles anzeigen
Many thanks