Hi David,
First thank you and all the developers for creating this excellent piece of software! I very much prefer it over some of the commercial products I’ve tried.
I think I’m seeing somewhat similar behavior to @HolgerL when using the alpha4 version of the binding. In my case the following happens:
- A thing for “Yamaha Receiver RX-V673” appears in my inbox (using paper UI)
- I add the thing and a second device appears in my inbox called “Yamaha Receiver AVR Test” which I ignore.
The “Yamaha Receiver RX-V673” thing is marked as follows…
“Status: OFFLINE - COMMUNICATION_ERROR http://192.168.XXX.XXX:8080/YamahaRemoteControl/ctrl” (I’ve marked out details of my AVR’s IP)
Only Channels for “Power” “Firmware Version” and “Name” are available. Curiously port 8080 is listed in the above address, if I remove the port things start working.
- I delete the port 8080 in the above thing configuration from within PaperUI and several events occur
The status for the “Yamaha Receiver RX-V673” changes to:
Status: OFFLINE - COMMUNICATION_ERROR Could not handle response. Expected a child node!
A thing for “RX-V673 Zone_2” appears in my Inbox (~20 channels)
A thing for “RX-V673 Main_Zone” appears in my Inbox (~20 channels)
I add the above things and now I can talk to my AVR however there are some issues. If I check the log I see the following:
2017-02-19 17:19:54.237 [WARN ] [eiver.handler.YamahaZoneThingHandler] - Protocol sniffing for Yamaha Receiver Addon is enabled. Performance may suffer! Write to /var/lib/openhab2/yamaha_trace.log
2017-02-19 17:19:55.122 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'yamahareceiver:yamahaAV:e49825eb_8d1f_4e7a_8de4_c091850597f5' to inbox.
2017-02-19 17:30:12.021 [WARN ] [eiver.handler.YamahaZoneThingHandler] - Protocol sniffing for Yamaha Receiver Addon is enabled. Performance may suffer! Write to /var/lib/openhab2/yamaha_trace.log
2017-02-19 17:30:12.157 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0de94aa1a:Main_Zone' to inbox.
2017-02-19 17:30:12.174 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0de94aa1a:Zone_2' to inbox.
2017-02-19 17:34:00.264 [ERROR] [eiver.handler.YamahaZoneThingHandler] - Expected inputID. Failed to read Input/Input_Sel_Item_Info/Src_Name
2017-02-19 17:34:07.475 [ERROR] [eiver.handler.YamahaZoneThingHandler] - Expected inputID. Failed to read Input/Input_Sel_Item_Info/Src_Name
2017-02-19 17:36:06.426 [ERROR] [receiver.handler.YamahaBridgeHandler] - Channel volume not supported!
2017-02-19 17:36:06.665 [ERROR] [eiver.handler.YamahaZoneThingHandler] - Expected inputID. Failed to read Input/Input_Sel_Item_Info/Src_Name
2017-02-19 17:37:39.522 [ERROR] [receiver.handler.YamahaBridgeHandler] - Channel volume not supported!
2017-02-19 17:37:39.761 [ERROR] [eiver.handler.YamahaZoneThingHandler] - Expected inputID. Failed to read Input/Input_Sel_Item_Info/Src_Name
2017-02-19 17:38:00.409 [ERROR] [receiver.handler.YamahaBridgeHandler] - Channel volume not supported!
2017-02-19 17:38:00.647 [ERROR] [eiver.handler.YamahaZoneThingHandler] - Expected inputID. Failed to read Input/Input_Sel_Item_Info/Src_Name
2017-02-19 17:38:00.926 [ERROR] [receiver.handler.YamahaBridgeHandler] - Channel volume not supported!
2017-02-19 17:38:01.180 [ERROR] [eiver.handler.YamahaZoneThingHandler] - Expected inputID. Failed to read Input/Input_Sel_Item_Info/Src_Name
2017-02-19 17:38:01.574 [ERROR] [receiver.handler.YamahaBridgeHandler] - Channel volume not supported!
2017-02-19 17:38:01.810 [ERROR] [eiver.handler.YamahaZoneThingHandler] - Expected inputID. Failed to read Input/Input_Sel_Item_Info/Src_Name
2017-02-19 17:38:06.134 [ERROR] [receiver.handler.YamahaBridgeHandler] - Channel volume not supported!
2017-02-19 17:38:06.375 [ERROR] [eiver.handler.YamahaZoneThingHandler] - Expected inputID. Failed to read Input/Input_Sel_Item_Info/Src_Name
2017-02-19 17:38:12.807 [ERROR] [eiver.handler.YamahaZoneThingHandler] - Expected inputID. Failed to read Input/Input_Sel_Item_Info/Src_Name
2017-02-19 17:38:12.808 [ERROR] [receiver.handler.YamahaBridgeHandler] - Channel mute not supported!
2017-02-19 17:38:13.969 [ERROR] [eiver.handler.YamahaZoneThingHandler] - Expected inputID. Failed to read Input/Input_Sel_Item_Info/Src_Name
2017-02-19 17:38:13.971 [ERROR] [receiver.handler.YamahaBridgeHandler] - Channel mute not supported!
As you can see I’ve tried changing the volume and muting and I’ve generated errors. The good news is that changing the volume and mute work. Most of the basic functions I’ve tried to date do work (power, volume, Surround Mode, Input, Zone2 power). I can change the input on zone 1; however, it does not update within the UI.
here are the contents of my yamaha_trace.log
<?xml version="1.0" encoding="utf-8"?><YAMAHA_AV cmd="GET"><System><Config>GetParam</Config></System></YAMAHA_AV>
<YAMAHA_AV rsp="GET" RC="0"><System><Config><Model_Name>RX-V673</Model_Name><System_ID>0E006813</System_ID><Version>1.96/2.06</Version><Feature_Existence><Main_Zone>1</Main_Zone><Zone_2>1</Zone_2><Zone_3>0</Zone_3><Zone_4>0</Zone_4><Tuner>1</Tuner><HD_Radio>0</HD_Radio><Rhapsody>1</Rhapsody><Napster>0</Napster><SiriusXM>1</SiriusXM><Pandora>1</Pandora><SERVER>1</SERVER><NET_RADIO>1</NET_RADIO><USB>1</USB><iPod_USB>1</iPod_USB><AirPlay>1</AirPlay></Feature_Existence><Name><Input><HDMI_1>HDMI1</HDMI_1><HDMI_2>HDMI2</HDMI_2><HDMI_3>HDMI3</HDMI_3><HDMI_4>HDMI4</HDMI_4><HDMI_5>HDMI5</HDMI_5><AV_1>AV1</AV_1><AV_2>AV2</AV_2><AV_3>AV3</AV_3><AV_4>AV4</AV_4><AV_5>AV5</AV_5><AV_6>AV6</AV_6><V_AUX>V-AUX</V_AUX><AUDIO_1>AUDIO1</AUDIO_1><AUDIO_2>AUDIO2</AUDIO_2><USB>USB</USB></Input></Name></Config></System></YAMAHA_AV>^M
<?xml version="1.0" encoding="utf-8"?><YAMAHA_AV cmd="GET"><System><Power_Control>GetParam</Power_Control></System></YAMAHA_AV>
<YAMAHA_AV rsp="GET" RC="2"></YAMAHA_AV>^M
<?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>
Thanks again for your hard work and I hope this is helpful. I’ll be happy to test any updates to the binding when they become available.
-m