https://github.com/vatioz/soundtouchapi
BOSE SoundTouch API for controlling speakers
https://github.com/vatioz/soundtouchapi
bootstrap bose font-awesome soundtouch websocket
Last synced: 3 months ago
JSON representation
BOSE SoundTouch API for controlling speakers
- Host: GitHub
- URL: https://github.com/vatioz/soundtouchapi
- Owner: vatioz
- License: mit
- Created: 2018-10-24T14:09:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-29T11:08:49.000Z (over 6 years ago)
- Last Synced: 2025-02-14T23:44:58.594Z (5 months ago)
- Topics: bootstrap, bose, font-awesome, soundtouch, websocket
- Language: JavaScript
- Size: 250 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# 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...