Seems all buttons have been implemented:
Home = clear
back arrow = repeat
Menu = random
Great. Busy making a neater (soldered) job of the sensor, Iāll try that later. I might try disabling the power button though.
just remove or comment out:
begin
prog = irexec
button = Power
config = /usr/bin/sudo systemctl poweroff
end
Brilliant! And yes the other buttons work, except I think, home/clear. Is that supposed to clear the playlist?
Yes it does. these are the default available commands:
[[PLAYBACK STATUS]]
status Gives Playback status information
volume Gives Current Volume Information
volume <desired volume> Sets Volume at desired level 0-100
volume mute Mutes
volume unmute Unmutes
volume toggle Mutes/Unmutes
volume plus Increases Volume of one step
volume minus Decreases Volume of one step
seek plus Forwards 10 seconds in the song
seek minus Backwards 10 seconds in the song
seek <seconds> Plays song from selected time
repeat Toggles repetition of queue
random Toggles randomization of queue
[[PLAYBACK CONTROL]]
play
pause
toggle Toggles between play/pause
next
previous
stop
clear
I would have been happy with vol +/- and mute!
I edited /etc/lirc/lircrc , commenting out
begin
prog = irexec
button = Power
config = /usr/bin/sudo systemctl poweroff
end
However it restores the uncommented version of the file after restart/reboot. Am I editing the wrong file?
I assume you use the plugin, then yes wrong file?
then you need to edit in /data/plugins/system_hardware/ir_controller/configurations
Perfect! Thanks.
@SimonE Thank you.
Be aware that your changes to configurations in ā/data/plugins/system_hardware/ir_controller/configurationsā will be overwritten on each update of the plugin. I recommend to create your own configuration in ā/data/INTERNAL/ir_controller/configurationsā as I have described here.
Hi,
Maybe not for this thread but after upgrading to 3.569 and using the Justboom remote to shut down the Raspi, now it is restarting instead of shutting down.
Before 3.569, never had this problem.
Anybody knowing what I could check to solve this?
Thanks.
Regards,
Ad.
-
What hardware do you use?
-
Is your system connceted to network by LAN or WLAN?
-
Does powering off via Volumioās UI work?
-
Did you possibly modify ālircrcā or ālircd.confā from the pluginās āJustBoom IR Remoteā configuration?
- using a RPI 3b+, which I am using for a longer period of time including IR
- I am using LAN
- yes, via Volumio UI it stops
- I did not change anything. Only installing the IR remote plugin.
Everything else is working via the remote Justboom.
Thanks for the quick reply.
Please check if the problem persists when the system is disconnected from LAN (but eventually connected to WLAN).
Also, does executing
systemctl poweroff
from Volumioās command line work or does the system reboot, too?
I didnāt had the time yesterday to reply you.
Without LAN itās rebooting, using WLAN also rebooting.
systemctl poweroff
: also rebooting. Thatās weird I should say.
Well, at least the behavior is consistentā¦
Do you have any other hardware connected that may be preventing the shutdown?
I use Ian Canadaās stationpi pro and other stuff but I did also before using 3.569 and it worked perfectly.
Maybe I will try an older version of Volumio if that hardware is interfering the shutdown.
Using the Volumio UI it shuts down. why not via executing the systemctl?
I suggest to try executing
sync
systemctl poweroff
If that should not help disconnect all other hardware from the Pi and test systemctl poweroff
again.
Good question
Using the UI does also restarts it, it took only much longerā¦ sorry for that
Somehow the poweroff command is now restarting in instead going done.
That is one more reason to test with all other hardware disconnected from the Pi.