Yamaha musiccast binding

I used the http binding as you describe…
I was able to get/set power, volume, input, even play the favourites but I was unable to understand how to play the playlist.

Anyone succeed with playing the playlist?
Thanks for your help

Sorry, I don’t use playlists with MusicCast and so have no experience how to call them with the http binding.

Hi,

based on the work of Frank Zimmer, I’m creating a binding on github. You can find it here: https://github.com/ddecockbe/yamaha

Currently, it only supports power and volume which will be automatically updated and you can configure. In the near future, additional channels will become available.

I hope it’s useful!

2 Likes

That’s great news.
Could you post this in it’s own thread, please, as this will be a new binding.
Thanks

Amazing! I was waiting so log for this. Thanks!

Ok, I have create this topic: Yamaha MusicCast binding revival

1 Like

I assume this binding is in addition to the Yamaha binding in that with the Yamaha binding you cannot turn on/off a WX-030?

I have a WX-030 at home . I will set it up and test the binding. The Yamaha binding right now works very well for my use but I am going to expand my Musicast system as I’ve ordered 2 x WXAD10 units so I can have a single multi room system running.

Where do I find the JAR file?

Anyone?

I’ve just added a WXA-10 also. Whilst OH2 can see the items in the inbox, once added they show as ‘couldnt connect to device’ in PaperUI

Thanks

Heres the lovely long error :smiley:

Have added a bug


09:02:32.398 [INFO ] [smarthome.event.InboxRemovedEvent    ] - Discovery Result with UID 'yamahareceiver:yamahaAV:9ab0c000_f668_11de_9976_00a0def90b3f' has been removed.
09:02:33.374 [INFO ] [smarthome.event.ItemStateChangedEvent] - C3945_CPUTemp changed from 58 to 59
09:02:35.652 [INFO ] [ig.discovery.internal.PersistentInbox] - Added new thing 'yamahareceiver:yamahaAV:9ab0c000_f668_11de_9976_00a0def90b3f' to inbox.
09:02:35.652 [INFO ] [smarthome.event.InboxAddedEvent      ] - Discovery Result with UID 'yamahareceiver:yamahaAV:9ab0c000_f668_11de_9976_00a0def90b3f' has been added.
09:02:35.850 [INFO ] [smarthome.event.ItemStateChangedEvent] - OpenHAB_Network_DataRecevied changed from 411 to 412
09:02:35.854 [INFO ] [smarthome.event.ItemStateChangedEvent] - OpenHAB_Network_DataSent changed from 174 to 177
09:02:35.856 [INFO ] [smarthome.event.ItemStateChangedEvent] - OpenHAB_Cpu_Load changed from 2.0 to 2.3
09:02:38.138 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kris_MobileLastSeen changed from 2018-12-15T09:01:27.000+1100 to 2018-12-15T09:02:20.000+1100
09:02:38.145 [INFO ] [ipse.smarthome.model.script.Blue Iris] - Selective motion recording ON because someone came home and its day
09:02:38.145 [INFO ] [ipse.smarthome.model.script.Blue Iris] - Selective motion recording ON because someone came home and its day
09:02:42.618 [INFO ] [smarthome.event.InboxRemovedEvent    ] - Discovery Result with UID 'yamahareceiver:yamahaAV:9ab0c000_f668_11de_9976_00a0def90b3f' has been removed.
09:02:42.621 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'yamahareceiver:yamahaAV:9ab0c000_f668_11de_9976_00a0def90b3f' changed from UNINITIALIZED to INITIALIZING
09:02:42.629 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'yamahareceiver:yamahaAV:9ab0c000_f668_11de_9976_00a0def90b3f' changed from INITIALIZING to OFFLINE (CONFIGURATION_PENDING): Waiting for data
09:02:42.640 [WARN ] [areceiver.handler.YamahaBridgeHandler] - Communication error. Please review your Yamaha thing configuration.
java.io.IOException: Changing a value on the Yamaha AVR failed: <?xml version="1.0" encoding="utf-8"?><YAMAHA_AV cmd="GET"><System><Config>GetParam</Config></System></YAMAHA_AV>
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.XMLConnection.postMessage(XMLConnection.java:83) [233:org.openhab.binding.yamahareceiver:2.4.0.201808271627]
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.XMLConnection.sendReceive(XMLConnection.java:115) [233:org.openhab.binding.yamahareceiver:2.4.0.201808271627]
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.XMLProtocolService.getResponse(XMLProtocolService.java:77) [233:org.openhab.binding.yamahareceiver:2.4.0.201808271627]
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.DeviceInformationXML.update(DeviceInformationXML.java:87) [233:org.openhab.binding.yamahareceiver:2.4.0.201808271627]
        at org.openhab.binding.yamahareceiver.handler.YamahaBridgeHandler.updateDeviceInformation(YamahaBridgeHandler.java:240) [233:org.openhab.binding.yamahareceiver:2.4.0.201808271627]
        at org.openhab.binding.yamahareceiver.handler.YamahaBridgeHandler.connectionEstablished(YamahaBridgeHandler.java:327) [233:org.openhab.binding.yamahareceiver:2.4.0.201808271627]
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.XMLProtocolFactory.createConnection(XMLProtocolFactory.java:26) [233:org.openhab.binding.yamahareceiver:2.4.0.201808271627]
        at org.openhab.binding.yamahareceiver.handler.YamahaBridgeHandler.initialize(YamahaBridgeHandler.java:307) [233:org.openhab.binding.yamahareceiver:2.4.0.201808271627]
        at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
        at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [94:org.eclipse.smarthome.core:0.10.0.201808242044]
        at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [94:org.eclipse.smarthome.core:0.10.0.201808242044]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
        at java.lang.Thread.run(Thread.java:748) [?:?]
09:02:42.650 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'yamahareceiver:yamahaAV:9ab0c000_f668_11de_9976_00a0def90b3f' changed from OFFLINE (CONFIGURATION_PENDING): Waiting for data to OFFLINE (COMMUNICATION_ERROR): Changing a value on the Yamaha AVR failed: <?xml version="1.0" encoding="utf-8"?><YAMAHA_AV cmd="GET"><System><Config>GetParam</Config></System></YAMAHA_AV>
09:02:42.790 [ERROR] [rnal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.initialize()' on 'org.openhab.binding.yamahareceiver.handler.YamahaBridgeHandler@556dbfcb': Could not communicate with the device
java.lang.RuntimeException: Could not communicate with the device
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.InputConverterXML.<init>(InputConverterXML.java:58) [233:org.openhab.binding.yamahareceiver:2.4.0.201808271627]
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.XMLProtocolFactory.InputConverter(XMLProtocolFactory.java:115) [233:org.openhab.binding.yamahareceiver:2.4.0.201808271627]
        at org.openhab.binding.yamahareceiver.handler.YamahaBridgeHandler.initialize(YamahaBridgeHandler.java:308) [233:org.openhab.binding.yamahareceiver:2.4.0.201808271627]
        at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
        at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [94:org.eclipse.smarthome.core:0.10.0.201808242044]
        at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [94:org.eclipse.smarthome.core:0.10.0.201808242044]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
        at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: java.io.IOException: Changing a value on the Yamaha AVR failed: <?xml version="1.0" encoding="utf-8"?><YAMAHA_AV cmd="GET"><Main_Zone><Input><Input_Sel_Item>GetParam</Input_Sel_Item></Input></Main_Zone></YAMAHA_AV>
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.XMLConnection.postMessage(XMLConnection.java:83) ~[?:?]
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.XMLConnection.sendReceive(XMLConnection.java:115) ~[?:?]
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.XMLProtocolService.getResponse(XMLProtocolService.java:77) ~[?:?]
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.XMLProtocolService.getZoneResponse(XMLProtocolService.java:65) ~[?:?]
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.XMLProtocolService.getInputs(XMLProtocolService.java:97) ~[?:?]
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.InputConverterXML.createInputsWithoutMapping(InputConverterXML.java:96) ~[?:?]
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.InputConverterXML.<init>(InputConverterXML.java:55) ~[?:?]
        ... 11 more
09:02:42.809 [ERROR] [home.core.thing.internal.ThingManager] - Exception occurred while initializing handler of thing 'yamahareceiver:yamahaAV:9ab0c000_f668_11de_9976_00a0def90b3f': Could not communicate with the device
java.lang.RuntimeException: Could not communicate with the device
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.InputConverterXML.<init>(InputConverterXML.java:58) [233:org.openhab.binding.yamahareceiver:2.4.0.201808271627]
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.XMLProtocolFactory.InputConverter(XMLProtocolFactory.java:115) [233:org.openhab.binding.yamahareceiver:2.4.0.201808271627]
        at org.openhab.binding.yamahareceiver.handler.YamahaBridgeHandler.initialize(YamahaBridgeHandler.java:308) [233:org.openhab.binding.yamahareceiver:2.4.0.201808271627]
        at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
        at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [94:org.eclipse.smarthome.core:0.10.0.201808242044]
        at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [94:org.eclipse.smarthome.core:0.10.0.201808242044]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
        at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: java.io.IOException: Changing a value on the Yamaha AVR failed: <?xml version="1.0" encoding="utf-8"?><YAMAHA_AV cmd="GET"><Main_Zone><Input><Input_Sel_Item>GetParam</Input_Sel_Item></Input></Main_Zone></YAMAHA_AV>
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.XMLConnection.postMessage(XMLConnection.java:83) ~[?:?]
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.XMLConnection.sendReceive(XMLConnection.java:115) ~[?:?]
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.XMLProtocolService.getResponse(XMLProtocolService.java:77) ~[?:?]
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.XMLProtocolService.getZoneResponse(XMLProtocolService.java:65) ~[?:?]
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.XMLProtocolService.getInputs(XMLProtocolService.java:97) ~[?:?]
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.InputConverterXML.createInputsWithoutMapping(InputConverterXML.java:96) ~[?:?]
        at org.openhab.binding.yamahareceiver.internal.protocol.xml.InputConverterXML.<init>(InputConverterXML.java:55) ~[?:?]
        ... 11 more

Which is a little bit confusing, I initially thought when seeing the report, that it is about the original yamaha binding, but you actually mean this Yamaha Musiccast binding of this thread, do you? Could you add the correct binding [Yamaha Musiccast] as the first words of the title?

Cheers, David

Hi David im not using a musiccast binding. Im using the Yamaha binding. At least im pretty sure i am !

Hello.

Since few days i have a yamaha N470D at home. With the Add-on openhab find the device, but can not handle it. Is there any way to use openhab to control the reciever?

Newer Yamaha devices use a different communication protocol (MusicCast). The binding currently available does not support MusicCast-only devices.

Can someone tell me how to install this musiccast binding ? I download the ZIP file from GITHUB but i see no JAR files.

A compiled jar file would indeed be nice for testing the binding

Anyone? How can we obtain the jar file? :roll_eyes:

Bump, I’d be keen to try it too

Me too

Guys, that binding can only control main power and volume (and mute according to the source code). No zones, nothing else.

Is it possible to have a jar download available?

1 Like