Heos (Denon) support

As I perform more testing, I notice that although I define a group as (1,2,3), where 1 is the master, when I turn the group on in PaperUI, it does not always honor 1 as the master. Now I’m getting (3,2,1). This is counter to what @Wire82 described in his earlier post.

How does the OFFLINE detection work? I have multiple Denon HEOS devices at home and they are randomly marked ONLINE or OFFLINE - regardless of their actual state.

Specifically: I have a HEOS 7 setup as the HEOS Bridge. Through it, I have multiple players and groups available. One of them is a HEOS 3, which is currently listed as OFFLINE - although the Denon HEOS app on my smartphone lists it and I am even able to play music on it. Additionally, I am able to ping the device’s IP address. So from my point of view, this Thing as online and available as it gets.

Unfortunately it is still displayed as OFFLINE in OpenHAB. I have checked the IP address and serial number listed under the properties and they match my actual HEOS player. Besides the “have you tried turning it off and on again?”-approach, I haven’t tried much.

Oddly, my Inbox shows 3 new things, which have been discovered: My group of 2 HEOS 1 players and the corresponding players in that group - although I have already added them as a Thing. It does list the player which is shown as OFFLINE as ignored - if I add it, it is added with a lengthy ID (which is hexadecimal instead of decimal), and still shown as OFFLINE

Could you enable logging for org.openhab.binding.heos and give some information like which openHAB which binding version etc.

Do you have one HEOS bridge or multiple? Can you control the player from the OFFLINE thing and does that status give any complications? Can you compare (screenshot?) the details properties of the discovered but the previously ignored thing and the thing which appears OFFLINE?

Is there any way to send the play state stop to a heos device? I detected that when using tune-in to listen to some radio a “pause” is simply ignored (probably as it’s not possible to pause a stream, but only stop it). Unfortunately, the default openhab player has only play and pause, but no stop.

I tried it already by sending direct Heos CLI commands to the speaker, it works when I set the play state to stop instead of pause.

Is there any plan to offer something like that? Otherwise I would bypass the binding in this case with some custom solution.

The problem is that the framework does not support the concept STOP on controls.

The HEOS app also does some fancy things there, they do mention that in API documentation on page 7.

So in some cases, they use stop and in others they use pause. We could implement the same behaviour, following their example.

Edit: I have some initial setup to get the information, however, I did not yet switch my branch to the right repo :slight_smile:

Yes that was the idea to use in the binding internally stop/pause depending on the heos-scenario, while obviously it also has to be a pause in openhab, as they don’t support more.

Looking forward to the binding-update to test it :slight_smile:

What version are you running currently? Did you already upgrade to 3.x?

No still on 2.5.9. Too much stuff I’m experimenting with right now, so didn’t want to open another construction yard yet :wink:

I’m not at home so I cannot test it myself, but this might work :wink:

https://download.martinvw.nl/org.openhab.binding.heos-2.5.9-SNAPSHOT-STOP.jar

Hi,

just tested it and it seems to work, thanks a lot.

Hi,

Anyone else seeing these warnings after upgrading to OH3?

2021-01-12 11:56:33.857 [WARN ] [fig.discovery.DiscoveryResultBuilder] - Representation property 'serialNumber' of discovery result for thing 'heos:player:dcbc810e-ea46-16cb-0080-0005cd51ce40:1827671404' is missing in properties map. It has to be fixed by the bindings developer.
        at java.base/java.lang.Thread.getStackTrace(Thread.java:1607)
        at org.openhab.core.config.discovery.DiscoveryResultBuilder$1.run(DiscoveryResultBuilder.java:181)
        at org.openhab.core.config.discovery.DiscoveryResultBuilder$1.run(DiscoveryResultBuilder.java:1)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at org.openhab.core.config.discovery.DiscoveryResultBuilder.getStackTrace(DiscoveryResultBuilder.java:178)
        at org.openhab.core.config.discovery.DiscoveryResultBuilder.build(DiscoveryResultBuilder.java:157)
        at org.openhab.binding.heos.internal.discovery.HeosPlayerDiscovery.handleDiscoveredPlayers(HeosPlayerDiscovery.java:117)
        at org.openhab.binding.heos.internal.discovery.HeosPlayerDiscovery.scanForPlayers(HeosPlayerDiscovery.java:98)
        at org.openhab.binding.heos.internal.discovery.HeosPlayerDiscovery.startScan(HeosPlayerDiscovery.java:83)
        at org.openhab.binding.heos.internal.discovery.HeosPlayerDiscovery.scanForNewPlayers(HeosPlayerDiscovery.java:223)
        at org.openhab.binding.heos.internal.discovery.HeosPlayerDiscovery.playerChanged(HeosPlayerDiscovery.java:228)
        at java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:807)
        at org.openhab.binding.heos.internal.handler.HeosBridgeHandler.triggerPlayerDiscovery(HeosBridgeHandler.java:494)
        at org.openhab.binding.heos.internal.handler.HeosBridgeHandler.delayedInitialize(HeosBridgeHandler.java:168)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)

this happens every 2 hours for all my players and is glogging up my logfiles.

Hi @tsmit ,

I have the same issue and therefore I opened a Pull Reqeust to solve the issue.

The new version also adds support to use the Denon Home speakers as bridge.
You can download a testing version of the jar here:

It took some time, but I finally created a PR for this: [HEOS] Update pause/stop handling by martinvw · Pull Request #9941 · openhab/openhab-addons · GitHub

Hi community,

I have problem with Heos binding on OH3 (it goes on initializing mode after certain restart of binding - restart is necessary because otherwise it cannot be controlled via rules after approx. 4-5days) here is debug right after binding restart from karaf console:


==> /var/log/openhab/openhab.log <==

2021-07-06 21:46:19.375 [DEBUG] [nternal.handler.HeosThingBaseHandler] - Disposing this: org.openhab.binding.heos.internal.handler.HeosPlayerHandler@a9d16a

2021-07-06 21:46:19.376 [DEBUG] [s.internal.handler.HeosBridgeHandler] - Disposing child handler for: -186427363.

==> /var/log/openhab/events.log <==

2021-07-06 21:46:19.378 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'heos:player:5c9d2c0a-fc0b-1e31-0080-0005cdd33f6a:-186427363' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

==> /var/log/openhab/openhab.log <==

2021-07-06 21:46:19.389 [DEBUG] [l.discovery.HeosDiscoveryParticipant] - Found HEOS device with UID: heos:bridge:5c9d2c0a-fc0b-1e31-0080-0005cdd33f6a

==> /var/log/openhab/events.log <==

2021-07-06 21:46:19.394 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'heos:player:5c9d2c0a-fc0b-1e31-0080-0005cdd33f6a:-186427363' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING

==> /var/log/openhab/openhab.log <==

2021-07-06 21:46:19.396 [DEBUG] [nternal.handler.HeosThingBaseHandler] - Failed to set queue, rescheduling

java.net.SocketException: Broken pipe (Write failed)

	at java.net.SocketOutputStream.socketWrite0(Native Method) ~[?:?]

	at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[?:?]

	at java.net.SocketOutputStream.write(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.write(Unknown Source) ~[?:?]

	at org.apache.commons.net.telnet.Telnet._sendByte(Telnet.java:1037) ~[bundleFile:3.6]

	at org.apache.commons.net.telnet.TelnetOutputStream.write(TelnetOutputStream.java:101) ~[bundleFile:3.6]

	at java.io.DataOutputStream.writeBytes(Unknown Source) ~[?:?]

	at org.openhab.binding.heos.internal.resources.Telnet.sendClear(Telnet.java:122) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.Telnet.send(Telnet.java:104) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.HeosSendCommand.send(HeosSendCommand.java:43) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:155) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.fetchQueue(HeosFacade.java:108) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.getQueue(HeosFacade.java:88) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosThingBaseHandler.fetchQueueFromPlayer(HeosThingBaseHandler.java:443) [bundleFile:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]

	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]

	at java.lang.Thread.run(Unknown Source) [?:?]

2021-07-06 21:46:19.396 [DEBUG] [nternal.handler.HeosThingBaseHandler] - Failed to set favorites / playlists, rescheduling

java.net.SocketException: Broken pipe (Write failed)

	at java.net.SocketOutputStream.socketWrite0(Native Method) ~[?:?]

	at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[?:?]

	at java.net.SocketOutputStream.write(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.write(Unknown Source) ~[?:?]

	at org.apache.commons.net.telnet.Telnet._sendByte(Telnet.java:1037) ~[bundleFile:3.6]

	at org.apache.commons.net.telnet.TelnetOutputStream.write(TelnetOutputStream.java:101) ~[bundleFile:3.6]

	at java.io.DataOutputStream.writeBytes(Unknown Source) ~[?:?]

	at org.openhab.binding.heos.internal.resources.Telnet.sendClear(Telnet.java:122) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.Telnet.send(Telnet.java:104) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.HeosSendCommand.send(HeosSendCommand.java:43) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:155) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.browseSource(HeosFacade.java:321) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.getBrowseResults(HeosFacade.java:74) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.getFavorites(HeosFacade.java:61) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosThingBaseHandler.handleDynamicStatesSignedIn(HeosThingBaseHandler.java:192) [bundleFile:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]

	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]

	at java.lang.Thread.run(Unknown Source) [?:?]

2021-07-06 21:46:19.397 [DEBUG] [s.internal.handler.HeosPlayerHandler] - Failed to initialize, will try again

java.net.SocketException: Broken pipe (Write failed)

	at java.net.SocketOutputStream.socketWrite0(Native Method) ~[?:?]

	at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[?:?]

	at java.net.SocketOutputStream.write(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.write(Unknown Source) ~[?:?]

	at org.apache.commons.net.telnet.Telnet._sendByte(Telnet.java:1037) ~[bundleFile:3.6]

	at org.apache.commons.net.telnet.TelnetOutputStream.write(TelnetOutputStream.java:101) ~[bundleFile:3.6]

	at java.io.DataOutputStream.writeBytes(Unknown Source) ~[?:?]

	at org.openhab.binding.heos.internal.resources.Telnet.sendClear(Telnet.java:122) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.Telnet.send(Telnet.java:104) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.HeosSendCommand.send(HeosSendCommand.java:43) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:155) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:151) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.getPlayMode(HeosFacade.java:505) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosThingBaseHandler.refreshPlayState(HeosThingBaseHandler.java:333) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.refreshPlayState(HeosPlayerHandler.java:108) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.delayedInitialize(HeosPlayerHandler.java:88) [bundleFile:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]

	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]

	at java.lang.Thread.run(Unknown Source) [?:?]

2021-07-06 21:46:22.398 [DEBUG] [s.internal.handler.HeosPlayerHandler] - Failed to initialize, will try again

java.net.SocketException: Broken pipe (Write failed)

	at java.net.SocketOutputStream.socketWrite0(Native Method) ~[?:?]

	at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[?:?]

	at java.net.SocketOutputStream.write(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.write(Unknown Source) ~[?:?]

	at org.apache.commons.net.telnet.Telnet._sendByte(Telnet.java:1037) ~[bundleFile:3.6]

	at org.apache.commons.net.telnet.TelnetOutputStream.write(TelnetOutputStream.java:101) ~[bundleFile:3.6]

	at java.io.DataOutputStream.writeBytes(Unknown Source) ~[?:?]

	at org.openhab.binding.heos.internal.resources.Telnet.sendClear(Telnet.java:122) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.Telnet.send(Telnet.java:104) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.HeosSendCommand.send(HeosSendCommand.java:43) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:155) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:151) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.getPlayMode(HeosFacade.java:505) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosThingBaseHandler.refreshPlayState(HeosThingBaseHandler.java:333) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.refreshPlayState(HeosPlayerHandler.java:108) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.delayedInitialize(HeosPlayerHandler.java:88) [bundleFile:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]

	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]

	at java.lang.Thread.run(Unknown Source) [?:?]

2021-07-06 21:46:25.400 [DEBUG] [s.internal.handler.HeosPlayerHandler] - Failed to initialize, will try again

java.net.SocketException: Broken pipe (Write failed)

	at java.net.SocketOutputStream.socketWrite0(Native Method) ~[?:?]

	at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[?:?]

	at java.net.SocketOutputStream.write(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.write(Unknown Source) ~[?:?]

	at org.apache.commons.net.telnet.Telnet._sendByte(Telnet.java:1037) ~[bundleFile:3.6]

	at org.apache.commons.net.telnet.TelnetOutputStream.write(TelnetOutputStream.java:101) ~[bundleFile:3.6]

	at java.io.DataOutputStream.writeBytes(Unknown Source) ~[?:?]

	at org.openhab.binding.heos.internal.resources.Telnet.sendClear(Telnet.java:122) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.Telnet.send(Telnet.java:104) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.HeosSendCommand.send(HeosSendCommand.java:43) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:155) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:151) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.getPlayMode(HeosFacade.java:505) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosThingBaseHandler.refreshPlayState(HeosThingBaseHandler.java:333) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.refreshPlayState(HeosPlayerHandler.java:108) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.delayedInitialize(HeosPlayerHandler.java:88) [bundleFile:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]

	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]

	at java.lang.Thread.run(Unknown Source) [?:?]

2021-07-06 21:46:28.402 [DEBUG] [s.internal.handler.HeosPlayerHandler] - Failed to initialize, will try again

java.net.SocketException: Broken pipe (Write failed)

	at java.net.SocketOutputStream.socketWrite0(Native Method) ~[?:?]

	at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[?:?]

	at java.net.SocketOutputStream.write(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.write(Unknown Source) ~[?:?]

	at org.apache.commons.net.telnet.Telnet._sendByte(Telnet.java:1037) ~[bundleFile:3.6]

	at org.apache.commons.net.telnet.TelnetOutputStream.write(TelnetOutputStream.java:101) ~[bundleFile:3.6]

	at java.io.DataOutputStream.writeBytes(Unknown Source) ~[?:?]

	at org.openhab.binding.heos.internal.resources.Telnet.sendClear(Telnet.java:122) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.Telnet.send(Telnet.java:104) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.HeosSendCommand.send(HeosSendCommand.java:43) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:155) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:151) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.getPlayMode(HeosFacade.java:505) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosThingBaseHandler.refreshPlayState(HeosThingBaseHandler.java:333) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.refreshPlayState(HeosPlayerHandler.java:108) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.delayedInitialize(HeosPlayerHandler.java:88) [bundleFile:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]

	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]

	at java.lang.Thread.run(Unknown Source) [?:?]

2021-07-06 21:46:31.404 [DEBUG] [s.internal.handler.HeosPlayerHandler] - Failed to initialize, will try again

java.net.SocketException: Broken pipe (Write failed)

	at java.net.SocketOutputStream.socketWrite0(Native Method) ~[?:?]

	at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[?:?]

	at java.net.SocketOutputStream.write(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.write(Unknown Source) ~[?:?]

	at org.apache.commons.net.telnet.Telnet._sendByte(Telnet.java:1037) ~[bundleFile:3.6]

	at org.apache.commons.net.telnet.TelnetOutputStream.write(TelnetOutputStream.java:101) ~[bundleFile:3.6]

	at java.io.DataOutputStream.writeBytes(Unknown Source) ~[?:?]

	at org.openhab.binding.heos.internal.resources.Telnet.sendClear(Telnet.java:122) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.Telnet.send(Telnet.java:104) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.HeosSendCommand.send(HeosSendCommand.java:43) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:155) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:151) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.getPlayMode(HeosFacade.java:505) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosThingBaseHandler.refreshPlayState(HeosThingBaseHandler.java:333) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.refreshPlayState(HeosPlayerHandler.java:108) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.delayedInitialize(HeosPlayerHandler.java:88) [bundleFile:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]

	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]

	at java.lang.Thread.run(Unknown Source) [?:?]

2021-07-06 21:46:34.406 [DEBUG] [s.internal.handler.HeosPlayerHandler] - Failed to initialize, will try again

java.net.SocketException: Broken pipe (Write failed)

	at java.net.SocketOutputStream.socketWrite0(Native Method) ~[?:?]

	at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[?:?]

	at java.net.SocketOutputStream.write(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.write(Unknown Source) ~[?:?]

	at org.apache.commons.net.telnet.Telnet._sendByte(Telnet.java:1037) ~[bundleFile:3.6]

	at org.apache.commons.net.telnet.TelnetOutputStream.write(TelnetOutputStream.java:101) ~[bundleFile:3.6]

	at java.io.DataOutputStream.writeBytes(Unknown Source) ~[?:?]

	at org.openhab.binding.heos.internal.resources.Telnet.sendClear(Telnet.java:122) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.Telnet.send(Telnet.java:104) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.HeosSendCommand.send(HeosSendCommand.java:43) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:155) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:151) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.getPlayMode(HeosFacade.java:505) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosThingBaseHandler.refreshPlayState(HeosThingBaseHandler.java:333) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.refreshPlayState(HeosPlayerHandler.java:108) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.delayedInitialize(HeosPlayerHandler.java:88) [bundleFile:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]

	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]

	at java.lang.Thread.run(Unknown Source) [?:?]

2021-07-06 21:46:37.408 [DEBUG] [s.internal.handler.HeosPlayerHandler] - Failed to initialize, will try again

java.net.SocketException: Broken pipe (Write failed)

	at java.net.SocketOutputStream.socketWrite0(Native Method) ~[?:?]

	at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[?:?]

	at java.net.SocketOutputStream.write(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.write(Unknown Source) ~[?:?]

	at org.apache.commons.net.telnet.Telnet._sendByte(Telnet.java:1037) ~[bundleFile:3.6]

	at org.apache.commons.net.telnet.TelnetOutputStream.write(TelnetOutputStream.java:101) ~[bundleFile:3.6]

	at java.io.DataOutputStream.writeBytes(Unknown Source) ~[?:?]

	at org.openhab.binding.heos.internal.resources.Telnet.sendClear(Telnet.java:122) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.Telnet.send(Telnet.java:104) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.HeosSendCommand.send(HeosSendCommand.java:43) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:155) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:151) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.getPlayMode(HeosFacade.java:505) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosThingBaseHandler.refreshPlayState(HeosThingBaseHandler.java:333) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.refreshPlayState(HeosPlayerHandler.java:108) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.delayedInitialize(HeosPlayerHandler.java:88) [bundleFile:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]

	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]

	at java.lang.Thread.run(Unknown Source) [?:?]

2021-07-06 21:46:40.410 [DEBUG] [s.internal.handler.HeosPlayerHandler] - Failed to initialize, will try again

java.net.SocketException: Broken pipe (Write failed)

	at java.net.SocketOutputStream.socketWrite0(Native Method) ~[?:?]

	at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[?:?]

	at java.net.SocketOutputStream.write(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.write(Unknown Source) ~[?:?]

	at org.apache.commons.net.telnet.Telnet._sendByte(Telnet.java:1037) ~[bundleFile:3.6]

	at org.apache.commons.net.telnet.TelnetOutputStream.write(TelnetOutputStream.java:101) ~[bundleFile:3.6]

	at java.io.DataOutputStream.writeBytes(Unknown Source) ~[?:?]

	at org.openhab.binding.heos.internal.resources.Telnet.sendClear(Telnet.java:122) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.Telnet.send(Telnet.java:104) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.HeosSendCommand.send(HeosSendCommand.java:43) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:155) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:151) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.getPlayMode(HeosFacade.java:505) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosThingBaseHandler.refreshPlayState(HeosThingBaseHandler.java:333) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.refreshPlayState(HeosPlayerHandler.java:108) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.delayedInitialize(HeosPlayerHandler.java:88) [bundleFile:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]

	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]

	at java.lang.Thread.run(Unknown Source) [?:?]

2021-07-06 21:46:43.412 [DEBUG] [s.internal.handler.HeosPlayerHandler] - Failed to initialize, will try again

java.net.SocketException: Broken pipe (Write failed)

	at java.net.SocketOutputStream.socketWrite0(Native Method) ~[?:?]

	at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[?:?]

	at java.net.SocketOutputStream.write(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.write(Unknown Source) ~[?:?]

	at org.apache.commons.net.telnet.Telnet._sendByte(Telnet.java:1037) ~[bundleFile:3.6]

	at org.apache.commons.net.telnet.TelnetOutputStream.write(TelnetOutputStream.java:101) ~[bundleFile:3.6]

	at java.io.DataOutputStream.writeBytes(Unknown Source) ~[?:?]

	at org.openhab.binding.heos.internal.resources.Telnet.sendClear(Telnet.java:122) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.Telnet.send(Telnet.java:104) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.HeosSendCommand.send(HeosSendCommand.java:43) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:155) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:151) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.getPlayMode(HeosFacade.java:505) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosThingBaseHandler.refreshPlayState(HeosThingBaseHandler.java:333) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.refreshPlayState(HeosPlayerHandler.java:108) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.delayedInitialize(HeosPlayerHandler.java:88) [bundleFile:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]

	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]

	at java.lang.Thread.run(Unknown Source) [?:?]

2021-07-06 21:46:46.414 [DEBUG] [s.internal.handler.HeosPlayerHandler] - Failed to initialize, will try again

java.net.SocketException: Broken pipe (Write failed)

	at java.net.SocketOutputStream.socketWrite0(Native Method) ~[?:?]

	at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[?:?]

	at java.net.SocketOutputStream.write(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.write(Unknown Source) ~[?:?]

	at org.apache.commons.net.telnet.Telnet._sendByte(Telnet.java:1037) ~[bundleFile:3.6]

	at org.apache.commons.net.telnet.TelnetOutputStream.write(TelnetOutputStream.java:101) ~[bundleFile:3.6]

	at java.io.DataOutputStream.writeBytes(Unknown Source) ~[?:?]

	at org.openhab.binding.heos.internal.resources.Telnet.sendClear(Telnet.java:122) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.Telnet.send(Telnet.java:104) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.HeosSendCommand.send(HeosSendCommand.java:43) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:155) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:151) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.getPlayMode(HeosFacade.java:505) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosThingBaseHandler.refreshPlayState(HeosThingBaseHandler.java:333) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.refreshPlayState(HeosPlayerHandler.java:108) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.delayedInitialize(HeosPlayerHandler.java:88) [bundleFile:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]

	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]

	at java.lang.Thread.run(Unknown Source) [?:?]

2021-07-06 21:46:49.398 [DEBUG] [nternal.handler.HeosThingBaseHandler] - Failed to set favorites / playlists, rescheduling

java.net.SocketException: Broken pipe (Write failed)

	at java.net.SocketOutputStream.socketWrite0(Native Method) ~[?:?]

	at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[?:?]

	at java.net.SocketOutputStream.write(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.write(Unknown Source) ~[?:?]

	at org.apache.commons.net.telnet.Telnet._sendByte(Telnet.java:1037) ~[bundleFile:3.6]

	at org.apache.commons.net.telnet.TelnetOutputStream.write(TelnetOutputStream.java:101) ~[bundleFile:3.6]

	at java.io.DataOutputStream.writeBytes(Unknown Source) ~[?:?]

	at org.openhab.binding.heos.internal.resources.Telnet.sendClear(Telnet.java:122) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.Telnet.send(Telnet.java:104) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.HeosSendCommand.send(HeosSendCommand.java:43) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:155) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.browseSource(HeosFacade.java:321) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.getBrowseResults(HeosFacade.java:74) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.getFavorites(HeosFacade.java:61) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosThingBaseHandler.handleDynamicStatesSignedIn(HeosThingBaseHandler.java:192) [bundleFile:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]

	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]

	at java.lang.Thread.run(Unknown Source) [?:?]

2021-07-06 21:46:49.397 [DEBUG] [nternal.handler.HeosThingBaseHandler] - Failed to set queue, rescheduling

java.net.SocketException: Broken pipe (Write failed)

	at java.net.SocketOutputStream.socketWrite0(Native Method) ~[?:?]

	at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[?:?]

	at java.net.SocketOutputStream.write(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.write(Unknown Source) ~[?:?]

	at org.apache.commons.net.telnet.Telnet._sendByte(Telnet.java:1037) ~[bundleFile:3.6]

	at org.apache.commons.net.telnet.TelnetOutputStream.write(TelnetOutputStream.java:101) ~[bundleFile:3.6]

	at java.io.DataOutputStream.writeBytes(Unknown Source) ~[?:?]

	at org.openhab.binding.heos.internal.resources.Telnet.sendClear(Telnet.java:122) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.Telnet.send(Telnet.java:104) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.HeosSendCommand.send(HeosSendCommand.java:43) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:155) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.fetchQueue(HeosFacade.java:108) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.getQueue(HeosFacade.java:88) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosThingBaseHandler.fetchQueueFromPlayer(HeosThingBaseHandler.java:443) [bundleFile:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]

	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]

	at java.lang.Thread.run(Unknown Source) [?:?]

2021-07-06 21:46:49.415 [DEBUG] [s.internal.handler.HeosPlayerHandler] - Failed to initialize, will try again

java.net.SocketException: Broken pipe (Write failed)

	at java.net.SocketOutputStream.socketWrite0(Native Method) ~[?:?]

	at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[?:?]

	at java.net.SocketOutputStream.write(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.write(Unknown Source) ~[?:?]

	at org.apache.commons.net.telnet.Telnet._sendByte(Telnet.java:1037) ~[bundleFile:3.6]

	at org.apache.commons.net.telnet.TelnetOutputStream.write(TelnetOutputStream.java:101) ~[bundleFile:3.6]

	at java.io.DataOutputStream.writeBytes(Unknown Source) ~[?:?]

	at org.openhab.binding.heos.internal.resources.Telnet.sendClear(Telnet.java:122) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.Telnet.send(Telnet.java:104) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.HeosSendCommand.send(HeosSendCommand.java:43) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:155) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:151) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.getPlayMode(HeosFacade.java:505) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosThingBaseHandler.refreshPlayState(HeosThingBaseHandler.java:333) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.refreshPlayState(HeosPlayerHandler.java:108) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.delayedInitialize(HeosPlayerHandler.java:88) [bundleFile:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]

	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]

	at java.lang.Thread.run(Unknown Source) [?:?]

2021-07-06 21:46:52.417 [DEBUG] [s.internal.handler.HeosPlayerHandler] - Failed to initialize, will try again

java.net.SocketException: Broken pipe (Write failed)

	at java.net.SocketOutputStream.socketWrite0(Native Method) ~[?:?]

	at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[?:?]

	at java.net.SocketOutputStream.write(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.write(Unknown Source) ~[?:?]

	at org.apache.commons.net.telnet.Telnet._sendByte(Telnet.java:1037) ~[bundleFile:3.6]

	at org.apache.commons.net.telnet.TelnetOutputStream.write(TelnetOutputStream.java:101) ~[bundleFile:3.6]

	at java.io.DataOutputStream.writeBytes(Unknown Source) ~[?:?]

	at org.openhab.binding.heos.internal.resources.Telnet.sendClear(Telnet.java:122) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.Telnet.send(Telnet.java:104) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.HeosSendCommand.send(HeosSendCommand.java:43) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:155) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:151) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.getPlayMode(HeosFacade.java:505) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosThingBaseHandler.refreshPlayState(HeosThingBaseHandler.java:333) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.refreshPlayState(HeosPlayerHandler.java:108) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.delayedInitialize(HeosPlayerHandler.java:88) [bundleFile:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]

	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]

	at java.lang.Thread.run(Unknown Source) [?:?]

2021-07-06 21:46:55.419 [DEBUG] [s.internal.handler.HeosPlayerHandler] - Failed to initialize, will try again

java.net.SocketException: Broken pipe (Write failed)

	at java.net.SocketOutputStream.socketWrite0(Native Method) ~[?:?]

	at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[?:?]

	at java.net.SocketOutputStream.write(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.write(Unknown Source) ~[?:?]

	at org.apache.commons.net.telnet.Telnet._sendByte(Telnet.java:1037) ~[bundleFile:3.6]

	at org.apache.commons.net.telnet.TelnetOutputStream.write(TelnetOutputStream.java:101) ~[bundleFile:3.6]

	at java.io.DataOutputStream.writeBytes(Unknown Source) ~[?:?]

	at org.openhab.binding.heos.internal.resources.Telnet.sendClear(Telnet.java:122) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.Telnet.send(Telnet.java:104) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.HeosSendCommand.send(HeosSendCommand.java:43) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:155) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:151) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.getPlayMode(HeosFacade.java:505) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosThingBaseHandler.refreshPlayState(HeosThingBaseHandler.java:333) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.refreshPlayState(HeosPlayerHandler.java:108) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.delayedInitialize(HeosPlayerHandler.java:88) [bundleFile:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]

	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]

	at java.lang.Thread.run(Unknown Source) [?:?]

2021-07-06 21:46:58.420 [DEBUG] [s.internal.handler.HeosPlayerHandler] - Failed to initialize, will try again

java.net.SocketException: Broken pipe (Write failed)

	at java.net.SocketOutputStream.socketWrite0(Native Method) ~[?:?]

	at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[?:?]

	at java.net.SocketOutputStream.write(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[?:?]

	at java.io.BufferedOutputStream.write(Unknown Source) ~[?:?]

	at org.apache.commons.net.telnet.Telnet._sendByte(Telnet.java:1037) ~[bundleFile:3.6]

	at org.apache.commons.net.telnet.TelnetOutputStream.write(TelnetOutputStream.java:101) ~[bundleFile:3.6]

	at java.io.DataOutputStream.writeBytes(Unknown Source) ~[?:?]

	at org.openhab.binding.heos.internal.resources.Telnet.sendClear(Telnet.java:122) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.Telnet.send(Telnet.java:104) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.resources.HeosSendCommand.send(HeosSendCommand.java:43) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:155) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosSystem.send(HeosSystem.java:151) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.api.HeosFacade.getPlayMode(HeosFacade.java:505) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosThingBaseHandler.refreshPlayState(HeosThingBaseHandler.java:333) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.refreshPlayState(HeosPlayerHandler.java:108) ~[bundleFile:?]

	at org.openhab.binding.heos.internal.handler.HeosPlayerHandler.delayedInitialize(HeosPlayerHandler.java:88) [bundleFile:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]

	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]

	at java.lang.Thread.run(Unknown Source) [?:?]

Could anyone give me some hint?

@Kai @martinvw

This problem makes heos binding totally unreliable in my case.

See if this discussion is related to what you are seeing: DenonMarantz Binding broken after update to OH3.1

Im currently running OH 2.5.10 with the Heos Binding. It sort of works, as I can control my players, but the information isn’t updated untill I press the update button near the cover picture (Then everything is updated).

Any clues as to what I’m missing here for it to update automatically?

Also it would seem that changes made directly on my players does not reflect back to OH. That cannot be correct, I must have done something wrong :sweat_smile:

Hello @quarku,

If I read correctly I see two issues;

  1. After a couple of days rules are not responding. What do you mean are they not being triggered are the rules not executed what kind of rules are there, is this reproducible in any way?

  2. Do I understand correctly that you restart the binding via the karaf console or a similar way. Does it always become unresponsive after that? That sounds like something that could be reproduced, I will try to make some time for that later this month. If you could enable some debug/trace logging that could maybe already provide some further insight.

Thanks and let me know when you have more information.

Which UI are you using, could maybe re related to that.

Hi

Just a tiny observation.

My original HEOS account password contained a special character. A ! to be exact.

On both OH2.5.12 and OH3.1 I just could not get the binding to work.

I’ve removed the ! from the password and it’s all working perfectly now.