Code Monkey home page Code Monkey logo

iap-to-avrcp's Introduction

iAP to AVRCP

What is this?

This is my terrible answer to not being able to change the current song from my steering wheel in my 2012 Hyundai Elantra. You can find out more here, here, and here.

What does it do?

It (is supposed to) act as a bridge between Bluetooth (AVRCP) and the Apple iPod Accessory Protocol (iAP).

Should I use it?

No. You're honestly better off just changing the head unit in your car.

Can I use it?

You're free to do whatever[1] you want with this. All I ask is that you don't judge me for the terrible code written within. I just wanted to change the damn song.

1. Well almost whatever you want, just read the license.

How do I use it?

Things you'll need

  1. An Orange Pi Zero + MicroSD card
  2. A USB Bluetooth Adapter
  3. A 2012ish Hyunadi
  4. Ansible
  5. Lots of patience

Installation

  1. Flash the MicroSD card with Armbian
  2. Configure /boot/armbian-first-run.txt to connect to WiFi on first boot
  3. SSH (user: root pass: 1234), CTRL-C to abort creating a new user (bad but we're lazy so this will all run as root)
  4. apt install python3 -y
  5. Edit hosts in this project file to IP of Orange Pi
  6. Run playbook (ansible-playbook ansible-playbook.yml -u root -k -i hosts)

Debugging

The Ansible playbook above enables the USB OTG port and by default, armbian exposes a serial port. This is the easiest way to connect when the device is out of WiFi range. The software also writes logs to /var/log/iap-to-avrcp.log and /var/log/iap-to-avrcp.serial.log.

iap-to-avrcp's People

Contributors

nadavami avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

demitriusbelai

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.