-
Notifications
You must be signed in to change notification settings - Fork 48
Installation instructions
Michaël Arnauts edited this page Aug 28, 2018
·
2 revisions
For installation on a Raspberry Pi with OSMC. Tested on version 2018.07.
apt-get update
apt-get install build-essential git python3 python3-dev python3-setuptools python3-pip python3-wheel
cd /opt/
git clone https://github.com/michaelarnauts/cec-mqtt-bridge.git
cd cec-mqtt-bridge/
dpkg -i libcec/*.deb
apt-get -f install
pip3 install -r requirements.txt
- Copy
config.default.ini
toconfig.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
tolibcrc
and specify the buttons you want to receive on MQTT. You might need to change the remote tolinux-input-layer
for this to work.
- Make sure your remote
TODO: supervisord to automatically start.