Russound RIO

Unfortunately I’m heading out of town right now - I’ll try to post the zip containing everything sunday night or monday…

I’ve attached a zip file to the PR-1250 that contains the binding jar and the README on how to set it up. Please give it a try and I’d love to hear any comments back (either technically or about the documentation itself)

There is no auto discovery so you’ll need to set it up manually (a bit of a pain but read the README - hopefully it’s clear). While russound doesn’t have a discovery process, I might have a way to still detect it - could you see if the hostname of “http://mca88 or http://mca88x or even http://mca-88” get’s you to the MCA information page? If it does, I may be able to create an discovery process based on common host names (“mcac5” get’s me to mine - but I can’t remember if I set that up manually or not).

Got It! This is awesome!!! Okey Don’T know where to start. This weekend, I will first try basic fonction like volume, source selection, partymode, etc… Unfortunately I can’t try sources functionality because no rio compatible sources are connected to the testing controller. As for favorite and preset fonction, I will work hard to understand the concept of using this, to try it out with this binding! Btw, I think hostname shoud be something like http://MCA88-xxxxxx, the testing controller is http://MCA88-00797F

Thanks for your work!!! :smiley:

Wow - they eliminated the internal AM/FM tuner on MCA88! Yes - you won’t be able to test sources well (nor banks/presets because those are tuner specific) and favorites will be of very, very limited use if at all (they really only shine with sources).

As for the hostname - darn. Was hoping that I could simply try to connect to “mca88” to find it. Looks like they attached some type of serial or something which makes that approach useless.

Let me know how the testing goes

In fact the AM/FM tuner is replace by a bluetooth connection for the BTC-1X bluetooth receiver. Also there is a recent new update, that allow the build in, internet streaming capability, for Pandora, Spotify, tuneIn, Vtunner. So I should be able to test more functionality than I thought. I’m new to openhab2 and russound stuff, so it will take some time to test it all. For now I’v build an openhab2 instance and I’v try the binding on it using this config:
Russound.things

russound:rio:home [ ipAddress="192.168.11.74", ping=30, retryPolling=10 ]
russound:controller:1 (russound:rio:home) [ controller=1 ]
russound:source:1 (russound:rio:home) [ source=1 ]
russound:source:2 (russound:rio:home) [ source=2 ]
russound:source:3 (russound:rio:home) [ source=3 ]
russound:source:4 (russound:rio:home) [ source=4 ]
russound:bank:1 (russound:source:1) [ bank=1 ]
russound:bankpreset:1 (russound:bank:1) [ preset=1 ]
russound:bankpreset:2 (russound:bank:1) [ preset=2 ]
russound:zone:1  (russound:controller:1) [ zone=1 ]
russound:zone:2  (russound:controller:1) [ zone=2 ]
russound:zone:3  (russound:controller:1) [ zone=3 ]
russound:zone:4  (russound:controller:1) [ zone=4 ]

Russound.items

String Rio_Version "Version [%s]" { channel="russound:rio:home:version" }
String Rio_Lang "Language [%s]" { channel="russound:rio:home:lang" }
Switch Rio_Status "Status [%s]" { channel="russound:rio:home:status" }
Switch Rio_AllOn "All Zones" { channel="russound:rio:home:allon" }
String Rio_Ctl_Type "Model [%s]" { channel="russound:controller:1:type" }
String Rio_Ctl_IPAddress "IP Address [%s]" { channel="russound:controller:1:ipaddress" }
String Rio_Ctl_MacAddress "MAC [%s]" { channel="russound:controller:1:macaddress" }
String Rio_Source1_name //Channel linked using PaperUI 
String Rio_Source1_type //Channel linked using PaperUI
String Rio_Source2_name //Channel linked using PaperUI
String Rio_Source2_type //Channel linked using PaperUI
String Rio_Source3_name //Channel linked using PaperUI
String Rio_Source3_type //Channel linked using PaperUI
String Rio_Source4_name //Channel linked using PaperUI
String Rio_Source4_type //Channel linked using PaperUI

default.sitemap

			Frame label=Test {
				Switch item=Rio_AllOn
				Switch item=Rio_Status
				Text item=Rio_Version
				Text item=Rio_Lang
				Text item=Rio_Ctl_Type
				Text item=Rio_Ctl_IPAddress
				Text item=Rio_Ctl_MacAddress
				Text item=Rio_Source1_name
				Text item=Rio_Source1_type
				Text item=Rio_Source2_name
				Text item=Rio_Source2_type
				Text item=Rio_Source3_name
				Text item=Rio_Source3_type
				Text item=Rio_Source4_name
				Text item=Rio_Source4_type
			}

When starting openhab2, there is some error message, but seem to connect fine. But Russound item does not receive update, so there is no data show on ClasicUI…

Here is the log at startup:


15:34:56.144 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:bankpreset:1' changed from UNINITIALIZED to INITIALIZING
15:34:56.150 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:bankpreset:1' changed from INITIALIZING to UNINITIALIZED (HANDLER_INITIALIZING_ERROR): org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge
15:34:56.137 [ERROR] [ome.core.thing.internal.ThingManager] - Exception occured while initializing handler of thing 'russound:bankpreset:1': java.lang.ClassCastException: org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge
java.util.concurrent.ExecutionException: java.lang.ClassCastException: org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)[:1.8.0_65]
	at java.util.concurrent.FutureTask.get(FutureTask.java:206)[:1.8.0_65]
	at org.eclipse.smarthome.core.common.SafeMethodCaller.callAsynchronous(SafeMethodCaller.java:186)[96:org.eclipse.smarthome.core:0.9.0.b1]
	at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:79)[96:org.eclipse.smarthome.core:0.9.0.b1]
	at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:63)[96:org.eclipse.smarthome.core:0.9.0.b1]
	at org.eclipse.smarthome.core.thing.internal.ThingManager$9.run(ThingManager.java:752)[102:org.eclipse.smarthome.core.thing:0.9.0.b1]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_65]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_65]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_65]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_65]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_65]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_65]
	at java.lang.Thread.run(Thread.java:745)[:1.8.0_65]
Caused by: java.lang.ClassCastException: org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge
	at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.getBridge(BaseThingHandler.java:498)[102:org.eclipse.smarthome.core.thing:0.9.0.b1]
	at org.openhab.binding.russound.rio.preset.RioPresetHandler.initialize(RioPresetHandler.java:128)[207:org.openhab.binding.russound:2.0.0.201609261205]
	at org.eclipse.smarthome.core.thing.internal.ThingManager$9$1.call(ThingManager.java:755)[102:org.eclipse.smarthome.core.thing:0.9.0.b1]
	at org.eclipse.smarthome.core.thing.internal.ThingManager$9$1.call(ThingManager.java:1)[102:org.eclipse.smarthome.core.thing:0.9.0.b1]
	at org.eclipse.smarthome.core.common.SafeMethodCaller$CallableWrapper.call(SafeMethodCaller.java:177)[96:org.eclipse.smarthome.core:0.9.0.b1]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_65]
	... 3 more
15:34:56.169 [ERROR] [ome.core.thing.internal.ThingManager] - Exception occured while initializing handler of thing 'russound:bankpreset:2': java.lang.ClassCastException: org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge
java.util.concurrent.ExecutionException: java.lang.ClassCastException: org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)[:1.8.0_65]
	at java.util.concurrent.FutureTask.get(FutureTask.java:206)[:1.8.0_65]
	at org.eclipse.smarthome.core.common.SafeMethodCaller.callAsynchronous(SafeMethodCaller.java:186)[96:org.eclipse.smarthome.core:0.9.0.b1]
	at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:79)[96:org.eclipse.smarthome.core:0.9.0.b1]
	at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:63)[96:org.eclipse.smarthome.core:0.9.0.b1]
	at org.eclipse.smarthome.core.thing.internal.ThingManager$9.run(ThingManager.java:752)[102:org.eclipse.smarthome.core.thing:0.9.0.b1]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_65]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_65]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_65]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_65]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_65]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_65]
	at java.lang.Thread.run(Thread.java:745)[:1.8.0_65]
Caused by: java.lang.ClassCastException: org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge
	at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.getBridge(BaseThingHandler.java:498)[102:org.eclipse.smarthome.core.thing:0.9.0.b1]
	at org.openhab.binding.russound.rio.preset.RioPresetHandler.initialize(RioPresetHandler.java:128)[207:org.openhab.binding.russound:2.0.0.201609261205]
	at org.eclipse.smarthome.core.thing.internal.ThingManager$9$1.call(ThingManager.java:755)[102:org.eclipse.smarthome.core.thing:0.9.0.b1]
	at org.eclipse.smarthome.core.thing.internal.ThingManager$9$1.call(ThingManager.java:1)[102:org.eclipse.smarthome.core.thing:0.9.0.b1]
	at org.eclipse.smarthome.core.common.SafeMethodCaller$CallableWrapper.call(SafeMethodCaller.java:177)[96:org.eclipse.smarthome.core:0.9.0.b1]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_65]
	... 3 more
15:34:56.176 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:bankpreset:2' changed from INITIALIZING to UNINITIALIZED (HANDLER_INITIALIZING_ERROR): org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge
15:34:56.177 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:bankpreset:2' changed from UNINITIALIZED to INITIALIZING
15:34:56.582 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:rio:home' changed from UNINITIALIZED (HANDLER_REGISTERING_ERROR): org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge to INITIALIZING
15:34:56.610 [INFO ] [smarthome.event.ThingUpdatedEvent   ] - Thing 'russound:rio:home' has been updated.
15:34:56.640 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:controller:1' changed from UNINITIALIZED (HANDLER_REGISTERING_ERROR): org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge to INITIALIZING
15:34:56.654 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:controller:1' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE)
15:34:56.655 [INFO ] [smarthome.event.ThingUpdatedEvent   ] - Thing 'russound:controller:1' has been updated.
15:34:56.687 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:1' changed from UNINITIALIZED (HANDLER_REGISTERING_ERROR): org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge to INITIALIZING
15:34:56.689 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:1' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE)
15:34:56.703 [INFO ] [smarthome.event.ThingUpdatedEvent   ] - Thing 'russound:source:1' has been updated.
15:34:56.726 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:2' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE)
15:34:56.741 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:2' changed from UNINITIALIZED (HANDLER_REGISTERING_ERROR): org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge to INITIALIZING
15:34:56.742 [INFO ] [smarthome.event.ThingUpdatedEvent   ] - Thing 'russound:source:2' has been updated.
15:34:56.769 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:3' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE)
15:34:56.769 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:3' changed from UNINITIALIZED (HANDLER_REGISTERING_ERROR): org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge to INITIALIZING
15:34:56.789 [INFO ] [smarthome.event.ThingUpdatedEvent   ] - Thing 'russound:source:3' has been updated.
15:34:56.810 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:4' changed from UNINITIALIZED (HANDLER_REGISTERING_ERROR): org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge to INITIALIZING
15:34:56.813 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:4' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE)
15:34:56.871 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:bank:1' changed from UNINITIALIZED (HANDLER_REGISTERING_ERROR): org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge to INITIALIZING
15:34:56.873 [INFO ] [smarthome.event.ThingUpdatedEvent   ] - Thing 'russound:source:4' has been updated.
15:34:56.885 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:bank:1' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE)
15:34:56.891 [INFO ] [smarthome.event.ThingUpdatedEvent   ] - Thing 'russound:bank:1' has been updated.
15:34:56.894 [INFO ] [smarthome.event.ThingUpdatedEvent   ] - Thing 'russound:bankpreset:1' has been updated.
15:34:56.896 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:bankpreset:1' changed from UNINITIALIZED (HANDLER_INITIALIZING_ERROR): org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge to OFFLINE (BRIDGE_OFFLINE)
15:34:56.897 [INFO ] [smarthome.event.ThingUpdatedEvent   ] - Thing 'russound:bankpreset:2' has been updated.
15:34:56.902 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:bankpreset:2' changed from UNINITIALIZED (HANDLER_INITIALIZING_ERROR): org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge to OFFLINE (BRIDGE_OFFLINE)
15:34:56.919 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:1' changed from UNINITIALIZED (HANDLER_REGISTERING_ERROR): org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge to INITIALIZING
15:34:56.924 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:1' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE)
15:34:56.948 [INFO ] [smarthome.event.ThingUpdatedEvent   ] - Thing 'russound:zone:1' has been updated.
15:34:56.975 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:2' changed from UNINITIALIZED (HANDLER_REGISTERING_ERROR): org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge to INITIALIZING
15:34:56.980 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:2' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE)
15:34:56.990 [INFO ] [smarthome.event.ThingUpdatedEvent   ] - Thing 'russound:zone:2' has been updated.
15:34:57.021 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:3' changed from UNINITIALIZED (HANDLER_REGISTERING_ERROR): org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge to INITIALIZING
15:34:57.022 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:3' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE)
15:34:57.034 [INFO ] [smarthome.event.ThingUpdatedEvent   ] - Thing 'russound:zone:3' has been updated.
15:34:57.062 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:4' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE)
15:34:57.064 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:4' changed from UNINITIALIZED (HANDLER_REGISTERING_ERROR): org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge to INITIALIZING
15:34:57.078 [INFO ] [smarthome.event.ThingUpdatedEvent   ] - Thing 'russound:zone:4' has been updated.
15:34:57.660 [INFO ] [ussound.rio.system.RioSystemProtocol] - Russound System now connected
15:34:57.674 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:rio:home' changed from INITIALIZING to ONLINE
15:34:57.697 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:1' changed from OFFLINE (BRIDGE_OFFLINE) to OFFLINE
15:34:57.708 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:3' changed from OFFLINE (BRIDGE_OFFLINE) to OFFLINE
15:34:57.720 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:controller:1' changed from OFFLINE to ONLINE
15:34:57.727 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:1' changed from OFFLINE (BRIDGE_OFFLINE) to OFFLINE
15:34:57.733 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:2' changed from OFFLINE (BRIDGE_OFFLINE) to OFFLINE
15:34:57.738 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:2' changed from OFFLINE (BRIDGE_OFFLINE) to OFFLINE
15:34:57.739 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:4' changed from OFFLINE to ONLINE
15:34:57.742 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:4' changed from OFFLINE (BRIDGE_OFFLINE) to OFFLINE
15:34:57.753 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:3' changed from OFFLINE (BRIDGE_OFFLINE) to OFFLINE
15:34:57.754 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:controller:1' changed from OFFLINE (BRIDGE_OFFLINE) to OFFLINE
15:34:57.765 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:2' changed from OFFLINE to ONLINE
15:34:57.768 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:4' changed from OFFLINE (BRIDGE_OFFLINE) to OFFLINE
15:34:57.776 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:4' changed from OFFLINE to ONLINE
15:34:57.787 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:3' changed from OFFLINE to ONLINE
15:34:57.789 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:1' changed from OFFLINE to ONLINE
15:34:57.796 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:bank:1' changed from OFFLINE (BRIDGE_OFFLINE) to OFFLINE
15:34:57.796 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:2' changed from OFFLINE to ONLINE
15:34:57.801 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:bank:1' changed from OFFLINE to ONLINE
15:34:57.803 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:bankpreset:1' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
15:34:57.811 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:1' changed from OFFLINE to ONLINE
15:34:57.812 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:3' changed from OFFLINE to ONLINE
15:34:57.818 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:bankpreset:2' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE

One thing to note is that the controller is not on site, but is linked through a VPN, so maybe it can cause some error, I will test it on site later. Quick question… Should I create a russound.cfg config file?
Hope it’s helping. :confused:

Tom

I just posted a new zip file - could you give it a try (has a bunch of changes - but doubt any will address what you are seeing). Are you using openhab2 b4? I set up the items you posted and did not receive that (really weird) exception you see in the log file. If you’re not on b4 - please give it a try. Either way - let me know any results with the new file

Interesting - after doing a restart (for something else), I received those messages. Don’t bother with that jar file until I’ve tracked down what’s going on…

Tom,

I’ve posted a new ZIP file at PR-1250 that contains some bug fixes and some new channels. If you would, download and use that one.

As to the issue you posted - it appears to be an issue in the OpenHAB2 B4 build. If you get the latest nightly build, the issue should be fixed.

Tim

Hi Tim!
I’m now up and running on latest snapshot of openhab2/Russound binding, and i get the same error in log. It’s seem to me like if the things, try to connect the bridge, before the bridges are online. But like I said, I’m linked through a VPN… I will try onsite later, maybe next weekend. In the meantime, make sure that you use the latest rio api documentation, cause the Rio protocol has been updated to version 1.10 two mouths ago. I will post you the latest documentation on your PR on git. Some news fonctions as been added, and news media streamer definitions.
Keep in touch!
Tom

I’m assuming you are running with the latest jar? The error you are seeing is that OpenHAB is trying to pass a Thing (class) to a Bridge when it expects a Bridge (class). That’s the issue.

Give this a try however - get rid of your things file and try to define it directly from the PaperUI (bit of a pain - make sure you always set the parent bridge on each thing). Be interested if the paperui thing setup get’s around the issue.

Thanks for the notification of 1.10 - when I started this they were only on 1.8. There are a few new things I can add (zone mute!, setting system favorite names and a few odds/ends) - I don’t see anything about news functions? (point me to the page you saw). If it’s part of the media management api - I don’t support that at all - too dynamic for openhab I’m afraid.

Yes I was using the latest jar. And yes, using PaperUI to setup things get’s around issue! Sorry for my bad English, I should have said news features, not functions, It’ confusing, specially for a developer. I was taking about zone mute!, media streamer (p.23,24) and probably other changes. Nice work! :smiley:

Good to hear it worked! I had a feeling you meant features but I wanted to make sure I didn’t overlook anything. Once I’m done with the Sony changes, I’ll swing back around to this and add those. Please let me know if you encounter any other issues.

Hi Tim!
I finally get my hands on a MCA88. Now that I’m use to openhab 2, I can confirm there is a problem receiving any status update, and none of the commands works. However, the binding seems to connect successfully to the MCA. Here is the log, with debugging enabled, went I restart the binding.

14:58:01.203 [DEBUG] [org.openhab.binding.russound        ] - ServiceEvent UNREGISTERING - {org.eclipse.smarthome.core.thing.binding.ThingHandlerFactory}={component.name=binding.russound, component.id=14, service.id=113, service.bundleid=10, service.scope=bundle} - org.openhab.binding.russound
14:58:01.233 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:6' changed from ONLINE to UNINITIALIZED (HANDLER_MISSING_ERROR)
14:58:01.236 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH C[1].Z[6] OFF'
14:58:01.247 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH C[1].Z[5] OFF'
14:58:01.251 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:5' changed from ONLINE to UNINITIALIZED (HANDLER_MISSING_ERROR)
14:58:01.253 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH C[1].Z[3] OFF'
14:58:01.256 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:3' changed from ONLINE to UNINITIALIZED (HANDLER_MISSING_ERROR)
14:58:01.266 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH C[1].Z[4] OFF'
14:58:01.269 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:4' changed from ONLINE to UNINITIALIZED (HANDLER_MISSING_ERROR)
14:58:01.279 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:5' changed from OFFLINE (CONFIGURATION_ERROR): Cannot be initialized without a bridge to UNINITIALIZED (HANDLER_MISSING_ERROR)
14:58:01.284 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH S[4] OFF'
14:58:01.285 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:4' changed from ONLINE to UNINITIALIZED (HANDLER_MISSING_ERROR)
14:58:01.306 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH C[1].Z[1] OFF'
14:58:01.307 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:1' changed from ONLINE to UNINITIALIZED (HANDLER_MISSING_ERROR)
14:58:01.313 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH C[1].Z[2] OFF'
14:58:01.315 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:2' changed from ONLINE to UNINITIALIZED (HANDLER_MISSING_ERROR)
14:58:01.320 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:controller:main' changed from ONLINE to UNINITIALIZED (HANDLER_MISSING_ERROR)
14:58:01.324 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH S[3] OFF'
14:58:01.325 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:3' changed from ONLINE to UNINITIALIZED (HANDLER_MISSING_ERROR)
14:58:01.336 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH S[2] OFF'
14:58:01.336 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:2' changed from ONLINE to UNINITIALIZED (HANDLER_MISSING_ERROR)
14:58:01.353 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH S[1] OFF'
14:58:01.353 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:1' changed from ONLINE to UNINITIALIZED (HANDLER_MISSING_ERROR)
14:58:01.378 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:rio:main' changed from ONLINE to UNINITIALIZED (HANDLER_MISSING_ERROR)
14:58:01.379 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH SYSTEM OFF'
14:58:01.380 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH SYSTEM OFF'
14:58:01.384 [DEBUG] [.russound.internal.net.SocketSession] - Disconnecting from 192.168.11.74:9621
14:58:02.095 [DEBUG] [org.openhab.binding.russound        ] - BundleEvent STOPPING - org.openhab.binding.russound
14:58:02.108 [DEBUG] [org.openhab.binding.russound        ] - BundleEvent STOPPED - org.openhab.binding.russound
14:58:02.114 [DEBUG] [org.openhab.binding.russound        ] - BundleEvent STARTING - org.openhab.binding.russound
14:58:02.151 [DEBUG] [org.openhab.binding.russound        ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.core.thing.binding.ThingHandlerFactory}={component.name=binding.russound, component.id=198, service.id=331, service.bundleid=10, service.scope=bundle} - org.openhab.binding.russound
14:58:02.206 [DEBUG] [org.openhab.binding.russound        ] - BundleEvent STARTED - org.openhab.binding.russound
14:58:02.481 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:rio:main' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
14:58:02.497 [DEBUG] [russound.rio.source.RioSourceHandler] - Initializing
14:58:02.499 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:5' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
14:58:02.537 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:5' changed from INITIALIZING to OFFLINE (CONFIGURATION_ERROR): Cannot be initialized without a bridge
14:58:03.485 [DEBUG] [.russound.internal.net.SocketSession] - Connecting to 192.168.11.74:9621
14:58:03.489 [INFO ] [ussound.rio.system.RioSystemProtocol] - Russound System now connected
14:58:03.496 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH SYSTEM ON'
14:58:03.498 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET System.status'
14:58:03.500 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'VERSION'
14:58:03.502 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET System.language'
14:58:03.504 [INFO ] [russound.rio.system.RioSystemHandler] - Going online
14:58:03.513 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'VERSION'
14:58:03.524 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET System.status'
14:58:03.528 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET System.language'
14:58:03.543 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:2' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
14:58:03.537 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:rio:main' changed from INITIALIZING to ONLINE
14:58:03.550 [DEBUG] [russound.rio.source.RioSourceHandler] - Initializing
14:58:03.567 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:3' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
14:58:03.568 [DEBUG] [russound.rio.source.RioSourceHandler] - Initializing
14:58:03.572 [DEBUG] [russound.rio.source.RioSourceHandler] - Initializing
14:58:03.595 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH S[4] ON'
14:58:03.598 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[4].ipAddress'
14:58:03.602 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH S[2] ON'
14:58:03.606 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[2].ipAddress'
14:58:03.610 [DEBUG] [russound.rio.source.RioSourceHandler] - Initializing
14:58:03.615 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].type'
14:58:03.617 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].ipAddress'
14:58:03.618 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].macAddress'
14:58:03.629 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH S[3] ON'
14:58:03.631 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].ipAddress'
14:58:03.642 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH S[1] ON'
14:58:03.644 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[1].ipAddress'
14:58:03.661 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:controller:main' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
14:58:03.677 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:4' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
14:58:03.691 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].name'
14:58:03.694 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].type'
14:58:03.717 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH C[1].Z[4] ON'
14:58:03.719 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[4].enabled'
14:58:03.720 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].ipAddress'
14:58:03.728 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].composerName'
14:58:03.731 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH C[1].Z[1] ON'
14:58:03.733 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[1].enabled'
14:58:03.735 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].channel'
14:58:03.740 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].channel'
14:58:03.743 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH C[1].Z[2] ON'
14:58:03.743 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:4' changed from INITIALIZING to ONLINE
14:58:03.745 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[2].enabled'
14:58:03.746 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].genre'
14:58:03.749 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH C[1].Z[3] ON'
14:58:03.751 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[3].enabled'
14:58:03.753 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].artistName'
14:58:03.754 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH C[1].Z[5] ON'
14:58:03.756 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[5].enabled'
14:58:03.759 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].albumName'
14:58:03.761 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'WATCH C[1].Z[6] ON'
14:58:03.764 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[6].enabled'
14:58:03.767 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].type'
14:58:03.769 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].coverArtURL'
14:58:03.772 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].ipAddress'
14:58:03.774 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].coverArtURL'
14:58:03.776 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].macAddress'
14:58:03.778 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:controller:main' changed from INITIALIZING to ONLINE
14:58:03.777 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].playlistName'
14:58:03.782 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].songName'
14:58:03.787 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[2].name'
14:58:03.790 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].mode'
14:58:03.792 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[2].currentSource'
14:58:03.794 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].shuffleMode'
14:58:03.796 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[2].bass'
14:58:03.799 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[2].treble'
14:58:03.802 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].repeatMode'
14:58:03.806 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[2].balance'
14:58:03.809 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].rating'
14:58:03.813 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[2].loudness'
14:58:03.815 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].programServiceName'
14:58:03.819 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[2].turnOnVolume'
14:58:03.822 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].radioText'
14:58:03.824 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[2].doNotDisturb'
14:58:03.827 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].radioText'
14:58:03.830 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[2].partyMode'
14:58:03.832 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].radioText'
14:58:03.835 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[2].status'
14:58:03.837 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[3].radioText'
14:58:03.840 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[2].volume'
14:58:03.842 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:3' changed from INITIALIZING to ONLINE
14:58:03.845 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[2].mute'
14:58:03.851 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[4].name'
14:58:03.854 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[2].page'
14:58:03.856 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[4].currentSource'
14:58:03.859 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[2].sharedSource'
14:58:03.863 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[4].bass'
14:58:03.866 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[2].sleepTimeRemaining'
14:58:03.869 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[4].treble'
14:58:03.871 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[2].lastError'
14:58:03.874 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[4].balance'
14:58:03.878 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[4].loudness'
14:58:03.883 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[4].turnOnVolume'
14:58:03.888 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[4].doNotDisturb'
14:58:03.891 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:2' changed from INITIALIZING to ONLINE
14:58:03.898 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[4].partyMode'
14:58:03.900 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[5].name'
14:58:03.902 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[4].status'
14:58:03.905 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[5].currentSource'
14:58:03.908 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[4].volume'
14:58:03.912 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[5].bass'
14:58:03.914 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[4].mute'
14:58:03.917 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[5].treble'
14:58:03.920 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[4].page'
14:58:03.924 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[5].balance'
14:58:03.926 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[4].sharedSource'
14:58:03.929 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[5].loudness'
14:58:03.932 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[4].sleepTimeRemaining'
14:58:03.934 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[5].turnOnVolume'
14:58:03.938 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[4].lastError'
14:58:03.942 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[5].doNotDisturb'
14:58:03.947 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[5].partyMode'
14:58:03.951 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[5].status'
14:58:03.957 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[5].volume'
14:58:03.961 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[5].mute'
14:58:03.962 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:4' changed from INITIALIZING to ONLINE
14:58:03.968 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[5].page'
14:58:03.971 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[1].name'
14:58:03.973 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[1].currentSource'
14:58:03.975 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[5].sharedSource'
14:58:03.978 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[1].bass'
14:58:03.982 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[5].sleepTimeRemaining'
14:58:03.984 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[1].treble'
14:58:03.987 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[1].balance'
14:58:03.990 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[5].lastError'
14:58:03.992 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[1].loudness'
14:58:03.996 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[1].doNotDisturb'
14:58:03.999 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[1].partyMode'
14:58:04.002 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[1].status'
14:58:04.005 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[1].volume'
14:58:04.008 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[1].mute'
14:58:04.011 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[1].page'
14:58:04.015 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:5' changed from INITIALIZING to ONLINE
14:58:04.014 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[1].sharedSource'
14:58:04.026 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[1].sleepTimeRemaining'
14:58:04.025 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:1' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
14:58:04.030 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:5' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
14:58:04.031 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[1].lastError'
14:58:04.037 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[2].name'
14:58:04.040 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[2].type'
14:58:04.046 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[2].genre'
14:58:04.049 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[2].artistName'
14:58:04.051 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[2].albumName'
14:58:04.052 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:1' changed from INITIALIZING to ONLINE
14:58:04.054 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[2].coverArtURL'
14:58:04.058 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[2].coverArtURL'
14:58:04.061 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[2].playlistName'
14:58:04.063 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[3].name'
14:58:04.065 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[2].songName'
14:58:04.067 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[3].currentSource'
14:58:04.069 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[2].mode'
14:58:04.071 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[3].bass'
14:58:04.073 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[2].shuffleMode'
14:58:04.076 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[3].treble'
14:58:04.077 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[2].repeatMode'
14:58:04.080 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[3].balance'
14:58:04.082 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[2].rating'
14:58:04.085 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[3].loudness'
14:58:04.086 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[2].programServiceName'
14:58:04.089 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[3].turnOnVolume'
14:58:04.091 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[2].radioText'
14:58:04.094 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[2].radioText'
14:58:04.095 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[3].doNotDisturb'
14:58:04.099 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[2].radioText'
14:58:04.102 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[2].radioText'
14:58:04.104 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[3].partyMode'
14:58:04.105 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:2' changed from INITIALIZING to ONLINE
14:58:04.111 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[3].status'
14:58:04.114 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[1].name'
14:58:04.117 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[3].volume'
14:58:04.119 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET S[1].type'
14:58:04.122 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[3].mute'
14:58:04.126 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[3].page'
14:58:04.131 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[3].sharedSource'
14:58:04.135 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[3].sleepTimeRemaining'
14:58:04.139 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[3].lastError'
14:58:04.152 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:source:1' changed from INITIALIZING to ONLINE
14:58:04.157 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:4' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
14:58:04.157 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:3' changed from INITIALIZING to ONLINE
14:58:04.162 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:6' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
14:58:04.164 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[6].name'
14:58:04.168 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[6].currentSource'
14:58:04.168 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:2' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
14:58:04.171 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[6].bass'
14:58:04.175 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[6].treble'
14:58:04.177 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:1' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
14:58:04.178 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[6].balance'
14:58:04.182 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[6].loudness'
14:58:04.185 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[6].turnOnVolume'
14:58:04.185 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'russound:zone:3' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
14:58:04.188 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[6].doNotDisturb'
14:58:04.191 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[6].partyMode'
14:58:04.194 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[6].status'
14:58:04.197 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[6].volume'
14:58:04.200 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[6].mute'
14:58:04.203 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[6].page'
14:58:04.206 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[6].sharedSource'
14:58:04.209 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[6].sleepTimeRemaining'
14:58:04.212 [DEBUG] [.russound.internal.net.SocketSession] - Sending Command: 'GET C[1].Z[6].lastError'

Been way too busy for awhile but getting back to this (now that I’ve rebuild my pc). I’m a bit confused by the log because it looks like it connected but is receiving no feedback. Tell you what - I’m going to be committing some new code (will only work with the nightly builds however). I’ll post a message when committed and would want you to try to retest it if you would (with logging message).

Thanks,
Tim

How technical are you? If I tell you to telnet into the mca88 and execute some commands, are you comfortable doing that?

Thanks,
Tim

I’m not a programmer but, I’m use to linux command line. For now, I can control the Russound system using a script (1364 lines of code lol) executed by the exec binding.

#!/bin/sh

IP=192.168.11.74
PORT=9621

case $1 in
 powerall)
STATE=$2
	echo "EVENT c[1].z[1]!all$STATE" | nc -C $IP $PORT
	;;
#######
##ZONE1
 powerz1)
STATE=$2
	echo "EVENT c[1].z[1]!zone$STATE" | nc -C $IP $PORT
	;;
 volz1) 
LEVEL=`echo "$2/2" | bc`
	echo "set c[1].z[1].turnOnVolume=\"$LEVEL\"" | nc -C $IP $PORT
	;;	
 ....

Just tell me which telnet command you want me to do and I will do it! Also I can retest your binding with the latest nightly, but you will have to provide me the new compiled binding jar file. Because I don’t know how to compile it from sources.
Nice to to see you back on track! :grin:

Thanks!
Tom

Tom,

If you would do the following (all commands case sensitive)

  1. Telnet to 192.168.11.74:9621
  2. Enter “WATCH C[1].Z[1] ON” - you’ll get a whole bunch of replies
  3. Enter “EVENT C[1].Z[1]!ZoneOn” - again you’ll get some replies
  4. Enter “EVENT C[1].Z[1]!ZoneOff” - again you’ll get some replies
  5. Close the session

Then copy/paste the whole session into a reply

Thanks,
Tim

Easy! :smile:

Trying 192.168.11.74...
Connected to 192.168.11.74.
Escape character is '^]'.
WATCH C[1].Z[1] ON
S
N C[1].Z[1].name="Salon"
N C[1].Z[1].treble="0"
N C[1].Z[1].balance="0"
N C[1].Z[1].loudness="OFF"
N C[1].Z[1].turnOnVolume="10"
N C[1].Z[1].doNotDisturb="OFF"
N C[1].Z[1].currentSource="1"
N C[1].Z[1].volume="15"
N C[1].Z[1].status="OFF"
N C[1].Z[1].mute="OFF"
N C[1].Z[1].partyMode="OFF"
N C[1].Z[1].bass="2"
N C[1].Z[1].page="OFF"
N C[1].Z[1].sharedSource="OFF"
N C[1].Z[1].sleepTimeRemaining="0"
N C[1].Z[1].lastError=""
N S[1].name="Bluetooth"
N S[1].type="BTC-1"

EVENT C[1].Z[1]!ZoneOn
S
N C[1].Z[1].status="ON"
N C[1].Z[1].volume="10"

EVENT C[1].Z[1]!ZoneOff
S
N C[1].Z[1].status="OFF"

Just ask me if you need something else!

Thanks!
Tom

Well - that’s what I expected. Try the file I uploaded over on openhab2-addons (and make sure you’re using the latest nightly build). Turn on the debug log for russound and reply with it (from when it starts up to when nothing really happens)