Help with getting Justboom IR Remote to control Roon


(Bart Maguire) #1

@JustBoom, @support, I have a Raspberry Pi with RoonBridge installed and it is all working except the IR remote control.
I followed the instructions on the Justboom website to install the IR receiver on my Justboom DAC.
The receiver is receiving signals from the remote but is not controlling RoonBridge. The .lircrc config file tries to call mpc which I do not have installed.
If I run irexec I get “/bin/sh: 1: mpc: not found”, so it is all working up to that point.
How do I configure this to work with RoonBridge?


(Chris Rush) #3

You might have more luck using this guide here - https://li.sajous.net/?az27Eg


(Bart Maguire) #4

Thanks,
That is pretty much the same as the instructions on the Justboom website and it all works, in the sense that the IR receiver receives the signal from the remote and recognises what button has been pressed.
The problem is that it then tries to pass this to mpc, which I do not have installed. I want it to pass the commands to RoonBridge, to control what Roon is playing.
I have opened a help ticket with Justboom, but no rely so far.


(Bart Maguire) #5

So, Justboom Support tell me:
“I think you would need to find out what the commands are at the Roon bridge endpoint and use their API to link it to the IR remote. At the moment we don’t have a definite guide on getting this going since most of the commands and control is done using “Roon Remote” or on the server side of things.”
Can someone at Roon help me?


#6

Roon on the pi is linked to Alsa hardware volume. If you have device volume selected in Roon then it should just control the alsa hardware master volume.

I can control Roons volume from other apps that are open at the same time using UPnP. So if the JustBoom is controlling hardware volume in Alsa then in theory it should work. Not sure if you need to change anything in the Alsa config for this though.


(Bart Maguire) #7

In Roon remote I see three devices on the Raspberry Pi, the Justboom DAC HAT, the Alsa device on the Raspberry Pi and the HDMI Alsa device on the Raspberry Pi.
I am not using the devices on the Raspberry Pi, I am using the DAC attached to it.
How do I get the Justboom remote to work with RoonBridge?


#8

Do you have device volume selected in the audio settings for the device?


(Bart Maguire) #9

Yes, I do.


(Bart Maguire) #10

I have had some communication with Justboom but they seem unable to make this work.
I see some code to access the API in the Meridian extension, which enables a remote:


but it makes no sense to me, it is a long time since I programmed anything.
Also, I see that Ropieee has support for flirc, but I can’t see how it controls Roon.
https://www.ropieee.org

I have the hardware part working, if I do “mode2 -d /dev/lirc0” then I get input, I just can’t get it to control Roon.


#11

You should take a look at:


(Harry ten Berge) #12

RoPieee uses Roon’s API to control volume.

I’m willing to add support for this to RoPieee. One of you just has to install RoPieee, and send me feedback (RoPieee has a function to send me analytics).

Regards,


(Bart Maguire) #13

Thanks Harry.
96fa72782fd71d4a


(Harry ten Berge) #14

Just to be sure: you have the Smart Remote and not jus the IR? Because I don’t see a (USB) receiver.


(Bart Maguire) #15

No, I have the IR remote.


(Harry ten Berge) #16

That’s not gonna work. You need a receiver, in this case an IR one.


(Bart Maguire) #17

The Justboom HAT has the capability to have an IR sensor added, one is included and just needs to be soldered into place.
I have done this and configured it and I can see on the command line that it is working and receiving input.
The problem is that it is not controlling Roon, the config file is not passing anything to Roonbridge.


(Harry ten Berge) #18

Ah. Didn’t know that about the Justboom. :slight_smile:

So what are you using then? lirc? can you show me your config?


(Bart Maguire) #19

I just installed RoPieee and have the default config files.
Previously, I had DietPi and the Roon Web Controller extension and I have configured it according to this webpage from Justboom


On both distributions I have verified that the hardware is working, but the DietPi and Roon Web Controller tries to call mpc, I don’t know what RoPieee is trying to call.


(Harry ten Berge) #20

Hmmm… ok.

I might have been too quick with my response :wink:
Without a JustBoom I can’t get this to work.


(Bart Maguire) #21

@Chris_Rush - can you help Harry out here? Obviously I want to get this working, but don’t want Harry putting in loads of work just for this one-off case.