Can you please share some of the expected use cases for this API?
My main use case is 'as a doorbell', but I've also been pondering about using it to announce 'dinner is ready' throughout the house instead of having to yell myself...
Doorbell is definitely a big potential use case!
Announcements like what habedak suggested are another one - I could see these being either pre-recorded (press a dinnertime button to broadcast "dinner is ready"), or more dynamic. I've been (slowly) tinkering in my spare time on a mobile app that would essentially show all the speakers on the network and allow you to press and hold your speaker of choice, say something, and then send the recording off to the speaker on release. A one-way in-home intercom of sorts. If I can ever get it to a state of even partial completion, I'll definitely post it up on GitHub...but that could be quite a while...so if anyone wants to build this, please do!
Other potential ideas:
What other ideas are out there??
I'm sitting at home and the sound is up high. The phone rings in the other room and of course, it's an important call that I Miss!
I have android mobile and android dect home phones so I'm looking at some sort of telephone is ringing sound with extra text to display who is calling/telephone number on soundtouch devices which can display.
As I will probably (eventually) develop an android app to do this, I'm thinking of having it to contain http server elements to host the mp3 sounds on the phone directly so will only concern local network (apart from the bose key bits).
Future use probably to notify of new (important) text or email.
Not sure about reading text elements aloud - too intrusive and would require text to mp3 conversion.
Hi, I was thinking along the same lines and built a basic app that includes some kind of Intercom. See my post in de showcase forum category: https://developer.bose.com/content/my-alternative-soundtouch-interface Right now it only plays sound files that are stored somewhere on the web, but I'm planning to add the ability to record your own clip and have that broadcasted.
Another case would be to tell Amazon Alexa to broadcast the spoken message to... speaker xy, to all speakers.
a 'You are listening to' mode that either:
(1) Speaks the artist and track (and other details) on every transition for music played via LOCAL or SPOTIFY or an INTERNET RADIO station change
Requires events from the websockets notification interface to trigger the Audio Notifications API with a gTTS call (noting the 100 char limit).
I will use libsoundtouch for the websocket notifications which does return enough 'now-playing' info.
(2) Triggers this to happen on-demand from say an MQTT message or perhaps an http request service.
How are you using the API as a doorbell? I'm looking to doing the same. My issue is how do I send the request and where to store the audio file for the doorbell chime.
I'm using a RTI home automation controller. It has a HTTP Request driver, but I'm unsure of the URL to put in the driver to send for the notification. Also, where do you store the audio file to play? Is it a web base file or is it stored on a PC that is running all the time?