Hello to all,
After following some hints and guides on the net, I would like to post my experience and how-to I've setup Hyperion on BananaPi (OS: Raspbian) to work as server with an external XBMC. Yes, XBMC is installed as separate server on a differrent mini-pc. Actually I've not definetly moved XBMC on BananaPi.
Let's start!
Hardware: Banana Board
Led: WS2801 led pixel strip with CIP model 5050
Power Supply: 5V - 10A external power adapter. Do not power the leds with the B-Pi!
First some informations on how connect the LED strip. It's the same as posted on a R-Pi guide, so I'll post the same image, a little modified:
Due these leds are SPI, it's important that the strip starts with the connection to the Power Supply and ends with Banana Board as terminator!
Back to software. I've updated the system and installed the needed packages
apt-get install git cmake build-essential libprotobuf-dev libQt4-dev libusb-1.0-0-dev protobuf-compiler python-dev
Then installed g++ 4.7 due compilation errors using the default one.
update-alternatives --config g++
After, cloned the hyperion repo (remember to set recursion or not the whole project would be downloaded)
make
Create some directories and copy the files to the final place:
mkdir /opt
tar -C /opt -xzf ../deploy/hyperion.tar.gz
ln -fs /opt/hyperion/config/hyperion.config.json /etc/hyperion.config.json
Remove the Raspberry-Pi files and copy the compiled ones:
cp ./bin/hyperiond /usr/bin/
Now we need to load the SPI device:
modprobe spi-sun7i
Add 'spi-sun7i' as new line to '/etc/modules' to load it on every boot.
Using HyperCon we can easly setup the LED strip:
java -jar HyperCon.jar
Set up the led numbers (horizontal, vertical and direction) and save the file to -> /opt/hyperion/config/hyperion.config.json
We can add now the service at boot:
update-rc.d hyperion defaults 98 02
And start the service:
service hyperion start
A ranbow effect should be shown for some seconds.
We can now test hyperion from a console executing:
hyperion-remote -e "Blue mood blobs"
On the XBMC server I've installed this plugin and pointed to the BananaPi/Hyperion server IP address:
https://github.com/tvdzwan/hyperion/wiki/XBMC-addon-(not-for-RPi)And, if you want, you can control the Hyperion server from your iPhone with this app. It works great!
http://chaosspace.de/hyperion-remoteApp for Android available as well. ;)
Here the steps I've followed to create a little wooden frame where I've attached the LEDS:
Comments
Please log in or sign up to comment.