Questions tagged [lirc]

LIRC is a package that allows you to decode and send infra-red signals of many (but not all) commonly used remote controls.

LIRC (Linux Infra-red Remote Control), is a software package that provides a full suite of tools relating to IR remote controls. It is possible to record signals created by remote controls and replay them. Many remote controls have been mapped, and their configurations have been uploaded and shared on the LIRC Remotes Database, making it possible to download and use many common remote controls.

LIRC can also act as an IR signal receiver and can be configured to make user-defined actions when specific signals are received.

LIRC is compatible with a wide range of IR related hardware, including custom built hardware plugged into to serial ports and GPIO pins.

75 questions
2
votes
1 answer

Python Lirc blocks code even when blocking is off

I'm trying to set up a scrolling weather feed using the OWN (Open Weather Network)on my Raspberry Pi B+ running the latest Rasbian Wheezy distro and I'm having trouble adding IR support using Python LIRC (Linux Infrared Remote Control). What I'm…
Wald0
  • 86
  • 7
1
vote
0 answers

Is it possible send command line digital code directly to LIRC socket for test purpose

I have an small Linux tvbox with working remote control (LIRC). The socket (/run/lirc/lircd) is respond everything works like a charm. If I run irw command I get button code etc... My question: Is it possible to prepare some Linux command which…
1
vote
0 answers

Issues with irrecord lirc function

I am trying to setup a remote to work with an IR reciever that I recently purchased using my raspberry pi, I've installed LIRC according to the following…
Coolroo
  • 57
  • 6
1
vote
0 answers

how to handle remote control with two alternating signals per button

I have captured the ir signal for dishtv remote control and converted to dishtv.lircd.conf file.I am getting below error while sending ir signal using irsend command. How to create proper config file if remote could have two alternating signals per…
Sahil Saxena
  • 131
  • 4
  • 11
1
vote
1 answer

LIRC driver option - default vs devinput

By default, the options in /etc/lirc/lirc_options.conf are as follows: driver = devinput device = auto Article https://learn.pi-supply.com/make/ir-remote-control-support-on-raspbian-buster-justboom/ suggests the following: driver = default device =…
Peter
  • 11,260
  • 14
  • 78
  • 155
1
vote
0 answers

IR remote control using LIRC. (NEC)

I am working on Imx8mm evk and yocto project. I have been trying ir-receiver solution. The Remote Control is using the NEC IR Protocol. 1. GPIO setting IR receiver is connected to GPIO13. Edit fsl-imx8mm-evk.dts { ir_recv { …
JeaHo
  • 11
  • 3
1
vote
1 answer

configure: error: C compiler cannot create executables - Mac Sierra

I know these have been posted before, but I'm stuck and can't seem to get anywhere, even by reading copious responses to similar issues to mine. I get the dreaded "C compiler cannot..." from the title of this post. I'm on macOS Sierra (long story as…
Joe D
  • 11
  • 1
  • 3
1
vote
3 answers

LIRC issue with Raspberry Pi 3 - mode2 -d /dev/lirc0 shows no output

I just installed the latest version of LIRC(0.10.1-5.2) on my Raspberry Pi 3, running Raspbian on Debian Buster. I am trying to get my Pi to take input from an IR remote using lirc. I have made the necessary changes to these files…
naffie
  • 679
  • 1
  • 12
  • 29
1
vote
2 answers

how to decode raw IR data using lirc on raspberry pi 3

I've been trying to decode my IR raw data but always getting unknown code. i used #include #include #include #define SHORT 600 #define LONG 300 #define MARGIN 200 #define INTRO 3500 #define INTRO2 1700 #define…
1
vote
2 answers

No userspace chardev available when using pwm-ir-tx module

I'm attempted to use a pwm output pin as a IR transmitter using a RAMIPS SoC and the PWM IR TX kernel module. I'm running linux 4.14.37 and have added the following entry to the dts file: pwm_ir_tx1: pwm-ir-transmitter1 { compatible =…
1
vote
0 answers

Send infrared raw signal to air conditioning using Arduino

I am working on my final year project and I've got a problem to which I cannot find an answer. I tried decoding the infrared signals for my air conditioning. I have decoded both raw and hex, both using Arduino and Raspberry PI (LIRC), but my air…
cmarin
  • 49
  • 1
  • 9
1
vote
0 answers

cant install lirc due to higher python version

Okay so i got i PiFace2 and i am trying to install pifacecad but you need pyton3lirc but this is what i am trying pi@raspberrypi:~ $ sudo apt-get install python3-lirc Reading package lists... Done Building dependency tree Reading state…
1
vote
1 answer

Raspberry Pi: IR LED works, but irsend does not transmit any IR code

I installed the current lirc package (0.9.0~pre1-1.2) on a Raspian jessie (no pixel) (everything updated and upgraded) and connected to the (lirc default) GPIO ports: to gpio port 17 - an IR LED via transistor etc to gpio port 18 - an IR receiver…
cla
  • 83
  • 1
  • 6
1
vote
3 answers

How to use IR Remote with Raspberry Pi using Python?

I bought this [IR Sensor and Remote][1] to use with my Raspberry Pi 3. I have LIRC setup and I am able to detect an input from the IR Remote using the commands below: sudo /etc/init.d/lirc stop mode2 -d /dev/lirc0 When I run the above commands, I…
Neil Dey
  • 449
  • 2
  • 7
  • 18
1
vote
0 answers

Connecting Amazon Alexa to web_lirc, best practice?

I have successfully created demo project where i can control an infrared transmitter using the Amazon Echo Alexa. Moving forward with my project I'm not sure what the best practices would be in relation to performance and mostly important security.…
ThomasG
  • 113
  • 1
  • 10