How I installed lirc with IR receiver and remote to Volumio

works good, thanks for the description @birca1987!!

Hello

Iā€™ve got problem with IR receiver on Cubietruck (Volumio 1.4).
After lirc installation I have following massage :

No valid /etc/lirc/lircd.conf has been found.. Remote control support has been disabled.. Reconfigure LIRC or manually replace /etc/lirc/lircd.conf to enable..

I tried to change lircd.conf file, but no effect. Of course I tried before:

irrecord -n -d /dev/lirc0 ~/lircd.conf

but Cubietruck IR receiver doesnā€™t see any signals from remote (IR remote - NEC system).

What to do with it?
Does anybody configured lirc on Cubietruck?

Hi,

I want basic control using IR remont control in WiFi-free volumio
I solder TSOP4838 in I2C and 3,3V as on photo
Is this correct? how to start it in system if on i2C will be two devices?
Clipboard01.jpg

Is it possible to use on of these to control Volumio 2 on a raspberry pi? Also have a allo reclocker and piano dac connected
flirc.tv/flirc-usb
Sent from my ONEPLUS A3003 using Tapatalk

Thanks to your information i managed to install an ener314-ir on my raspberry. See also https://volumio.org/forum/rpi-with-hifiberry-dac-and-ener314-t4162.html and userguide at https://energenie4u.co.uk/res/pdfs/ENER314-IR_User_guide_V3.pdf
I use the volumio.sh script https://github.com/volumio/Volumio2/blob/master/app/plugins/system_controller/volumio_command_line_client/volumio.sh to control volumio from lircrc. Tried to play option too, but it takes quite a long time to react, so I used mpc play instead. I use the ir-transmitter to control my Micromega MyAMP. To start spotify connect with your remote, the python Mr Spontiā€™s python script https://volumio.org/forum/spotify-connect-t2811-100.html is very usefull!

Next step would be to get the lirc_web mentioned in https://volumio.org/forum/volumio2-adding-another-node-app-t4360.html running. Would be nice to get the volumioā€™s volume control the volume of my amp directly and add an extra button to switch it of.
Did anyone try the node-lirc https://www.npmjs.com/package/node-lirc?

HI all

Is it possible to use with Tsop4838 IR receiver on top of pHAT DAC? This DAC uses all I2S pins pinout.xyz/pinout/phat_dac
If yes, then is there any additional configuration required?
Cheers

Tomasz

I2C != I2S

It may be true, but how does this answer my question?

Sorry, assumed you were mixing up the two given your ā€œThis DAC uses all I2S pinsā€ comment.

Either way, IR works with most GPIOs, as itā€™s just a pulse stream that is read. So itā€™s just a matter of telling lirc which GPIO you are using by setting the corresponding dt overlay parameters:

    dtoverlay=lirc-rpi,gpio_out_pin=17,gpio_in_pin=13

Good luck!

1 Like

First of all, thanks for helping :slight_smile:

I am just wondering if I correctly understand this pinout description below

does it mean that I donā€™t need to specify gpio_in_pin like you did above? Is my config below ok? Thereā€™s no input pin for the receiver :wink:

    dtoverlay=lirc-rpi,gpio_out_pin=17

And by the way: initial post by birca1987 does not contain anything about dtoverlay pin assignment changes, so I wonder how did it work (lirc-rpi default config??)

Thanks again!
(Iā€™ve never did anything like this with RPi, so pls. excuse my ignorance)

Iā€™m using Raspberry Pi3B and Volumio with generic i2s DAC. Accordingly, I set ā€œHifiberry DACā€ as output device, and ā€œGeneric I2S DACā€ as DAC model. But when I set dtoverlay=gpio-ir,gpio_pin=17 my DAC donā€™ operate. In Volumio WEB I can not set ā€œHifiberyy DACā€, because ā€œHifiberry DACā€ disappears, and remain only ā€œAudio Jackā€ and ā€œHDMI Outā€. I see it is imposiible to set two overlays together, Hifiberry dac and gpio-ir. Is it true?

I can confirm after many hours of rabbit-hole googling, the answer is no. It is pretty much the same as my issue with the IR remote over USB HID on the KEF EGG speakers.

1 Like

ok, i read it and also have Volumio on a raspberry Pi 4 and i got down to her when trying to get the IR receiver going
Log in with ssh as:
user: pi
password: raspberry

sudo apt-get update
sudo apt-get install lirc
Now we need to configure lirc hardware:
sudo nano /etc/lirc/hardware.conf

and it stopped here


Is there a sheet with better instructions and when it talks about editing this, that throws me off. I have a VS1838B https://www.amazon.com/gp/product/B087ZRD3LH/ref=ppx_od_dt_b_asin_title_s00?ie=UTF8&psc=1#customerReviews
1 red wire for 3v3/--------red on 3v3 pin 1
2 black wire for ground/ black on ground pin 5
3 white wire for out/------white on GPIO18 pin 6

Thats a pitty, is the same true for the V2 version? Would be awesome to be able to hit next track without starting the app on my phone

Hi, I have option to use IR remote to control Volumio without Lirc.
It is based on Python3 with pigpio and irreceiver.

How to:
sudo apt-get install pigpio python-pigpio python3-pigpio
sudo pip3 install irreceiver
sudo pip3 install typing

Copy python file to home directory (or anywhere you want) of Volumio system, open it in the file editor and set input gpio pin number (line 93), save and run with command:

sudo python3 volumio_ir_control.py

If script will start without errors, after pushing some buttons on the remote you should see codes, copy them, than edit volumio_ir_control.py, "link"sniffed codes to proper command (started form line 66) and save file.

Run again and you can be again in control of Volumio (via remote) :wink:

Link to script

Hi
I am new to Raspberry and Volumio.
I made mistake on the first step of learning step, I pressed same button for 80 dots :pensive:. But I cannot redo this step again.
ā€œirrecord -n -d /dev/lirc0 ~/lircd.confā€
How can I restart the procedure again?
Many thanks!

Not sure but I remember that it doesnā€™t like ā€˜half finishedā€™ files. Try deleting it and starting again.

Thanks, but which files should I delete?
I also installed the ir_controller plugin, will it affect the operation?

1 Like

Try deleting ~/lircd.conf

Thanks! However, the ir_controller plugin become no response after delete the lircd.conf. Let me reinstall it and test again.