Giter Club home page Giter Club logo

soundtouchapi's Introduction

BOSE SoundTouch API web page controller

Basically this is a single webpage allowing me to interact with my two BOSE SoundTouch 10 speakers.

It more or less touches all the interesting parts of the SoundTouch API and the Notification API.

UI

UI is hard-coded for 2 speakers as I have exactly two speakers and I didn't want to force universality, as I don't need it yet.

The only piece of information required from user is IP address of each speaker. I wanted to avoid the need of implementing Bonjour discovery in JS such simple project. This requires static IP for the speakers, but on the other hand avoids problems with discovery and avoids dependencies. And most importantly, it fits my needs :)

JavaScript

JavaScript is mostly universal and only relies on sequence number of the speaker (which is passed as parameter in button click calls and also coded into IDs of html elements). From the point of Javascript, it should be fairly easy to add another speaker.
The only place it is not universal is Zones. This is on my list of TODOs.

Advantages over official app

As simple as this page is, there are few things that this page gives you, that official BOSE SoundTouch app doesn't:

  • Instant load, as opposed to "Searching for speakers..."
  • Side-by-side view of both speakers
  • Indicator of WIFI signal strength
  • Auto-zoning - one button will create zone without asking who is master and who slave - simply the one playing is a master
  • Text log of all notifications speakers are sending

Auto-zoning

Preparation for Wemos D1 IoT device. More later...

soundtouchapi's People

Contributors

vatioz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.