User Tools

Site Tools


lirc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

lirc [2014/05/02 10:52]
betz0r fixed typo "sent"
lirc [2015/11/27 21:09]
Line 1: Line 1:
-**Lirc API** 
  
-^Feature^Support^ 
-|Sending|{{http://​wiki.pilight.org/​lib/​images/​notsupported.gif}}| 
-|Receiving|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}| 
-|Config|{{http://​wiki.pilight.org/​lib/​images/​notsupported.gif}}| 
- 
-Supported Brands 
- 
-//None// 
- 
-Sender Arguments 
- 
-//None// 
- 
-Config 
- 
-//None// 
- 
-Optional Settings 
- 
-//None// 
- 
-Comments 
- 
-The Lirc protocol tries to automatically connect to Lirc when pilight starts. When a connection can be made, it will send the same output as shown with ''​irw''​ in a pilight format. 
-<​code>​ 
-root@pi:~# irw 
-000000037ff07be0 00 KEY_ARROWDOWN logitech-harmony-300i 
-</​code>​ 
- 
-<​code>​ 
-root@pi:~# pilight-receive 
-{ 
-        "​code":​ { 
-                "​id":​ "​000000037ff07be0",​ 
-                "​repeat":​ "​00",​ 
-                "​button":​ "​KEY_ARROWDOWN",​ 
-                "​remote":​ "​logitech-harmony-300i"​ 
-        }, 
-        "​origin":​ "​receiver",​ 
-        "​protocol":​ "​lirc"​ 
-} 
-</​code>​ 
-Whenever, a connection to Lirc is lost, pilight will try to automatically reconnect. 
- 
-All signal processing will be done by Lirc, so make sure you have a working Lirc configuration. Tutorials on this can be found all around the internet like [[http://​wiki.xbian.org/​Tutorials:​Configuring_a_remote|here]] (Steps 1 till 3). 
- 
-pilight tries to connect to the lirc socket found in ''/​dev/​lircd''​ so make sure it exists or a symlink to the original socket is created to ''/​dev/​lircd''​. 
lirc.txt ยท Last modified: 2015/11/27 21:09 (external edit)