Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Posted in:
  • 16. Mai 2019 at 6:29 #45412

    Great! Looking forward to seeing it. In the meantime, I hacked together a way to create, install, and start a systemd service during the plug in install. The service simply launches the python script. The next issue to solve is finding an elegant way to change the IP and MAC addresses, as well as the HID device name that the python script uses once the process is already running. I am thinking of a tmp file that the python script keeps an eye on but it seems a bit too hacky for my taste.
    Again, if you are interested, I put the plugin in its current state on github: -> Usbvolumeknob.tar

    13. Mai 2019 at 19:05 #45384

    If you’re not a hacker type, you can just get the following hardware:

    If you are the hacker type, you can use the following:
    -ATTiny dev board:
    -EC11 5 pin rotary switch encoder
    -Use the following Arduino script: rotaryKnobHID.ino in this github repo:

    The github repo has the python scripts as well but it is all in progress so use at your own risk.

    12. Mai 2019 at 22:39 #45379

    Hi there,

    The functionality this plugin offers is definitely needed. I implemented a version myself but took a completely different direction.

    -Used a digispark, a rotaty encoder, the arduino HID trinket library, and modified the script to generate a „Volume Up“, „Volume Down“, „Play/Stop Toggle“ signal through USB.
    -Also bought a unit that basically already does that (but it was more fun to build my own)
    -I run a background python process using the evdev library to capture events from my USB device and to send commands to the server through the REST API controlling the intended player’s volume.
    -It’s working well and I can just plug the knob in a USB port which is less of a hassle than dealing with GPIO. Last thing I need to figure out is how to have the plug in install process launch my python script as a background process on boot.

    Can you help with that last part so I can make the plugin available for those who want it?

Viewing 3 posts - 1 through 3 (of 3 total)