diff --git a/atom.xml b/atom.xml index 3b5d85e25d..b2bbda3758 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2016-07-12T21:26:14+00:00 + 2016-07-13T07:26:06+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 32472cd784..0cd9ffef56 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2016-07-12T21:26:14+00:00 + 2016-07-13T07:26:06+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index feaa22c396..d45e326ffd 100644 --- a/blog/categories/device-tracking/atom.xml +++ b/blog/categories/device-tracking/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Device-Tracking | Home Assistant]]> - 2016-07-12T21:26:14+00:00 + 2016-07-13T07:26:06+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index 424e61594d..488bd9ec3b 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2016-07-12T21:26:14+00:00 + 2016-07-13T07:26:06+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index c24bdcc647..375561a0d1 100644 --- a/blog/categories/how-to/atom.xml +++ b/blog/categories/how-to/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: How-To | Home Assistant]]> - 2016-07-12T21:26:14+00:00 + 2016-07-13T07:26:06+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index 58be128cc5..7193c03cf5 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2016-07-12T21:26:14+00:00 + 2016-07-13T07:26:06+00:00 https://home-assistant.io/ diff --git a/blog/categories/internet-of-things/atom.xml b/blog/categories/internet-of-things/atom.xml index 4036e626a6..927acf8741 100644 --- a/blog/categories/internet-of-things/atom.xml +++ b/blog/categories/internet-of-things/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Internet-of-Things | Home Assistant]]> - 2016-07-12T21:26:14+00:00 + 2016-07-13T07:26:06+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index 861a1571ae..27630404bf 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2016-07-12T21:26:14+00:00 + 2016-07-13T07:26:06+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index 8a8076986f..79a8adfa74 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2016-07-12T21:26:14+00:00 + 2016-07-13T07:26:06+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index 5f9c76f09a..078407a46e 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2016-07-12T21:26:14+00:00 + 2016-07-13T07:26:06+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index 44476f12be..ecad82927f 100644 --- a/blog/categories/presence-detection/atom.xml +++ b/blog/categories/presence-detection/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Presence-Detection | Home Assistant]]> - 2016-07-12T21:26:14+00:00 + 2016-07-13T07:26:06+00:00 https://home-assistant.io/ diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml index 99170b9c5d..5747bc2c2c 100644 --- a/blog/categories/public-service-announcement/atom.xml +++ b/blog/categories/public-service-announcement/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Public-Service-Announcement | Home Assistant]]> - 2016-07-12T21:26:14+00:00 + 2016-07-13T07:26:06+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index fa6b73ef3f..6fc327ce53 100644 --- a/blog/categories/release-notes/atom.xml +++ b/blog/categories/release-notes/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Release-Notes | Home Assistant]]> - 2016-07-12T21:26:14+00:00 + 2016-07-13T07:26:06+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 73329fbb80..104462bfca 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2016-07-12T21:26:14+00:00 + 2016-07-13T07:26:06+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 8e9218c590..90446cac75 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2016-07-12T21:26:14+00:00 + 2016-07-13T07:26:06+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index b9504b3bb0..4bb871caa6 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2016-07-12T21:26:14+00:00 + 2016-07-13T07:26:06+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index 1d346c615c..85fec0a3dd 100644 --- a/blog/categories/user-stories/atom.xml +++ b/blog/categories/user-stories/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: User-Stories | Home Assistant]]> - 2016-07-12T21:26:14+00:00 + 2016-07-13T07:26:06+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index a0dc6c903a..a21bc32777 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2016-07-12T21:26:14+00:00 + 2016-07-13T07:26:06+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index 40df2552aa..5ddf6898e1 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2016-07-12T21:26:14+00:00 + 2016-07-13T07:26:06+00:00 https://home-assistant.io/ diff --git a/components/lirc/index.html b/components/lirc/index.html index c8d6277c4c..c19784f356 100644 --- a/components/lirc/index.html +++ b/components/lirc/index.html @@ -98,11 +98,46 @@

To allow Home Assistant to talk to your IR receiver, you need to first make sure you have the correct dependencies installed:

-
$ sudo apt-get install lirc
+  
$ sudo apt-get install lirc python3-lirc
 
+

Check the version of python3-lirc:

+ +
+
$ 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:

+ +
+
sudo apt-get install liblircclient-dev
+
+
+
+ +

As the user that runs hass:

+ +
+
(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.

+

If you are configuring on a Raspberry Pi, there are excellent instructions with GPIO schematics and driver configurations here. Consider following these.

@@ -139,12 +174,12 @@ end

Test your LIRC installation before proceeding by running:

-
$ irexec -n home-assistant
+  
$ ircat home-assistant
 
-

and pressing some buttons on the remote.

+

and pressing some buttons on the remote. You should see them register on the screen if LIRC is properly configured.

Configuration Home Assistant

@@ -155,10 +190,6 @@ end
-

-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. -

-

Events

The LIRC component fires ir_command_received events on the bus. You can capture the events and respond to them in automation scripts like this:

diff --git a/sitemap.xml b/sitemap.xml index e050bda64a..24d2f06b60 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1911,26 +1911,26 @@ https://home-assistant.io/demo/frontend.html - 2016-07-12T21:25:32+00:00 + 2016-07-13T07:25:26+00:00 https://home-assistant.io/demo/index.html - 2016-07-12T21:25:32+00:00 + 2016-07-13T07:25:26+00:00 https://home-assistant.io/googlef4f3693c209fe788.html - 2016-07-12T21:25:32+00:00 + 2016-07-13T07:25:26+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html - 2016-07-12T21:25:32+00:00 + 2016-07-13T07:25:26+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html - 2016-07-12T21:25:32+00:00 + 2016-07-13T07:25:26+00:00 https://home-assistant.io/static/mdi-demo.html - 2016-07-12T21:25:32+00:00 + 2016-07-13T07:25:26+00:00