Recently I created a kind of cool volume control using a Griffin Powermate (USB) attached to a RBP Zero that when adjusted, sends commands via SSH to a Roon Bridge (amixer commands) for volume adjustments. Works great, albeit a bit laggy. I did it this way so that I wasn’t doing any direct mods to the bridge (running Ropieee via RBP 3).
I now have a few zones grouped so I’m back to adjusting volume via my iPad since it controls volume for both zones simultaneously. I now want to leverage my Powermate to send master volume commands directly to Roon, rather than to the bridge itself. My DAC supports volume adjustments directly via Roon.
I attempted to install the API on my RBP Zero by using Apt-get to install node.js and git. I went through the examples on the forum and am failing miserably. I created the .JSON files, and run “npm install” and instead of installing dependencies, it fails. Here is the output:
----begin output---
**pi@raspberrypi** : **~ $** cd roon-extention-test/
**pi@raspberrypi** : **~/roon-extention-test $** npm install
(node:20427) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
npm WARN package.json roon-extension-test@1.0.0 No repository field.
npm WARN package.json roon-extension-test@1.0.0 No README data
\nter passphrase for key '/home/pi/.ssh/id_rsa': /
npm ERR! git clone git@github.com:github:roonlabs/node-roon-api Cloning into bare repository '/home/pi/.npm/_git-remotes/git-github-com-github-roonlabs-node-roon-api-e166b9a7'...
npm ERR! git clone git@github.com:github:roonlabs/node-roon-api fatal: remote error:
npm ERR! git clone git@github.com:github:roonlabs/node-roon-api is not a valid repository name
npm ERR! git clone git@github.com:github:roonlabs/node-roon-api Email support@github.com for help
npm ERR! Error: Not found : node-roon-api
npm ERR! at RegClient.<anonymous> (/usr/share/npm/node_modules/npm-registry-client/lib/request.js:300:14)
npm ERR! at Request._callback (/usr/share/npm/node_modules/npm-registry-client/lib/request.js:238:65)
npm ERR! at Request.self.callback (/usr/lib/nodejs/request/index.js:148:22)
npm ERR! at emitTwo (events.js:126:13)
npm ERR! at Request.emit (events.js:214:7)
npm ERR! at Request.<anonymous> (/usr/lib/nodejs/request/index.js:896:14)
npm ERR! at emitOne (events.js:121:20)
npm ERR! at Request.emit (events.js:211:7)
npm ERR! at IncomingMessage.<anonymous> (/usr/lib/nodejs/request/index.js:847:12)
npm ERR! at emitNone (events.js:111:20)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 4.14.70+
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! cwd /home/pi/roon-extention-test
npm ERR! node -v v8.11.1
npm ERR! npm -v 1.4.21
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/pi/roon-extention-test/npm-debug.log
npm ERR! not ok code 0
**pi@raspberrypi** : **~/roon-extention-test $**
----end output----
Now, above if you are keen you will notice where it asks me to enter a passphrase. That is because I was getting an error saying bad authentication. I followed the web down a rabbit hole and saw someone else with a similar issue saying I had to generate a new SSH key using a passphrase and then registering it with a GIT account. I did that, and now this is where I’m at.
The error that I’m focusing on above is saying that there is no such repository for roon API. Odd?
Here is the detail from my package.json:
----begin output---
pi@raspberrypi:~/roon-extention-test $ cat package.json
{
"name": "roon-extension-test",
"version": "1.0.0",
"description": "Roon Extension to test using Roon API",
"main": "app.js",
"author": "Elvis Presley",
"license": "Apache-2.0",
"dependencies": {
"node-roon-api": "github:roonlabs/node-roon-api"
}
}
pi@raspberrypi:~/roon-extention-test $
---end output---
Questions:
-
Do I even need to do this on the device with the powermate connected? I’m assuming yes since I need to install the extension on this device so that it can be “installed” within my roon core?
-
Is there anything I need to do on my Roon core (running Windows server 2016) in preparation?
-
So that I’m not reinventing the wheel, is there any extensions pre-build that I can steal from to use this powermate as a volume knob for the master mixer within Roon?
Cheers -