User Tools

Site Tools


lirc

Lirc API

FeatureSupport
Sending
Receiving
Config

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.

root@pi:~# irw
000000037ff07be0 00 KEY_ARROWDOWN logitech-harmony-300i
root@pi:~# pilight-receive
{
        "code": {
                "id": "000000037ff07be0",
                "repeat": "00",
                "button": "KEY_ARROWDOWN",
                "remote": "logitech-harmony-300i"
        },
        "origin": "receiver",
        "protocol": "lirc"
}

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 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 22:09 (external edit)