Skip to content

Commit 0b3cec0

Browse files
lukas-hetzeneckerLandrash
authored andcommitted
[LIRC] Remove section about manual installation, this is no longer needed with python-lirc==1.2.3 (home-assistant#1213)
1 parent 0ca7b4e commit 0b3cec0

File tree

1 file changed

+1
-30
lines changed

1 file changed

+1
-30
lines changed

source/_components/lirc.markdown

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -23,38 +23,9 @@ Sending IR commands is not supported in this component (yet), but can be accompl
2323
To allow Home Assistant to talk to your IR receiver, you need to first make sure you have the correct dependencies installed:
2424

2525
```bash
26-
$ sudo apt-get install lirc python3-lirc
26+
$ sudo apt-get install lirc liblircclient-dev
2727
```
2828

29-
Check the version of `python3-lirc`:
30-
31-
```bash
32-
$ apt-cache show python3-lirc
33-
Package: python3-lirc
34-
Source: python-lirc
35-
Version: 1.2.1-2
36-
```
37-
38-
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:
39-
40-
As regular user:
41-
42-
```bash
43-
sudo apt-get install liblircclient-dev
44-
```
45-
46-
As the user that runs hass:
47-
48-
```bash
49-
(hass) $ git clone https://github.com/tompreston/python-lirc.git
50-
(hass) $ cd python-lirc
51-
(hass) $ make py3
52-
(hass) $ python3 setup.py build
53-
(hass) $ python3 setup.py install
54-
```
55-
56-
If you are not using a virtual environment setup, then you'll need a `sudo` before the install line above.
57-
5829

5930
<p class='note'>
6031
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.

0 commit comments

Comments
 (0)