Skip to content

Installation instructions

Michaël Arnauts edited this page Aug 28, 2018 · 2 revisions

OSMC

For installation on a Raspberry Pi with OSMC. Tested on version 2018.07.

Install requirements

apt-get update
apt-get install build-essential git python3 python3-dev python3-setuptools python3-pip python3-wheel

Download cec-mqtt-bridge

cd /opt/
git clone https://github.com/michaelarnauts/cec-mqtt-bridge.git
cd cec-mqtt-bridge/

Install libcec (optional)

dpkg -i libcec/*.deb
apt-get -f install

Install dependencies

pip3 install -r requirements.txt

Configuration

  • Copy config.default.ini to config.ini and change the defaults.
  • If you use IR:
    • Make sure your remote .conf files are in /etc/lirc and button presses are detected fine in lirc.
    • Copy libcrc.default to libcrc and specify the buttons you want to receive on MQTT. You might need to change the remote to linux-input-layer for this to work.

Supervisor

TODO: supervisord to automatically start.