This repository contains one of the three components necessary enable Alexa to control Bose SoundTouch speakers. The other two required components are:
This Local Server Component tracks presence and activity of SoundTouch speakers on the same network, and communicates with an AlexaSoundTouch_RemoteServer instance to broker commands and status updates.
These instructions assume you already have already completed the setup instructions for both your AlexaSoundTouch_RemoteServer instance and your AlexaSoundTouch_AlexaSkill instance. They also assume installation on a machine running Ubuntu 14.04 on the same local network as your SoundTouch speakers.
- Ensure these apt packages are installed: git-core, libnss-mdns, libavahi-compat-libdnssd-dev, build-essential
- Ensure node v4.x is installed
- run
git clone https://github.com/zwrose/AlexaSoundTouch_LocalServer.git
- Enter the newly cloned directory and run
sudo npm install
- Edit server.js to set the appropriate
bridgeBasePath
andbridgeID
variables.bridgeBasePath
should be the path to your AlexaSoundTouch_RemoteServer instance.bridgeID
should be your AlexaID as determined in AlexaSoundTouch_AlexaSkill setup step 7. - run
sudo node server.js
You may choose to use a process manager such as PM2 to ensure the server stays running.