All Projects → pgporada → ansible-playbook-volumio-bluetooth

pgporada / ansible-playbook-volumio-bluetooth

Licence: other
Pair your phone and stream audio to a Raspberry Pi running Volumio

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to ansible-playbook-volumio-bluetooth

Ansible-Veeam
My Ansible Playbooks, Roles and Modules for Veeam
Stars: ✭ 21 (+61.54%)
Mutual labels:  ansible-playbook, ansible-role
Ansible Restic
Deploy restic backup program
Stars: ✭ 29 (+123.08%)
Mutual labels:  ansible-playbook, ansible-role
lykops
lykops是一套web可视化的运维自动化项目,基于python3+django开发的。可视化、简化执行ansible任务,并提供详细的任务执行报告。
Stars: ✭ 129 (+892.31%)
Mutual labels:  ansible-playbook, ansible-role
RHEL7-CIS
Ansible RHEL 7 - CIS Benchmark Hardening Script
Stars: ✭ 28 (+115.38%)
Mutual labels:  ansible-playbook, ansible-role
Graylog Ansible Role
Ansible role which installs and configures Graylog
Stars: ✭ 173 (+1230.77%)
Mutual labels:  ansible-playbook, ansible-role
aws-lab-guide
Amazon Web Services Practice Lab Guide. Absolute beginners can try this lab practice guide.
Stars: ✭ 25 (+92.31%)
Mutual labels:  ansible-playbook, ansible-role
Nagios Nrpe Server
Nagios NRPE Server Role for Ansible
Stars: ✭ 27 (+107.69%)
Mutual labels:  ansible-playbook, ansible-role
Ansible In Action
Ansible playbook to deploy your Laravel code base to VPS
Stars: ✭ 61 (+369.23%)
Mutual labels:  ansible-playbook, ansible-role
Matrix Docker Ansible Deploy
Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker
Stars: ✭ 2,541 (+19446.15%)
Mutual labels:  ansible-playbook, ansible-role
Centos7 Cis
Ansible CentOS 7 - CIS Benchmark Hardening Script
Stars: ✭ 64 (+392.31%)
Mutual labels:  ansible-playbook, ansible-role
UBUNTU20-CIS
Ansible role for Ubuntu 2004 CIS Baseline
Stars: ✭ 136 (+946.15%)
Mutual labels:  ansible-playbook, ansible-role
Ansible Playbook Grapher
A command line tool to create a graph representing your Ansible playbook tasks and roles
Stars: ✭ 234 (+1700%)
Mutual labels:  ansible-playbook, ansible-role
ansible-palybooks
Ansible Palybooks Written and Published by www.server-computer.com. NO WARRANTY for any damages and loss of data.
Stars: ✭ 24 (+84.62%)
Mutual labels:  ansible-playbook, ansible-role
ansible-role-systemd-service
No description or website provided.
Stars: ✭ 37 (+184.62%)
Mutual labels:  ansible-role
spotifypiHome
"Install and go" multiroom music playback solution, with support for spotify, airplay and bluetooth.
Stars: ✭ 32 (+146.15%)
Mutual labels:  bluetooth
ionic-escpos-bluetooth-printer-sample
Sample use of ionic 3 with a bluetooth esc/pos thermal printer
Stars: ✭ 40 (+207.69%)
Mutual labels:  bluetooth
ansible-backup
Ansible daily backup role
Stars: ✭ 25 (+92.31%)
Mutual labels:  ansible-role
app-xyo-nodejs
XYO Archivist/Diviner CLI
Stars: ✭ 41 (+215.38%)
Mutual labels:  bluetooth
ansible-qemu-kvm
Ansible role to provision KVM/QEMU virtual machines
Stars: ✭ 38 (+192.31%)
Mutual labels:  ansible-role
coBlue
Use Bluetooth Low Energy for remote commands, file transfer, Based on bluez Bluetooth protocol stack (BLE Terminal)
Stars: ✭ 41 (+215.38%)
Mutual labels:  bluetooth

You don't need this project, nor do you need Volumio

Switch to Moode Audio which is based on Debian latest, won't break when you run an apt update, and has built in bluetooth support. I've moved all my volumio pi's over to it including the one in the image below.

Overview

I run Volumio on several Raspberry Pi's in my home and barn. This code will provision them to accept bluetooth connections and allow me to pair a phone and stream audio to them. Volumio offers this feature, but only if you pay $35+ per year for a single RPi. For some that may be acceptable, but we can put that money towards the mortgage beer instead!

Usage

# Temporarily enable ssh mode at http://volumio_ip/dev

# On your own computer, not necessarily the raspberry pi, you can run
sudo apt install ansible git

# Get this repository onto your computer
git clone https://github.com/pgporada/ansible-playbook-volumio-bluetooth

# Configure the Volumio server IP so that you're connecting to the correct device
cd ansible-playbook-volumio-bluetooth
vim hosts.example

# Run ansible from your computer to configure the Volumio server
ansible-playbook playbook.yml -i hosts.example -kK

# Disable volumio ssh mode at http://volumio_ip/dev

Pairing a device

This part is done on the Volumio server itself and is kind of a pain in the butt. An expect script or something might be useful for this as a future improvement. This only needs to be done once per phone per Volumio server.

sudo bluetoothctl
# power on
# agent on
# default-agent
# scan on => xx:xx of your device
# pair xx:xx
# trust xx:xx
# devices
# exit

Removing a device

sudo bluetoothctl
# devices
# remove xx:xx
# exit

Troubleshooting

I have paired my phone to the raspberry pi, but I can't hear any audio!

If you're like me, you may have a web radio playing constantly from Volumio. When you connect your phone to bluetooth on the rpi, you may not hear anything until you pause the web radio in the Volumio interface. The interface will control the volume, but will not show that anything is "streaming" from your phone.

References

Much of this comes from manual steps found here and here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].