Hardware add-ons integration for Volumio 3
Project description
volumio-buddy
new release!
This release now supports Volumio 3! It's actually an almost complete rewrite of the code, now using Python 3 with asyncio. It doesn't support Volumio 2 anymore, because the underlying OS is too outdated for a smooth migration to Python 3 (Volumio 2 users can still use release 0.4.1).
Introduction
Volumio-buddy is a python3 library and helper program for Volumio 3. It is meant to run on the same host where the Volumio back-end runs and provides the following additional functionality:
- connect to volumio using the websockets API
- support for GPIO pushbuttons to control volumio
- support for rotary encoders to adjust the volume and to skip through a playlist
- RGB LED support
- SSD1306 OLED 128x64px screen support (I2C)
- Battery power monitoring with an INA219 chip.
Installation instructions
The package assumes installation on a Debian based distribution for Raspberry Pi with systemd
based init. If you don't use systemd
, install the package with make install
and start the vbuddy
script manually in the virtual environment.
Edit src/vbuddy
to reflect your hardware setup. The script ignores the display and battery monitoring components if they are not found, but you need to update the GPIO pin configuration and the I2C addresses, if you use different ones than I do.
If your buttons or rotary encoders need an internal pullup or pulldown resistor, edit src/vbuddy.service
to include the commandline option -p up
or -p down
in the ExecStart
line.
Install the service in a separate virtual environment using the following commands:
make .venv
. .venv/bin/activate
make service
sudo systemctl start vbuddy
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file volumio-buddy-3.0.3.tar.gz
.
File metadata
- Download URL: volumio-buddy-3.0.3.tar.gz
- Upload date:
- Size: 76.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f93fddf8c2a259f8c7503a52aa59014bab95bedfe6d6c6975be522a6ca64fcb |
|
MD5 | 1b2c2b84e636fc61810662f6537c8d22 |
|
BLAKE2b-256 | 10b18bf85f3317e71d48523f52055f59240f4a1bd15192790e4c1d7b93bdf7e3 |
File details
Details for the file volumio_buddy-3.0.3-py3.7.egg
.
File metadata
- Download URL: volumio_buddy-3.0.3-py3.7.egg
- Upload date:
- Size: 83.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 830354b734eafaf15f851fff2b533b75b60d1eb9b387002a82db2fa9c6501c4f |
|
MD5 | 0fda75337c33a59a8dde718a2c25ecb7 |
|
BLAKE2b-256 | e2f82cd805aee544ed52875b56832758106edede9128b0b6f8467130efe8251a |
File details
Details for the file volumio_buddy-3.0.3-py3-none-any.whl
.
File metadata
- Download URL: volumio_buddy-3.0.3-py3-none-any.whl
- Upload date:
- Size: 78.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76e9dbfdbb669a0b13e956461b3d160ebcf8e95c30ba5fd0a1b5f4191c0a5ceb |
|
MD5 | 14ef0faa361bf4b1905df0d1c503e344 |
|
BLAKE2b-256 | 2e7d1bc51ed80d25e48819492cfe6b31ab6e63754bc2d3afc26cd6f342d52793 |