michaelarnauts / cec-mqtt-bridge

A HDMI-CEC to MQTT bridge for connecting HDMI-CEC-devices to your Home Automation system.
145 stars 48 forks source link

Install instructions? #9

Closed schmittx closed 6 years ago

schmittx commented 6 years ago

Any chance you can provide some basic instructions to install, setup, and run for an RPi running Raspbian?

schmittx commented 6 years ago

Can anyone help with some basic instructions to install?

michaelarnauts commented 6 years ago

You should basicly download this repository to your rpi, modify the config file, and run the main program. You can use a tool like supervisord to make it start in the background.

schmittx commented 6 years ago

Yeah, I ended up getting it with enough hacking. I ended up using systemd service to keep it running in the background, but still have to figure out how to reference the config.ini file in that case.

michaelarnauts commented 6 years ago

Feel free to make a PR to improve the docs :)

michaelarnauts commented 6 years ago

You need to rename the config.default.ini to config.ini and modify the values. You probably need to specify the working directory in systemd so it can find the config file.

schmittx commented 6 years ago

Yep, that's exactly what I did. I finally got everything working pretty smoothly but I couldn't figure out how to install LibCEC from the directory in this repo, I just compiled by myself.