0.0.1 • Published 6 years ago

roon-cec-controller-extension v0.0.1

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
6 years ago

roon-cec-controller-extension

Roon CEC Controller Extension should allow you to control Roon Core (⏮, ⏪, ▶️, ⏯, ⏸, ⏹, ⏩, ⏭ ) from your audio amplifier remote control, having your amplifier connected to a Roon Bridge via HDMI using CEC protocol.

You should install this extension on a device connected to your HDMI amplifier, probably your Roon Bridge (although you may have the Roon Bridge and the Roon Core on the same computer).

NB: This extension is heavily inspired by roon-extension-powermate.

Roon CEC Controller Extension Schematic

It relies on

It should work with any device that supports libcec:

This is a work in progress (but it works for me). Use at your own risks.

Todo:

  • Add volume control from Roon Core to the amplifier.
  • Display music titles on Amplifier
  • Power on amplifier / switch source automatically

Install Node

Installing Node.js via package manager

wget -qO- https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs

Install cec-utils and libcec (if not already installed)

sudo apt-get install cec-utils

Testing cec-utils:

echo 'SUBSYSTEM=="vchiq",GROUP="video",MODE="0660"' > /etc/udev/rules.d/10-vchiq-permissions.rules
usermod -a -G video YourUnprivilegedUser

Log off, log back in.

echo "scan" | cec-client -s -d 1

Install and run roon-cec-controller-extension

git clone https://github.com/benjaminbellamy/roon-cec-controller-extension.git
cd roon-cec-controller-extension/
npm install
node .

Open Roon Control software, go to Setting, then Extensions and enable Roon CEC Controller.

Et voilà !