Currently struggling to get this plugin to work with my A1294 apple remote. It took some doing but I was able to validate that the IR receiver is in fact picking up traffic from the remote. (Followed this guide: hackster.io/achindra/learni … rry-038602 and can see traffic from button presses).
I’ve selected the correct remote in the plugin settings and have tried numerous gpio pins to see if I simply have it on the wrong pin. While I can see traffic in the console no button press triggers any events in volumio.
I’ve searched this thread but can’t seem to find the answer.
Gpio pin 25 should be the correct one if I remember right. It should be enough just to connect it and enable the plugin. I wish I could help more but for me it just works when I do that. What hardware are you using and have you updated volumio and ir-plugin?
# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.9.0-pre1(default) on Wed Apr 8 16:35:14 2020
#
# contributed by
#
# brand: /home/volumio/lircd.conf
# model no. of remote control:
# devices being controlled by this remote:
#
begin remote
name /home/volumio/lircd.conf
flags RAW_CODES
eps 30
aeps 100
gap 96130
begin raw_codes
name KEY_UP
9095 2195 580
name KEY_DOWN
9069 2218 582
name KEY_LEFT
9090 2196 580
name KEY_RIGHT
9024 2259 572
name KEY_PLAY
9047 2222 606
name KEY_MENU
9042 2232 573
name KEY_OK
9056 2220 580
end raw_codes
end remote
I’m no terminal ninja so I just connected with filezilla to navigate the folder tree. Created a new folder here: /data/plugins/accessory/ir_controller/configurations/Snarfed and loaded it with the above lircd.conf file and just copy pasted the lircrc file from the original A1294 folder. I then
Oddly that doesn’t work either.
Here’s the setup:
Using IR breakout board that came with an arduino
Using +3.3V, Ground, and GPIO 25 / physical pin 22
Freshly flashed install of Volumio 2.729 (march 2nd release) on a formatted card
Plugin version: 1.2.3
I’m able to use the command
mode2 -d /dev/lirc0
to validate that I’m receiving traffic from the remote. I’ll keep trying to isolate variables and update as I go. Thanks for the help all!
I don’t have an Apple remote to tinker with it, so I fear I can’t help much more atm. One more idea though: If you should have another Linux system with an IR receiver you could try to generate and test the lircd.conf on that system.
Okay, not sure what I was doing wrong but repetition helped. I loaded each of the lircd.conf files linked above in/etc/lirc used the IRW console command to see if any of them were working. This one: github.com/osmc/osmc/blob/maste … lircd.conf actually worked! I then moved that one into my created folder and loaded it up.
I had to remap the lircrc file to get volumio to work but I now have IR control of volumio!
Bummer is that I got all this way to discover that track and playback control is limited to the queue. Does anyone know how to get these commands to perform the logical command globally? My primary use case being Spotify Connect.
It may be a problem with the Spotify connect plugin. It works quite good with my phone but is practically useless with my wife’s phone. I have switched to tidal.
It’s not as convenient but maybe you can use the other Spotify plugin and load playlists from within the volumio UI. Then the remote should behave as expected.
Are you using two different spotify accounts? Multi-account support was broken but ash just fixed it in a beta build. Here’s a link with install instructions: github.com/balbuze/volumio-plug … -607156749
The more I play with it the more I realize there’s a general stability issue that’s making it hard to isolate what features aren’t working as expected. I need to switch to a breadboard to make sure it’s not a crappy connection problem I’m introducing.
My wife had two different problems. She either could not connect at all or she could not control playback. Now she has given up on volumio. She’s not as patient as I am…
I have a TSOP4838 ir receiver connected with female breadboard wires and some hot glue and that has been 100% reliable so far.
Hi guys! I am trying the record my own IR remote controller using the irrecord tools. But it always give me this error message:
Now hold down button “KEY_ENTER”.
Got it.
Signal length is 0
That’s weird because the signal length must be odd!
Try again.
Sorry, something went wrong.
Try again.
Please note that I can have response from the command ‘mode2 -d /dev/lirc0’:
space 16777215
space 477362
pulse 3042
space 2941
…
pulse 548
space 3935
pulse 558
pulse 126187
the command “irrecord” included in lirc does not work with gpio-ir
because the signal from /dev/lircX generated by gpio-ir is
slightly different from that of lirc_dev.and “irrecord” included in lirc does not work with gpio-ir
because the signal from /dev/lircX generated by gpio-ir is
slightly different from that of lirc_dev.
I followed the patch procedure and tried on volumio-2.777 (built on Mon May 25 18:53:02 CEST 2020) but failed. The apt command doesn’t support the build-dep and source operations, so I am not able to download the origin source.
I’m going to cross post this on the official Spotify Connect plugin thread as well right after this HERE
Setup: Fresh volumio install (v2.806), spotify connect plugin (v1.0.4), IR remote controller plugin (v1.2.4), apple A1294 remote (using this lircd.conf)
Operating Condition: Queued song up using mobile device and selected volumio. All commands issued by mobile device execute as expected. A song was in the “playing” state before testing.
Observed Behavior: Play/Pause/Track controls all operate as expected using volumio web interface. Using an IR remote control Track and Pause commands execute as expected however the Play command does not. It plays the last “non spotify” track. In my case it was a web radio but I’m sure it would be the same if it was a local or network file being played.
Troubleshooting Steps Performed:
Rebooted pi, confirmed behavior is consistent with observed behavior above.
Turned on debugging and observed NO LOGs generated when the Play button is pressed on the remote but ARE generated when pressing Play in the volumio web ui.
Confirmed that Play/Pause operates as expected using basic playback of a local mp3.
I’m not sure if it’s a problem with the lircrc mapping file or visibility of command execution by the spotify connect plugin.
I validated that @ashthespy 's fix remedy’s the conflict with the IR Remote Controller Plugin I was having.
Initial Setup: Fresh volumio install (v2.806), spotify connect plugin (v1.0.4), IR remote controller plugin (v1.2.4), apple A1294 remote (using this lircd.conf)
Operating Condition: Queued song up using mobile device and selected volumio. All commands issued by mobile device execute as expected. A song was in the “playing” state before testing.
Initial Observed Behavior: Play/Pause/Track controls all operate as expected using volumio web interface. Using an IR remote control Track and Pause commands execute as expected however the Play command does not. It plays the last “non spotify” track. In my case it was a web radio but I’m sure it would be the same if it was a local or network file being played.
Hey, i just reading on this here. I have Volumio installed on a Raspberry Pi 4. I have two Apple remotes A1156 and another model. How would i go by installing one of the Apple remotes to work on Volume player. Is there any configurations online to get. Apple Remote A1156- A1294
According to the “BOSS DAC BLOCK DIAGRAM” you find in the “Technical Manual” it looks like that. Just make sure the GPIO you choose for the IR receiver is not in use by other hardware.
Key “CLEAR”: Clear current queue
Keys “PLAY” and “ENTER”: Toggle start/pause playback
Key “PAUSE”: Pause playback
Key “STOP”: Stop playback
Keys “PREVIOUS” and “LEFT”: Jump to previous track