Vero 4K and Alexa Echo integration with Sonos

Linux virgin here, be gentle, I’m old and running out of time.

Attempting to get software running on Vero 4K to allow Amazon Alexa voice control of my local music library played out my Sonos speakers. A much wanted feature, especially by my wife, listening to our music without the need of a computer, phone or tablet. Spotify has been working great so far.

This is the software - (GitHub - rgraciano/echo-sonos: Amazon Echo integration with Sonos)

I’ve gone down the rabbit hole, and am going to start over.
Before I do, is it better to install this ‘other’ software in it’s own directory, and not under the OSMC dir?
I would like to avoid wiping this new stuff out with a Vero update.

Would be very interested if anyone here has got this working on the Vero 4K.

Thanks in advance, wise and merciful Vero - Linux gods.

You should be safe installing with the instructions on the github page. OSMC updates should not mess with it.

Thanks, good to know.
I’ll try from the start again, hopefully I can get past the errors I’m getting.

What errors are you getting?

Hello Sam:
Here’s the latest.

osmc@vero4k:~/node-sonos-http-api$ npm start

sonos-http-api@1.6.3 start /home/osmc/node-sonos-http-api
node server.js

throw err;

Error: Cannot find module ‘basic-auth’
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/home/osmc/node-sonos-http-api/server.js:5:14)
at Module._compile (module.js:652:30)
at Object.Module._extensions…js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
npm ERR! errno 1
npm ERR! sonos-http-api@1.6.3 start: node server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sonos-http-api@1.6.3 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR! /home/osmc/.npm/_logs/2018-08-09T17_57_33_116Z-debug.log

probably need to do npm install first.

Sam, you were right, the npm dependencies were missing or something.
Reinstalled those and I got past this issue, thx.

Another step forward and the next error.
I’ll join the github site and see if I can get this going with their help.
This is not really a Vero problem.