From b45f71d8fae7df832463e77705f9bc465c0bba47 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 11 Jun 2016 13:39:18 -0700 Subject: [PATCH] Update lirc.markdown --- source/_components/lirc.markdown | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/_components/lirc.markdown b/source/_components/lirc.markdown index 9316575446c..bacf8b3cb1f 100644 --- a/source/_components/lirc.markdown +++ b/source/_components/lirc.markdown @@ -30,6 +30,7 @@ $ sudo apt-get install lirc 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.

+### {% linkable_title Configuring LIRC %} Now teach LIRC about your particular remote control by preparing a lircd configuration file (`/etc/lirc/lircd.conf`). Search the [LIRC remote database](http://lirc.sourceforge.net/remotes/) for your model. If you can't find it, then you can always use the `irrecord` program to learn your remote. This will create a valid configuration file. Add as many remotes as you want by pasting them into the file. If `irrecord` doesn't work (e.g. for some air conditioner remotes), then the `mode2` program is capable of reading the codes in raw mode, followed by `irrecord -a` to extract hex codes. @@ -65,13 +66,16 @@ $ irexec -n home-assistant and pressing some buttons on the remote. -### {% linkable_title Configuration %} +### {% linkable_title Configuration Home Assistant %} ```yaml # Example configuration.yaml entry lirc: ``` +

+If you are on a Debian based system (like Raspberry Pi) and are having issues loading the component due to it being unable to install python-lirc, install it manually using `apt-get install python3-lirc`. +

#### {% linkable_title Events %}