Heos (Denon) support

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.

I would like to ask if there is possibility to choose between the stream-quality during internet radio streaming?
When using the HEOS App on my mobile there is the possibility to select between e.g. 64kbps AAC and 192 kbps MP3 (depending on the station you choose).
Because I am interested to have the stream with highest quality I searched the log for infos but was unable to find a way to select one dedicated stream within a station.
Any ideas? :slight_smile:

I am trying to play an input on a player / group from another player.

In telnet this works very easily by
heos://browse/play_input?pid=destination_player_id&spid=source_player_id&input=input_name
in my case
heos://browse/play_input?pid=-637645083&spid=-700233418&input=inputs/tvaudio

However, in the OpenHAB implementation it seems rather than providing two arguments I must select the source player first and this part isnā€™t very clear to me based on the documentation (Denon HEOS - Bindings | openHAB) and a review of the code (openhab-addons/HeosChannelHandlerPlayerSelect.java at da59cdd255a66275dd7ae11dd294fedca4942d30 Ā· openhab/openhab-addons Ā· GitHub)

My configuration is below. Itā€™s possible the Switch I have defined to select the player Stereo_Bridge_Play_HomeTheater is the issue. The documentation is not clear on how the channel should be formatted. Itā€™s a dynamic channel that doesnā€™t show up in the list?

//Things

Bridge heos:bridge:stereo "Stereo Bridge" [ipAddress="***", username="***", password="***"] {
	player HomeTheater "Home Theater HEOS" @ "Living Room" [pid="-700233418"]
	player Stereo "Dining Room Audio" @ "Dining Room" [pid="-637645083"]
	player Bathroom1 "Bathroom 1 Audio" @ "Bathrooms" [pid="2031339832"]
	player Bathroom2 "Bathroom 2 Audio" @ "Bathrooms" [pid="2049786667"]
	player Bedroom "Bedroom Audio" @ "Bedroom" [pid="813510275"]
	group WholeApartment "Whole Apartment Audio" @ "Audio Control" [members="-637645083;-700233418;2049786667;2031339832;813510275"]
}


//Items

Switch Stereo_Bridge_Play_HomeTheater            {channel="heos:bridge:stereo:P-700233418"}
String Stereo_Bridge_Inputs	                     {channel="heos:group:stereo:WholeApartment:Inputs"}


//Rules

sendCommand(Stereo_Bridge_Play_HomeTheater, ON)
sendCommand(Stereo_Bridge_Inputs, "tvaudio")
sendCommand(Stereo_Bridge_Play_HomeTheater, OFF)

Log

2022-01-06 15:23:36.871 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Stereo_Bridge_Play_HomeTheater' received command ON

2022-01-06 15:23:36.873 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Stereo_Bridge_Play_HomeTheater' predicted to become NULL

That could make a lot of sense, however searching on some quick key words I could not find anything in the CLI spec, maybe you can find it: file:///Users/martinvw/Downloads/heos_cli_protocolspecification-version.pdf

@kgifford did you check this section of the README yet: org.openhab.binding.heos/README.md at master Ā· Wire82/org.openhab.binding.heos Ā· GitHub

@martinvw thank you yes thatā€™s the documentation I have been referencing.

It isnā€™t clear how the channel used on the switch is defined as itā€™s not mentioned anywhere else in the docs
{channel="heos:bridge:ed0ac1ff-0193-65c6-c1b8-506137456a50:P918797451"}

In my case my bridge is heos:bridge:stereo so how should I format the channel to select the other player?

Iā€™m happy to add more detail to that page once I get this working.

Iā€™m really sorry, responded a bit to fast.

Note however that you are looking at the wrong/old documentation, the correct one is at: Denon HEOS - Bindings | openHAB (Note that I requested to take the old one OFFLINE, see #1724

I just found that there is another feature, which I added, so there are two paths that should work:

  1. your path, I do believe we need more logging, you are now tailing the events but most likely you should enable DEBUG logging for org,openhab.binding.rfxcom and inspect the openhab.log

For the rest it looks more or less as expected, however, it might be worth looking at the thing action below.

  1. using thing actions, see Denon HEOS - Bindings | openHAB

Thanks a lot for this. Confirming that playInputFromPlayer(sourcePlayer, sourceInput, destination) works perfectly!

I have 15 mutually exclusive HEOS groups defined. I am trying to use the group thing status with rules to keep track of which group is active. Since the groups are mutually exclusive, it means I have 14 ā€œDISABLEDā€ group things and 1 ā€œONLINEā€ group thing at any time. When I change the active group via the HEOS mobile app, multiple and sometimes all of the ā€œDISABLEDā€ groups immediately change their status to ā€œONLINEā€, then one by one change their status back to ā€œDISABLEDā€ until only the newly activated group remains ā€œONLINEā€. This process takes about 15 seconds to complete. This behavior is undesirable because I am getting false status changes in the rules. Is this intended behavior? Is there something I can do to prevent this from happening?

Some debug logging would be useful to trace this down, could you provided me that, so from approximately 5 seconds before it goes wrong to the time it all settles down again.

Thanks

Since i updatet to MS3 i have after a couple weeks running problem with heos binding. after a reboot everything worked

i tried now to debug and deinstalled the binding, deletet every things, cleared cache, rebootet and tried to start again

whery strange, after installing Heos binding i can discover the bridges and i see only 1 bridge which is discovered (i have 8 heos products in the network), but only my link is discovered as a bridge

after adding this link to the bridge i always see the error no login / password.

after putting my heos account credentials in i get a new error:

2022-04-24 12:49:24.883 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'heos:bridge:bbcc9637-9fae-1a88-0080-0005cd3ca7ec-z' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE

2022-04-24 12:49:24.897 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'heos:bridge:bbcc9637-9fae-1a88-0080-0005cd3ca7ec-z' changed from ONLINE to ONLINE (CONFIGURATION_ERROR): #7: Command Could Not Be Executed

2022-04-24 12:49:40.925 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'heos:bridge:bbcc9637-9fae-1a88-0080-0005cd3ca7ec-z' changed from ONLINE (CONFIGURATION_ERROR): #7: Command Could Not Be Executed to OFFLINE (COMMUNICATION_ERROR)

and keep repeating in the logs, i also cannot discover more playersā€¦always this error and nothing works
i donā€™t know what to do, as i have the newest updates on openhab and reinstalled the binding :frowning:

thanks for any tips / helps

1 Like

does it work everywhere or does somebody have a tip for me?