This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
bose
Comments
Soundtouch's API is very limited. The most you could get out of it is being able to remotly control it. But you will not be able to let it play all songs from a band for instance, unless you have that set on a preset. So as I said, basically the API is nothing else than what your remote can do. And even then, the API is a bit stupid. For instance the ON/OFF is a toggle. I cannot tell the soundtouch to go ON. I first have to determine the state of the device, then determine if I should send the power command or not. But.... due to it only being a remote, it is not difficult. But in the end, it does not add real value to Homey I think.
To trigger one of the presets:
http://IPADRES OF YOUR BOSE:8090/key
<key state="press" sender="Gabbo">PRESET_6</key>
then a new card:
http://IPADRES OF YOUR BOSE:8090/key
<key state="release" sender="Gabbo">PRESET_6</key>
To Change the volume to level X (in my sample 30):
http://IPADRES OF YOUR BOSE:8090/volume
<volume>30</volume>
Change the channel to AUX (or bluetooth)
http://IPADRES OF YOUR BOSE:8090/select
<ContentItem source="AUX" sourceAccount="AUX"></ContentItem>
To turn on or of the power:
http://IPADRES OF YOUR BOSE:8090/key
<key state="press" sender="Gabbo">POWER</key>
then a new card:
http://IPADRES OF YOUR BOSE:8090/key
<key state="release" sender="Gabbo">POWER</key>
Very happy as via IFTT and Alexa i now control these great speakers! As Alexa is connected to my AUX I can tell her to lay any song from my spotify library or radio station from tune-in. Homey, Alexa and IFTT are for me a perfect match.
Only thing I was not able to do is join 2 speakers together. This probably requires some more programming. Anyone who know how to do that please let me know. In the web-api documentation I found:
/addZoneSlave
Bose looks like it's a difficult one...they have no google home support either.
I would hate needing to switch to Sonos as I would be missing the selection buttons a lot!
Is there still somebody busy with the soundtouch application?
What is possible:
Turn on/off your soundtouch
play your presets
change volume to the % you want
you can play the song you want from spotify.
you can play your play list from spotify
Pauze, resume, next and previous
1st next song
you can ask homey to play a song etc.
You can use the Homey app to do all also
Now i'm wondering what you want more?
Zorg eerst dat je soundouch een vast IP krijgt van je router.
Installleer SPOTIFY APP en dan wel de BETA versie https://apps.athom.com/app/com.spotify ;
door deze app te installeren kan je al aardig wat.
Wel als je de BETA spotify app geinstallerd hebt, even naar de tab Zones en Apparaten gaan om je soundtouch te installeren door:
1: op plus drukken
2: spotify connect drukken en dan je soundtouch installeren --> moet wel met wifi verbonden zijn)
daarna kan je vollop gebruik maken van je soundtouch en Spotify
3: selecteer onder Muziek rechtsonder je soundtouch als je die wilt gebruiken( kan trouwens ook in de flow om je soundtouch te selecteren of andere systemen als die ook geinstalleerd zijn ( moeten dus ook via wifi verbonden zijn)
geen spotify dan hier een paar voorbeelden hoe het werkt met HTTP (vergeet niet een vast IP adress aan je router toe te wijzen van je soundtouch)
kaartjes horen in de DAN colom:
Toggle geluid aan/uit:
in eerste veld staat: http://192.168.1.17:8090/key(verander 192.168.1.17 naar IP adres van je soundtouch)
in tweede veld : <key state="press" sender="Gabbo">POWER</key>
voor preset selecteren:
1e veld : http://192.168.1.17:8090/key
2e veld : <key state="release" sender="Gabbo">PRESET_6</key>
voor geluid percentage :
1e veld: http://192.168.1.17:8090/volume
2e veld: <volume>35</volume>
zo staan er nog een paar beschreven op het forum.
succes
When I use the browser with this option
http://192.168.10.55:8090/volume
(this being the IP of a soundtouch) I get response
1616 ( 16 is the volume )
So there is a connection, when I change the volume on the remote the output changes!
These are my setting in homey.
Any advice would be greatly appriciated!
I have followed this thread even before I purchased Homey since my main sound system was Bose Soundtouch. I knew once I bought Homey that it was possible to control these devices with HTTP cards but now I finally had some spare time to create an Bose Soundtouch app!
You can find it HERE.
I'm still working on adding features but the basic stuff is working. For example:
- Triggers are available to check if a speaker has started playing or has stopped playing.
- Conditions to check if a speaker is playing or paused
- Actions to play presets, control volume, next, previous, play, pause, mute, unmute, set bass reduction and to create zones with other speakers!
This makes it possible to create zones directly when something has started playing on one of your speakers. something that isn't even available from the official Soundtouch app right now!I hope you enjoy using the app and please let me know if there are features you like to see.
I propose to create a dedicated topic for this app and ask the moderators to merge this topic into that one; you'll have an own opening post...
I have created my own topic which can be found here:
https://forum.athom.com/discussion/5036/bose-soundtouch#latest
Please post feature requests in the according topic since I won't be monitoring this thread any longer.
I get it installed and the correct ip adress but i can't turn it on and off etc.