One thing still, when I restart Openhab, the following error appears in the log:
[ERROR] [dtouch.handler.BoseSoundTouchHandler] - SoundTouch 300: Error during websocket communication: Cannot append to finished buffer
java.io.IOException: Cannot append to finished buffer
at org.eclipse.jetty.websocket.common.message.SimpleTextMessage.appendFrame(SimpleTextMessage.java:47)[90:org.eclipse.jetty.websocket.common:9.2.19.v20160908]
at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(AbstractEventDriver.java:61)[90:org.eclipse.jetty.websocket.common:9.2.19.v20160908]
at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onTextFrame(JettyListenerEventDriver.java:122)[90:org.eclipse.jetty.websocket.common:9.2.19.v20160908]
at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:161)[90:org.eclipse.jetty.websocket.common:9.2.19.v20160908]
at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSession.java:309)[90:org.eclipse.jetty.websocket.common:9.2.19.v20160908]
at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(ExtensionStack.java:214)[90:org.eclipse.jetty.websocket.common:9.2.19.v20160908]
at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220)[90:org.eclipse.jetty.websocket.common:9.2.19.v20160908]
at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:258)[90:org.eclipse.jetty.websocket.common:9.2.19.v20160908]
at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:632)[90:org.eclipse.jetty.websocket.common:9.2.19.v20160908]
at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:480)[90:org.eclipse.jetty.websocket.common:9.2.19.v20160908]
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)[74:org.eclipse.jetty.io:9.2.19.v20160908]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[85:org.eclipse.jetty.util:9.2.19.v20160908]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[85:org.eclipse.jetty.util:9.2.19.v20160908]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_131]
I am trying to change the zone via HABPanel, using the item âZone Controlâ. When using âMaster; Members:MAC-Adressâ I get the following error: âGot command âMaster; Members:MAC-Adressâ for channel zone control which is unhandled!â How do I have to set up the command?
thank you for the great work with the binding and all the effort you put into it.
I am facing an issue with the implementation and maybe you guys can help out:
Everything worked out perfectly fine when I installed it a while ago. Suddenly it stopped working properly and I reinstalled the whole binding. My SoundTouch 130 was auto-discovered by the binding so I added it. Testing in PaperUI I am able to skip songs, pause and play and also change the volume. However, it will not deliver any track or artist information anymore, does not recognize any of the presets (neither can I save new ones on 7+), no Cover Image. Not even the Power Button will stay on âONâ and jump back to âOFFâ although itâs playing music.
Some strange events from the log:
> 19:59:09.547 [INFO ] [marthome.event.ItemStateChangedEvent] - Bose130_Power changed from OFF to ON
> 19:59:12.663 [ERROR] [dtouch.handler.BoseSoundTouchHandler] - SoundTouch 130: Error during websocket communication: Keine Route zum Zielrechner
> java.net.NoRouteToHostException: Keine Route zum Zielrechner
> 19:59:12.680 [INFO ] [marthome.event.ItemStateChangedEvent] - Bose130_Power changed from ON to OFF
> 19:59:15.523 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Bose130_Control' received command PLAY
> 20:22:03.483 [ERROR] [dtouch.handler.BoseSoundTouchHandler] - SoundTouch 130: Could not parse XML from string '<updates deviceID="689E195FE35B"><nowPlayingUpdated><nowPlaying deviceID="689E195FE35B" source="SPOTIFY" sourceAccount="**********"><ContentItem source="SPOTIFY" type="uri" location="spotify:user:spotify:playlist:37i9dQZF1DX2rBR3X9E86S" sourceAccount="**********" isPresetable="true"><itemName>This Is: The Black Keys</itemName><containerArt>https://i.scdn.co/image/1d9366c906f55052bdd0755d8b9da1787b7e15b6</containerArt></ContentItem><track>Lonely Boy</track><artist>The Black Keys</artist><album>Lonely Boy</album><stationName></stationName><art artImageStatus="IMAGE_PRESENT">http://i.scdn.co/image/13c6daeb49d70c804351bd7a3e4d9b1fb1abd441</art><time total="193">0</time><skipEnabled /><playStatus>PLAY_STATE</playStatus><shuffleSetting>SHUFFLE_OFF</shuffleSetting><repeatSetting>REPEAT_OFF</repeatSetting><skipPreviousEnabled /><streamType>TRACK_ONDEMAND</streamType><trackID>spotify:track:3dOAXUx7I1qnzWzxdnsyB8</trackID></nowPlaying></nowPlayingUpdated></updates>'; exception is:
> java.lang.NumberFormatException: null
sorry, but Iâm totally new to the Bose SoundTouch stuff and Iâm looking to get one of those speakers as they seem cheaper than Sonos (as far as Iâve seen).
Regarding the binding and interoperability with OpenHAB, if I understand correct, the binding works principally, but Iâm unsure which speaker I should get for it. Is there any recommendation what to buy to have little hassle with it? Does a Bose SoundTouch10, e.g, work with it?
as far as I understand itâs anyhow not yet available in the stable 2.1.0 OpenHAB but will be in 2.2.0. correct? Since I run the stable version of OpenHAB on my system I will anyhow have to wait for the 2.2.0 version and hopefully with that get the working binding.
Another question I have with it is: does it actually work as speaker for OpenHAB (i.e., can I also play sound files directly from, e.g., rules) or does OpenHAB only tell it âplay on Spotifyâ?
Thanks a lot for your great work and effort on this.
â I have similar issues.
I am using openHAB 2.1.0-1 (Release Build), and can control my bose ( sound touch 10 and SoundTouch Wireless Link Adapter), but Power button and volume just jumps back to âOFFâ while music is still playing.
Need your help for an issue. I use Sound Touch Binding for basic speaker control (on-off, mute, volume, Preset). It works pretty well except for the bunch of error I get in the log every time I send a command.
First question: Is the information on that link is still accurate?
For example, Player Control is defined as type String, but in my configuration I have to define it as type Player. If all this information is not accurate, I will need more info to fix the following error log:
sorry for taking so long, im currently very busy. But never the less iâve updated my soundtouch speakers today and resolved the issue with the âjumpingâ power button. Now it also displays and updates lots of status information again.
Thanks for the detailed feedback. The âCOULD NOT PARSE XML FROM STRINGâ was related to some changes in the XML structure brought by the latest firmware update. The basic things should be fixed in the latest version. (see previous post) Please give it a try.
Never the less iâm not 100% sure if everything works correct now⊠Feedback is appreciated
Thanks @marvkis. Works well. No more garbage in the log and âjumpingâ power is fix. Currently I canât change Preset anymore but I think itâs related to a number vs PRESET_x I must past to preset link. I will take a look at it, but for the moment, Iâm very happy with this version.
I just pushed a new version. Beside the âpresetâ thing there was a bug in xml generation that preventing the selected preset from coming active. It should work now with the latest version when sending a number to the âpresetâ channel. Depending on what version you had installed, it could be that the channels / things are in the old format (i.e. preset is defined as string) - the easiest would be to drop / delete the thing and rediscover itâŠ
On the openhab cli a smarthome send bosesoundtouch_device_<deviceId>_preset 2 should activate the stored presetâŠ
Thanks for the new version! Unfortunately, the ZoneAdd and ZoneRemove items I had in a previous version donât appear anymore when discovering the speakers as new thing. Also manual configuration in item file failed. However, I can find again the ZoneControl item, but it didnât work, though. See the following log snippet
there should be ZoneAdd and ZoneRemove with the latest version. ZoneControl is old and no longer supported.
I just double checked it here and it is working for meâŠ
Please double check the installed version and that there is no old version somewhere else: