roon-cec-controller-extension
v0.0.1
Published
Roon CEC Controller Extension
Downloads
4
Readme
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.
It relies on
- the Node Roon API
- hdmi-cec which relies on libcec
It should work with any device that supports libcec:
- Raspberry Pi
- Vero4K+
- Pulse-Eight USB-CEC Adapter
- Pulse-Eight Intel NUC CEC Adapter
- Some Exynos SoCs
- NXP TDA995x
- Odroid C2 (Amlogic S905)
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à !