IR Remote plugin - IR Receiver type? - Setup?

I want to use an IR remote control for Volumio with the IR Remote plugin.
I installed the IR Remote plugin.
I selected the “Samsung AA59” option from the list.
I have a Samsung AA59 remote control.
I tried the following IR receivers:
TSOP 4838
TSOP 34838
TSOP 1738
I connected the output of the IR receiver to the GPIO18 port.
But it’s not working.
What settings still need to be made?
Which IR receiver is suitable for operation?

The IR receivers will probably work, but the IR Remote plugin assumes GPIO25 is used. So you would need to connect your IR receiver to GPIO25.

If GPIO25 should already be occupied on your system you presently would have to manually edit the file “index.js” of the plugin as follows:

  1. Disable the plugin.

  2. Connect to Volumo via SSH.

  3. Open “index.js” with

    nano /data/plugins/acccessory/ir_controller/index.js

  4. Look for gpio_in_pin=25 (line 232) and gpio_pin=25 (line 248) and change “25” to “18”. [In the opened “index.js” file you can search for the locations by pressing Ctrl+w, entering “pin=25” as search term and hit Enter.]

  5. To save the modified file hit Ctrl+x, y and Enter.

  6. Execute volumio vrestart

  7. Enable the plugin.

What are possible values (18 - 25 - ?)
I’m going to, update the plugin with a selector

How far did you already get? I have been working on that issue, too :wink: New version is practically ready.

Thanks! That’s great

not far to be ready, but not completely finished… 1/2 hour of work, but if you are more advanced, you’re welcome :wink:

I could do a PR tonight and you have a look at it. My code will differentiate between Pi versions and have options to not only select the GPIO number but also to set “pull-up/pull-down” of the input pin and choose between “active-low/active-high” signals. Don’t know if that goes to far :wink:

yours seems much more evoluted than mine :wink: so I’ll wait for your PR! Thanks

sounds really promising

Thank you all

PR created :wink:

New version online ! :wink:

1 Like

Thanks guys!
Fantastic work
I connected the IR output to the GPIO18.
Working perfectly.

1 Like

From where do you have this nice picture in what tool?

The GPIO image is from DuckDuckGo
the TSOP 34838 image from the PDF datasheet

  • Inkscape, Gimp