Start the lirc service:
sudo /etc/init.d/lirc start
The irsend command is used to transmit IR signals
irsend <DIRECTIVE> <REMOTE> <KEY>
Directives include:
SEND_ONCE
SEND_START
SEND_STOP
LIST
To see what commands are available for each device, type the following:
irsend LIST <REMOTE> <KEY>
Example:
irsend LIST "" ""
or
irsend LIST SamsungTV ""
Send a signal as follows:
irsend SEND_ONCE CoolCommand KEY_POWER
sudo /etc/init.d/lirc start
The irsend command is used to transmit IR signals
irsend <DIRECTIVE> <REMOTE> <KEY>
Directives include:
SEND_ONCE
SEND_START
SEND_STOP
LIST
To see what commands are available for each device, type the following:
irsend LIST <REMOTE> <KEY>
Example:
irsend LIST "" ""
or
irsend LIST SamsungTV ""
Send a signal as follows:
irsend SEND_ONCE CoolCommand KEY_POWER