@Andron66 Do you mind if I add both configurations to the plugin? In “lircrc” I would however remove “/usr/local/bin/volumio status” and add “config = systemctl poweroff” for “KEY_POWER”.
If you want to use your configurations in the posted or modified version, you can save them to “/data/INTERNAL/ir_controller" as described here.