Boxy volume control #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Boxy is attached to a Denon AVR which is then routed to our TV. The AVR is what actually controls the volume output.
Boxy is set to auto login as the kodi user in a plasma 6 Wayland session.
The AVR is exposed as a media player entity in home assistant.
I'd like to remap the volume buttons so that instead of controlling the OS volume they will instead run some command line scripts that will read a long lived home assistant access token and send HTTP commands to change the volume of the AVR. Volume up, down, and mute.
The access token will be created specifically for this purpose. It will not live in the nix store. We will not want to access it using rbw since that is for my personal user only. Instead we should store it in the KDE wallet and if boxy is ever compromised I can revoke the token.