1IRSEND(1)                             FSF                            IRSEND(1)
2
3
4

NAME

6       irsend - basic LIRC program to send infra-red commands
7

SYNOPSIS

9       irsend [options] DIRECTIVE REMOTE CODE [CODE...]
10

DESCRIPTION

12       Asks the lircd daemon to send one or more CIR (Consumer Infra-Red) com‐
13       mands. This is intended for remote control of electronic  devices  such
14       as TV boxes, HiFi sets, etc.
15
16       DIRECTIVE can be:
17          SEND_ONCE         - send CODE [CODE ...] once
18          SEND_START        - start repeating CODE
19          SEND_STOP         - stop repeating CODE
20          LIST              - list configured remote items
21          SET_TRANSMITTERS  - set transmitters NUM [NUM ...]
22
23
24       REMOTE is the name of a remote, as described in the lircd configuration
25       file.
26
27
28       CODE is the name of a remote control key of REMOTE, as  it  appears  in
29       the lircd configuration file.
30
31
32       NUM is the transmitter number of the hardware device.
33
34
35       For the LIST DIRECTIVE, REMOTE and/or CODE can be empty:
36
37          LIST   ""    ""   - list all configured remote names
38          LIST REMOTE  ""   - list all codes of REMOTE
39          LIST REMOTE CODE  - list only CODE of REMOTE
40
41       -h --help
42              display usage summary
43
44       -v --version
45              display version
46
47       -d --device
48              use given lircd socket [/dev/lircd]
49
50       -a --address=host[:port]
51              connect to lircd at this address
52
53       -# --count=n
54              send command n times
55

EXAMPLES

57          irsend LIST DenonTuner ""
58          irsend SEND_ONCE  DenonTuner PROG-SCAN
59          irsend SEND_ONCE  OnkyoAmpli VOL-UP VOL-UP VOL-UP VOL-UP
60          irsend SEND_START OnkyoAmpli VOL-DOWN ; sleep 3
61          irsend SEND_STOP  OnkyoAmpli VOL-DOWN
62          irsend SET_TRANSMITTERS 1
63          irsend SET_TRANSMITTERS 1 3 4
64

FILES

66       /etc/lircd.conf
67              Default  lircd  configuration  file.   It should contain all the
68              remotes, their infra-red codes and the corresponding timing  and
69              waveform details.
70
71

DIAGNOSTICS

73       If  lircd  is  not  running  (or /dev/lircd lacks write permissions) rc
74       aborts with the following diagnostics:
75       "irsend: could not connect to socket"
76       "irsend: Connection refused" (or "Permission denied").
77

SEE ALSO

79       The documentation for lirc  is  maintained  as  html  pages.  They  are
80       located under html/ in the documentation directory.
81
82       lircd(8),   mode2(1),   smode2(1),   xmode2(1),   irrecord(1),  irw(1),
83       http://www.lirc.org.
84
85
86
87irsend 0.8.2                       June 2007                         IRSEND(1)
Impressum