lucasvdh / com.yamaha.receiver

Yamaha receiver app for Homey
GNU General Public License v3.0
2 stars 5 forks source link

[BUG] #29

Open perzon81 opened 3 years ago

perzon81 commented 3 years ago

Describe the bug

Since sometime back (could be after an update) I am not able to turn on/turn off any other zone then the main_zone. I have not changed any settings, it just stopped working. I am using "Zone_2" and "Zone_3". When I try to start/turn on Zone 2 or Zone 3 the Main-Zone is always started. I can however start any zone from my android Yamaha app or from the Yamaha web page on the receiver.

I am using version v1.1.1. of the Homey Yamaha app

I have restarted everything

Removed and installed the Yamaha Homey app without any different result.

I do not get any error messages or similar, the "Main_zone" is just turned on regardless of which settings I try. Is this a known bug? Do you have any proposal what I can try? I really like this app and it is a key component for home automation system, I would really like to get zone’s to works again.

Device info

I have a Yamaha RX-A2020 Homey version 4.2.0

Provide a diagnostic report id

My diagnostic report id is: 3B58903C6C

perzon81 commented 3 years ago

Hi again, I did some more troubleshooting and via "Homey developer" I can see that it also show that the parameter Zone is set to "Zone_2".

2020-10-19 21_44_23-Homey Developer

I then inserted a Ethernet tap hw (a profishark device https://www.profitap.com/profishark-1g/) to "listen" to the traffic between Homey and the Yamaha receiver and when I look at the log in wireshark I can see that homey is sending "Main_Zone" instead of "Zone_2" (as defined in the parameter), i.e. it looks lite the parameter not is used.

Below is what is send from Homey on the network:

Standby ![homey to yamaha](https://user-images.githubusercontent.com/73080817/96504891-a7b35500-1255-11eb-9d02-2c1cd2d7adfd.png) If I look at the same HTTP package from either the Yamaha interanl web server (via my PC) or via my Android Yamaha app the same package for starting Zone_2 looks like this: Standby ![app to yamaha](https://user-images.githubusercontent.com/73080817/96505015-d7625d00-1255-11eb-925d-96a6499d37b0.png)
lucasvdh commented 3 years ago

Hi @perzon81 !

Thanks for the thorough report on this issue.

The current test version of the app should already support multiple zones. However, the zone is not selected via the settings anymore but via interface:

I'll be releasing an update to the test version of the app soon that adds another type of device, a Zone, for if you only want to control a specific zone of a device:

perzon81 commented 3 years ago

Hi @lucasvdh

Thanks for your response!

I installed the test version 1.2.0 and I tried to change the zone according to your description but when I turn on the receiver via app the Main_Zone is just started again (I tried all zones and ensured that the zone selection was kept in settings).

However, the mentioned "Zone" solution could also be a solution, I would be happy to try that as well when you release it :-) Would you be able to estimate when a test version of that will be available?

Br Stefan