Typical use cases for SoundTouch Audio Notification API

Typical use cases for SoundTouch Audio Notification API

vatiozvatioz Posts: 1Member

Can you please share some of the expected use cases for this API?

Thanks

Comments

  • edited 12/07/2017 - 15:12
    habedakhabedak Posts: 6Member

    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...

  • edited 12/07/2017 - 18:37
    Zach@Bose[email protected] Posts: 157Admin

    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:

    • read aloud texts/emails as they arrive
    • audio-based reminders, perhaps tied into other smart home sensors (e.g., remind you that your garage door is open if it is at sunset, or something like that).
    • audibly notify you if a connected camera sees motion
    • read breaking news headlines aloud
    • let you know if it's about to rain and you have windows open (again, perhaps tied into smart-home things)
    • etc...in a way, it could be anything you get a phone notification for, but would preferably be read aloud.

    What other ideas are out there??

  • TvDanTvDan Posts: 5Member

    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.

  • kdw2060kdw2060 Posts: 13Member

    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.

  • hanneschannesc Posts: 1Member

    Another case would be to tell Amazon Alexa to broadcast the spoken message to... speaker xy, to all speakers.

  • UpstairsericsUpstairserics Posts: 10Member

    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.

  • huntley1huntley1 Posts: 2Member

    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?

    Thanks

  • huntley1huntley1 Posts: 2Member

    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?

    Thanks

  • kdw2060kdw2060 Posts: 13Member
    hi @huntley1, it's easiest if you use a sound file that's available on a url somewhere. I use this one for my doorbell-project: https://freesound.org/data/previews/275/275571_4486188-hq.mp3

    I use Home Assitant and their http rest command component to send the request when the doorbell is triggered. It's probably similar to configure on your solution. The command in Home Assistant is:

    method: POST
        payload: '<play_info><app_key>[your Bose api-key]</app_key><url>https://freesound.org/data/previews/275/275571_4486188-hq.mp3</url><service>Intercom</service><volume>55</volume></play_info>'

    You can refactor to a curl request or whatever it is that that RTI solution requires.
Sign In or Register to comment.