3: node /data/plugins/user_interface/randomizer/trackToAlbum
mode => random
power => shut down
info => open system info plugin
menu => toggle between now playing and queue
and the default multimedia keys.
Hi @Wheaten
In the end, to get the most out of the few keys available on my Odroid remote, I piggy-backed on on your toggle screen code to turn off the screen and the USB port that’s running my Topping DAC that stays on when not in use. It look like this:
#!/bin/bash
# Set XAUTHORITY and DISPLAY environment variables
export XAUTHORITY=~volumio/.Xauthority
export DISPLAY=:0
# Run the xset q command to get DPMS information
output=$(xset q)
# Check each line of the output for DPMS status
if [[ $output == *"Monitor is On"* ]]; then
echo "Monitor is ON => Turning OFF"
xset dpms force off
uhubctl -p 1 -a off
elif [[ $output == *"Monitor is Off"* ]]; then
echo "Monitor is OFF => Turning ON!"
xset dpms force on
uhubctl -p 1 -a on
else
echo "Unable to determine monitor status"
fi
Added one last tweak to openbox.
Since I am using my IR-remote to mimic the mouse, It bothered me that that the cursor kept being present on the screen. So I created a startup script for the Kiosk using unclutter.
Now the disappearing delay is set to 1 second. And as soon as I operate the cursor knobs, it appears again. sudo apt-get install unclutter
Hard to advice, as it all depends on your needs. And IMHO lirc ain’t the most stable part of linux. I have some test RC laying arround to support questions, but I run my devices using a BT remote.
sorry again for my late replay and thank you for your great help! With your file I don’t get an error any more, when I switch to the Apple Remote. But still the Apple Remote does not work.
Could be that the SD card is failing just where /data/plugins/system_hardware/ir_controller/configurations/Apple Remote A1294/ is located. Did you try a fresh Volumio installation on another SD card?
Did you already try the “Apple Remote A1294 Alternative” profile?
If that does not work, too, please execute
sudo cat /dev/input/event*
then press some buttons on the remote control and watch the console for some (weird) signs.
I use this Odroid remote, which is supported by the plugin.
The Pi does not include an IR receeiver, you need to add that. See further up this thread for what to get and how to connect this to the Pi’s GPIO pins. It’s easier that that sounds!
I just read thru this long thread and I got to say a bluetooth remote like a g20bts is a very nice easy solution when coupled with triggerhappy software. I have this working perfectly on one system. Unfortunately Bluetooth pairing on Volumio seems to be flaky. I bought a second remote for another system and cannot get it to pair consistenetly. I got it to pair once but not repeateable. I really think bluetooth is the way to go. Want to trun up the music from upstairs?