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
0
votes
2 answers

Error when compiling lirc-redrat3-0.8.7

When configuring lirc-redrat3-0.8.7, I've got this issues : http://www.redrat.co.uk/downloads/lirc-redrat3-0.8.7.tar.gz ./configure ...... checking whether -lc should be explicitly linked in... no checking dynamic linker…
A.BEN
  • 49
  • 5
0
votes
1 answer

AC remote raw codes into hex code for raspberry pi

I have been trying to decode the Raw Code from the AC remote on raspberry pi 2. I am not able to decode it in hex value. Here is the Raw code for On and Off : name bhutOn 8423 4226 566 544 576 1617 571 1622 576 …
0
votes
1 answer

lirc - Python counter script will not run

I am puzzled as to why the following script (count.py) will not run using the IR remote #!/usr/bin/env python from __future__ import with_statement with open('num.txt','r+') as f: counter = str(int(f.read())+1) f.seek(0) f.write(counter) I…
Nick C
  • 79
  • 8
0
votes
1 answer

JLIRC is not working on Raspberry Pi 2B

In JLIRC package is test class called Irw (Basicly clone of the original irw program from lirc). And on RPi 2B it produces that error http://pastebin.com/YY2cUSZb . The source of class is here: http://pastebin.com/mGBbQ4Zq . What could possibly go…
adamj57
  • 1
  • 2
0
votes
1 answer

lxc - Linux container can not access device node

I used the following configuration to bind the lirc0 into the container. lxc.mount.entry = /dev/lirc0 dev/lirc0 none bind,optional,create=file The attribute of the /dev/lirc0 in the host as follows. crw------- 1 root root 251, 0 Jul 16 20:00…
user1395066
  • 127
  • 1
  • 1
  • 11
0
votes
0 answers

Parsing lircd.conf using javascript

How can I parse lircd.conf files from LIRC database (e.g. http://sourceforge.net/p/lirc-remotes/code/ci/master/tree/remotes/yamaha/RX-V850.lircd.conf) for use in my javascript project? I'd prefer a parser in javascript that can run in client…
Urmil Parikh
  • 323
  • 3
  • 11
0
votes
0 answers

gcc compilation: size_t not found (installing JLirc on 64 bit system)

I'm using JLirc to access my remote control in java. It uses a native method to connect to lirc through a socket. Unfortunately, the last update of JLirc was 15 years ago, so it has no support for 64 bit systems. I therefore turned to JUDS, which…
tb189
  • 1,942
  • 3
  • 22
  • 37
0
votes
1 answer

Python LIRC blocking Signal workaround not working

I've been having trouble with the Python LIRC function lirc.nextcode(). I turned off blocking, which allows the code lirc.nextcode() to be skipped if the LIRC queue is empty, by initializing with lirc.init("program", blocking=False) and tried…
Wald0
  • 86
  • 7
0
votes
1 answer

can't get irexec to work on RPi

I am trying to use an IR receiver LED driven by GPIO on the Raspberry Pi. I set up the lircd, taught it about the remote with irrecord, irw shows the keys I'm pressing: # irw 0000000000f94ab5 00 KEY_1 /root/lircd.conf 0000000000f94ab5 01 KEY_1…
0
votes
1 answer

LIRC zero key code 0x10001d0f

I am using LIRCD to capture the keys I press on my remote control. I am able to capture all the keys except zero, when I press zero it doesn't respond at all. This is what I have in lircd.conf. All keys are working except zero begin codes 0 …
DevC
  • 7,055
  • 9
  • 39
  • 58
0
votes
1 answer

How can I create an architecture dependant Debian package for my Python extension?

I've written a Python 3 LIRC extension since pylirc doesn't work for Python 3. I'm trying to package it up into a Debian package and have had success in creating the packages python3-lirc_1.2.0-1_all.deb and python-lirc_1.2.0-1_all.deb. The packages…
tompreston
  • 630
  • 7
  • 24
0
votes
1 answer

Execute shell command on IR input on Raspberry Pi

I'm a Unix n00b, but I managed to follow enough guides to install node.js and node-sonos-http-api which allows me to do localhost/livingroom/play to start the music I have a Nwazet Pi Infrared Receiver and now I want to control Sonos with my TV…
Morten J
  • 814
  • 10
  • 21
-1
votes
1 answer

LIRC on Raspberry pi has not been initialized error

I'm trying to get LIRC functioning within my code. I've created some test code but I'm receiving this error: Traceback (most recent call last): File "ir_remote.py", line 5, in config = lirc.nextcode() File "lirc.pyx", line 183, in…
-1
votes
1 answer

LIRC mode2 waits for continuous user input, in Raspberry pi I am building a universal remote using java. looking for receiving input (RAW)

I am looking for a solution in java for recording inputs for LIRC codes of any remote. i have tried Process p = Runtime.getRuntime().exec("mode2 [driver_details] -m"); it executes but hangs the UI and i cant stop it implicitly... every time i had…
-3
votes
2 answers

Raspberry pi lirc irw connect: connection refused

since days i try getting irw to work after having installed lirc. I am using raspian, always freshly updated / upgraded. For lirc i am using the latest version of 2nd of june which is 0.10.0 from lirc.org Until now i did: install lirc connecting a…
fhpa
  • 1
  • 1
  • 3
1 2 3 4
5