Installing Open Lighting Architecture on a Raspberry Pi 3.
We start with a clean install if Rasbian Buster Lite. As of April 2020 the raspian repo has the latest version – 0.10.7 so a simple sudo apt-get install ola
will suffice. You can confirm the version in the repo with apt show ola
. There is additional info on using ola installed from apt here. The info is older but still useful.
If you want to do things the hard way, follow the instructions for a Linux install from git. The Raspbian images for OLA are several years out of date. We will install a bunch of prerequisites first, checkout the project from git, then config and build.
sudo apt-get install libcppunit-dev libcppunit-1.13-0 uuid-dev pkg-config libncurses5-dev libtool autoconf automake g++ libmicrohttpd-dev protobuf-compiler python-protobuf libprotobuf-dev libprotoc-dev zlib1g-dev bison flex make libftdi-dev libftdi1 libusb-1.0-0-dev liblo-dev libavahi-client-dev python-numpy
sudo apt-get install git
git clone https://github.com/OpenLightingProject/ola.git ola
cd ola
autoreconf -i
If there are config changes to make of modules to enable. The sample below shows enabling RDM test.
./configure --help
./configure --enable-rdm-tests
Now we are ready to build. This will take a bit of time.
make
make check
sudo make install
sudo ldconfig
If everything went well we are ready to start ola
.
olad -l 3
You can view the web gui at http://<host>:9090
.