Sonos Gateway with many interface options as RPi IOs, Flickr Bluetooth Button and a UDP API.
- UDP
- Flic Bluetooth Button
- Pysical GPIOs (with Extension Print 0-230V AC or DC)
By the use of the interfaces above you can trigger many Sonos actions with Lextend. For example:
- Play, Stop, Pause
- Volume +/-
- Play one of 10 uploaded mp3 and resume previously played stream
- Play one of 10 uploaded mp3 and play infinitely till stoped
Update Raspberry Pi packages using the following command
sudo apt-get update && sudo apt-get upgrade
Install Docker using following command
curl -sSL https://get.docker.com | sh
Add “pi” user to “docker” group using the following command. You must Log off from Raspberry Pi and Login again, for this to take effect.
sudo usermod -aG docker pi
Check Docker installation using the “docker –version” command. If you see the correct version, you are good to go.
docker –version
Run the ARM-based “hello-word” Docker container using
docker run armhf/hello-world
On RASPBIAN, you can download the Docker Compose binary from the Compose repository release page on GitHub. Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your configuration.
sudo apt-get -y install python-pip
sudo pip install docker-compose
Check Docker installation using the “docker-compose - -version” command. If you see the correct version, you are good to go.
docker-compose --version
sudo apt-get install git
git clone https://github.com/lextira/lextend.git
Go to lextend/src directory and up docker compose
cd lextend/src
docker-compose up -d
Bring everything down, removing the containers entirely
docker-compose down
You can login to Lextend as follows:
- On any Linux host
- http://IP:8000
- On RPi Hardware
- http://IP
If you are just starting with GitHub, you can follow this guide:
The lextend package is made available under the terms of the GNU Public License v3 (or any higher version at your choice). See the file COPYING for the licensing terms for all modules.