I’m sure now the remote neither use IR or Bluetooth, but 2.4 Ghz as many wireless keyboards.
If anybody want’s to use a similar USB remote I got mine working with the help from this thread [GUIDE] Keyboard shortcuts with triggerhappy - #20 by pauljwells
You have to enable SSH. Then map what your different remote button are called with this command:
sudo thd --dump /dev/input/event*
Now you can edit what your remote buttons does in the following config file:
sudo nano /etc/triggerhappy/triggers.d/audio.conf
Then restart “triggerhappy” with the following command and that’s it:
sudo systemctl restart triggerhappy
I could map all buttons except the “mouse button”, as it switches the functions between keyboard inputs and mouse inputs.
Now the my remote can play/pause, skip between tracks, stop, seek, clear the queue, mute, toggle the volume, select the random and repeat functions, and even start a webradio channel.
My config file is as follows, where you can insert an url to your favorite webradio channel:
#VOLUMIO TRIGGERHAPPY CONFIGURATION FILE
#VOLUME UP
KEY_VOLUMEUP 1 /usr/local/bin/volumio volume plus
#VOLUME DOWN
KEY_VOLUMEDOWN 1 /usr/local/bin/volumio volume minus
#MUTE TOGGLE
KEY_MUTE 1 /usr/local/bin/volumio volume toggle
#PLAY PAUSE TOGGLE
KEY_ENTER 1 /usr/local/bin/volumio toggle
#STOP
KEY_BACKSPACE 1 /usr/local/bin/volumio stop
#CLEAR QUEUE
KEY_DELETE 1 /usr/local/bin/volumio clear
#NEXT
KEY_RIGHT 1 /usr/local/bin/volumio next
#PREVIOUS
KEY_LEFT 1 /usr/local/bin/volumio previous
#SEEK FORWARD
KEY_UP 1 /usr/local/bin/volumio seek plus
#SEEK BACKWARD
KEY_DOWN 1 /usr/local/bin/volumio seek minus
#REPEAT
KEY_BACK 1 /usr/local/bin/volumio repeat
#RANDOM
KEY_HOMEPAGE 1 /usr/local/bin/volumio random
#WEBRADIO
KEY_COMPOSE 1 /usr/bin/curl -i --header "Content-Type: application/json" localhost:3000/api/v1/replaceAndPlay --data '{ "service": "webradio", "type": "webradio", "title": "INSERT WEBRADIO NAME", "uri": "INSERT WEBRADIO URL", "albumart": "INSERT WEBRADIO LOGO URL"}'