Skip to content
Snippets Groups Projects
Commit 517b11f3 authored by ftomi's avatar ftomi
Browse files

Some documentation

parent cc1021e0
No related branches found
No related tags found
No related merge requests found
# Minimatrix server
Raspberry Pi 3B, Raspbian
Enable SPI interface, spi-dev0.0
WiringPi needed. (```sudo apt install wiringpi```)
## Install OLA
```
sudo apt install ola ola-rdm-tests ola-python libola-dev libola1
```
Config files are in ~/.ola folder. Only sACN (E1.31) plugin is needed. ola-e131.conf:
```
...
draft_discovery = true
input_ports = 6
...
```
Other plugins can be disabled (enable = false);
OLA config page on RPI_IP:9090.
Add 6 universes (1-6) with sACN inputs. (ArtNet only supports 4 universes, so sACN must be used.)
After config restart OLA daemon to save settings.
```
sudo /etc/init.d/olad stop
sudo /etc/init.d/olad start
```
## Build and run
```
make
make install
minimatrixrpi
```
Matrix server on 10000 port.
sACN universes 1-6, 5 rows for each universe from top row (except last, that has 1).
### Using service
Reload daemon after install:
```
sudo systemctl daemon-reload
```
Use the following commands to start, stop or get status of the service:
```
sudo systemctl start minimatrixrpi.service
sudo systemctl stop minimatrixrpi.service
sudo systemctl status minimatrixrpi.service
```
Enable or disable on every boot:
```
sudo systemctl enable minimatrixrpi.service
sudo systemctl disable minimatrixrpi.service
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment