1IRSEND(1)                        User Commands                       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          SIMULATE          - simulate IR event
23
24
25       REMOTE is the name of a remote, as described in the lircd configuration
26       file.
27
28
29       CODE is the name of a remote control key of REMOTE, as  it  appears  in
30       the lircd configuration file.
31
32
33       NUM is the transmitter number of the hardware device.
34
35
36       For the LIST DIRECTIVE, REMOTE and/or CODE can be empty:
37
38          LIST   ""    ""   - list all configured remote names
39          LIST REMOTE  ""   - list all codes of REMOTE
40          LIST REMOTE CODE  - list only CODE of REMOTE
41
42
43       The  SIMULATE  command  only works if it has been explicitly enabled in
44       lircd.
45
46       -h --help
47              display usage summary
48
49       -v --version
50              display version
51
52       -d --device
53              use given lircd socket [/var/run/lirc/lircd]
54
55       -a --address=host[:port]
56              connect to lircd at this address
57
58       -# --count=n
59              send command n times
60

EXAMPLES

62          irsend LIST DenonTuner ""
63          irsend SEND_ONCE  DenonTuner PROG-SCAN
64          irsend SEND_ONCE  OnkyoAmpli VOL-UP VOL-UP VOL-UP VOL-UP
65          irsend SEND_START OnkyoAmpli VOL-DOWN ; sleep 3
66          irsend SEND_STOP  OnkyoAmpli VOL-DOWN
67          irsend SET_TRANSMITTERS 1
68          irsend SET_TRANSMITTERS 1 3 4
69          irsend SIMULATE "0000000000000476 00 OK TECHNISAT_ST3004S"
70

FILES

72       /etc/lirc/lircd.conf
73              Default lircd configuration file.  It  should  contain  all  the
74              remotes,  their infra-red codes and the corresponding timing and
75              waveform details.
76
77

DIAGNOSTICS

79       If lircd is not running (or  /var/run/lirc/lircd  lacks  write  permis‐
80       sions) irsend aborts with the following diagnostics:
81       "irsend: could not connect to socket"
82       "irsend: Connection refused" (or "Permission denied").
83

SEE ALSO

85       The  documentation  for  lirc  is  maintained  as  html pages. They are
86       located under html/ in the documentation directory.
87
88       lircd(8),  mode2(1),   smode2(1),   xmode2(1),   irrecord(1),   irw(1),
89       http://www.lirc.org.
90
91
92
93irsend 0.9.0                      March 2011                         IRSEND(1)
Impressum