[LIRC] Remove section about manual installation, this is no longer needed with python-lirc==1.2.3 (#1213)

This commit is contained in:
Lukas 2016-10-12 08:00:00 +02:00 committed by Fredrik Lindqvist
parent 0ca7b4e7bd
commit 0b3cec0338

View File

@ -23,38 +23,9 @@ Sending IR commands is not supported in this component (yet), but can be accompl
To allow Home Assistant to talk to your IR receiver, you need to first make sure you have the correct dependencies installed:
```bash
$ sudo apt-get install lirc python3-lirc
$ sudo apt-get install lirc liblircclient-dev
```
Check the version of `python3-lirc`:
```bash
$ apt-cache show python3-lirc
Package: python3-lirc
Source: python-lirc
Version: 1.2.1-2
```
If you do not have this version or you are running in a virtual environment, then your system will completely freeze with this component active. You will need to build `python3-lirc` from source. The version of this library in the Python package index is also broken, so the typical dependency system cannot fix this. Build it from source like this:
As regular user:
```bash
sudo apt-get install liblircclient-dev
```
As the user that runs hass:
```bash
(hass) $ git clone https://github.com/tompreston/python-lirc.git
(hass) $ cd python-lirc
(hass) $ make py3
(hass) $ python3 setup.py build
(hass) $ python3 setup.py install
```
If you are not using a virtual environment setup, then you'll need a `sudo` before the install line above.
<p class='note'>
If you are configuring on a Raspberry Pi, there are excellent instructions with GPIO schematics and driver configurations [here](http://alexba.in/blog/2013/01/06/setting-up-lirc-on-the-raspberrypi/). Consider following these.