Skip to main content

Hardware add-ons integration for Volumio 3

Project description

build status PyPI version

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

volumio-buddy-3.0.0rc3.tar.gz (76.2 kB view details)

Uploaded Source

Built Distributions

volumio_buddy-3.0.0rc3-py3.7.egg (83.1 kB view details)

Uploaded Source

volumio_buddy-3.0.0rc3-py3-none-any.whl (78.1 kB view details)

Uploaded Python 3

File details

Details for the file volumio-buddy-3.0.0rc3.tar.gz.

File metadata

  • Download URL: volumio-buddy-3.0.0rc3.tar.gz
  • Upload date:
  • Size: 76.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for volumio-buddy-3.0.0rc3.tar.gz
Algorithm Hash digest
SHA256 ca4bbd363cf4fe91e40e5a41cc25c948297d4aaf6a2e330c4bbfd47920ff64c0
MD5 6517714627fc58cd086f78de337a42a1
BLAKE2b-256 8a433ade325d7134097352c6cc41972fb88c5d76cbfce727f199f3b3485d5feb

See more details on using hashes here.

File details

Details for the file volumio_buddy-3.0.0rc3-py3.7.egg.

File metadata

  • Download URL: volumio_buddy-3.0.0rc3-py3.7.egg
  • Upload date:
  • Size: 83.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for volumio_buddy-3.0.0rc3-py3.7.egg
Algorithm Hash digest
SHA256 70e911d48d407936bb2330cc1a8d950f8a27acdf3b01e862cfac075e998f80fa
MD5 6f5daabe05b2425b9bfa53b62fbeb721
BLAKE2b-256 ae592adafb2f044604940ea36e4589542e4eb116046df8c2d22b66522ba4c099

See more details on using hashes here.

File details

Details for the file volumio_buddy-3.0.0rc3-py3-none-any.whl.

File metadata

File hashes

Hashes for volumio_buddy-3.0.0rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 4cb5b2653ec22a56f732f678c15818a5e446f114f63c04c2732f55c1c7d6794e
MD5 bc780bb7c6d2e722eb1c0783011c7ce5
BLAKE2b-256 3b1d230806a365d19fc6dc3e9893fc0b23d8a29718014f8394d0186dea83137e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page