Hi Chris, hi all,
I 've just found this discussion right a second ago.
I have a Bose Soundlink Mini and a Soundtouch Wireless link and I Wonder if there is a possible way redirecting Sound of the Android to Bluetooth and to the wireless lan protocol of the bose?
Or if maybe somebody investigated a solution? I think this is a common problem if you just want to play Sound from any app to your boses via Bluetooth and wireless at the same time. I would like to build or implement something like this if not existiert. Synchronizing is hopefully not the issue. But what do you think, how and is it possible?
Thanks in advance for your answers and help I appreciate! Sorry for stumbling into the discussion like thisâŠ
Thank you so much for your effort to make it work again. Fantastic work.
Does your current binding allow to play URLs/Files? Iâm planning to have some openHAB information as voice messages via SoundTouch. I know that itâs possible via FHEM, so I was wondering if I can make it work for openHAB2 as well.
Interesting question. I just tried it with our SoundTouch speakers - And it worked. I had a bluetooth source (handy) connected to one of the speakers, and other speakers as âmembersâ on this speakers and the bluetooth sound was distributed over the wireless SoundTouch protocol. Never the less when I played a video from Youtube there was a noticeable delay between sound and video - I assume the equipment needs this delay for buffering & distribution purposes.
Okay, back to your Equipment - Both things I havenât heard yet. After some quick googling - The âSoundTouch Wireless linkâ seems to be a member of the SoundTouch concept, and it should work with that. But the âSoundlink Miniâ just seems to be a bluetooth speaker without any SoundTouch support - I think it wonât work with that. But it should work with all other devices out of the SoundTouch family.
To answer your question: Currently we donât have a way to directly play URLs/Files. We (@tiknx and me ) had discussed this internally several times but had no real idea how to integrate it properly into the OpenHAB concept. Maybe also because there wasnât a real usage of it jet.
Never the less @tiknx integrated an âextendedâ ID storage. So when you have a fixed set of sounds to play (i.e. a Ringer for the Door-Bell, and some fixed announcements) you could use this feature.
The SoundTouch only has 6 integrated âpresetâ places, the plugin provides a lot of additional places. Just open the sound you want to save with your favourite SoundTouch APP, then send a number > 6 to the saveAsPreset channel. This would store this file to this preset position. Sending the same number to the presetControl channel should play the saved sound.
Would this be an option? Otherwise we could discuss a way to play URL directly.
Thanks for your reply and your time to investigate! You must know, that at
the moment, I am for myself only evaluating the idea on a very abstract and
theoretical level with little system knowledge (I know embedded linux
system quite well, and I know very basic stuff of the android system (as I
have programmed a very little app in it and as a heavy user of the system
:-))
Okay, back to your Equipment - Both things I havenât heard yet. After some
quick googling - The âSoundTouch Wireless linkâ seems to be a member of the
SoundTouch concept, and it should work with that. But the âSoundlink Miniâ
just seems to be a bluetooth speaker without any SoundTouch support - I
think it wonât work with that. But it should work with all other devices
out of the SoundTouch family.
yeah, that is right, it wonât work because Bose did not intend to do so.But
if you could connect a bluetooth source like your smartphone via bluetooth
to a Soundlink mini and manage to redirect the stream of sound to a
Soundtouch at the same time. The soundtouch app could manage to stream the
sound of a NAS to the Soundtouch, how does this work (is it only routing
and controling, and the rest does the soundtouch?). But anyway in the same
way the NAS streams to the soundtouch, the android could do the same. The
rest would be then âpitchingâ the echo out.
The idea would be send an audio stream sent by any audio application and
send it to the bluetooth as well as redirecting it over wireless lan and
the SONOS(?) protocol to the soundtouch, acting like a NAS, i.e. a logitech
squeeze box (which works)
What I donât know - besides everything else - now is:
Do I have the control in Android over the audio stream? Or can it only
be done in OS level?
Is it possible to get the data of the stream why setting bluetooth as
the sink of the audio stream? Also the OS questionâŠ
For me I was just evaluating if it would be worth the time!
Is Android programmed Java tasks fast enough to do the job on any or the
super smartphone?
I hope not to bother you or the discussion, if that is even possible.
Thanks for the quick reply. Interesting idea, Chris! Iâm basically looking for the SoundTouch / OpenHAB to read out a short summary of the day, during breakfast. This may include calendar highlights of the week, weather, etc. So thatâs TTS played via SoundTouch. If i connect âaâ file with a preset, I can keep the name and change the file itself (with new announcement) and that may work, correct?
Is your exenteded ID storage features documented? Iâm still a total newbie with openHAB.
i implemented this feature about a year ago. I do not find a time to work on the binding at the moment, but as i remember a file stored on a NAS is presetable. So if you select a file on the nas using the app, you can set it as preset using the channel âsaveAsPreset 7â. Then you can use it like all other presets by sending âpreset 7â.
If you can manage to change this file automatically every day this should work!
Hi marvkis,
I got the same problem as morizm. I downloaded the 2.1.0 file just a minute ago but there ist no ZoneAdd here as well. Also the sha256 sum of the file Iâve downloaded here https://github.com/marvkis/org.openhab.binding.bosesoundtouch-dist is different. Itâs 912443F6338F8106C3F511463E9A6481EF20C3A28FFA49FE5C38D013C4BF1B6F. Maybe you can have a look if there is the correct file on github?
thank you for uploading the correct file. ZoneAdd works for me now.
Unfortunately the OperationMode BLUETOOTH does not work for me anymore. It states âOperationMode 'BLUETOOTH â is not supported yet.â in the log file. Are you working on this? Just wondering because it worked before.
The new Sound Touch Notification API should give us the possibility to have a working TTS solution playing a MP3 file. Is there a possibility that the say() functions creates a MP3 file instead of using the default audio sink? Thanks.
What is the correct syntax for rules for zone control?
I have three devices. When the first device is turned on, I want to turn on the other two and add them to a zone together.
My rule below is working to turn them on, but isnât establishing the zone. I have also tried substituting the name with the MAC, but still no success.
rule "Set Bose Zone"
when
Item Bose1_Power changed
then
sendCommand(Bose2_Power, ON)
sendCommand(Bose3_Power, ON)
sendCommand(Bose1_ZoneControl, âadd Dining Roomâ)
sendCommand(Bose1_ZoneControl, âadd Living Roomâ)
end
I figured it out. I had to change ZoneControl to ZoneAdd.
I added this line to the items file:
String Bose1_ZoneAdd âZone Add: [%s]â { channel=âbosesoundtouch:device:9884E3BAABA8:zoneAddâ }
(Need to substitiute the correct MAC address into the string.)
Then I updated the rule to look like:
sendCommand(Bose2_Power, ON)
sendCommand(Bose3_Power, ON)
sendCommand(Bose1_ZoneAdd, âDining Roomâ)
sendCommand(Bose1_ZoneAdd, âLiving Roomâ)
Hey mbibbey,
i am trying the same - connect my living room to my entrance bose. but what does the âDining Roomâ mean? Where do I define this? In the item list?
the ânameâ for the device to add is either the âMACâ address or the ânameâ of the device as configured in the app (could be obtained in the paper UI from the properties. The name is also used as initial device name when the thing is initially added.