-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working with RX-V6A/TSR-700 receiver #67
Comments
Does it work w/ the official app https://play.google.com/store/apps/details?id=com.yamaha.av.avcontroller&hl=en&gl=US? |
Yes, works without an issue using the Yamaha app |
I assume you've tried to set it up in Home Assistant. Can you try:
import rxv
rxv.ssdp.discover()
import rxv
r = http://192.168.1.xxx:80/YamahaRemoteControl/ctrl
r.basic_status |
It does not, and visiting |
When I hit <yamaha:X_device>
<yamaha:X_URLBase>http://192.168.1.xxx:80/</yamaha:X_URLBase>
<yamaha:X_serviceList>
<yamaha:X_service>
<yamaha:X_specType>urn:schemas-yamaha-com:service:X_YamahaRemoteControl:1</yamaha:X_specType>
<yamaha:X_controlURL>/YamahaRemoteControl/ctrl</yamaha:X_controlURL>
</yamaha:X_service>
<yamaha:X_service>
<yamaha:X_specType>urn:schemas-yamaha-com:service:X_YamahaExtendedControl:1</yamaha:X_specType>
<yamaha:X_yxcControlURL>/YamahaExtendedControl/v1/</yamaha:X_yxcControlURL>
<yamaha:X_yxcVersion>0945 </yamaha:X_yxcVersion>
</yamaha:X_service>
</yamaha:X_serviceList>
</yamaha:X_device> and heading to {"response_code":3} No idea what this means or if it's helpful, but figured it might be? |
It looks like the receiver is using the same control mechanism and it will be possible to solve this. Please try the 2nd way of manually instantiating rxv object, it should work (at least partially) If so, we can then work on testing why SSDP discovery is broken |
Oh, it does actually work! It didn't previously but it seems to be now! >>> import rxv
>>> r = rxv.RXV("http://192.168.1.xxx:80/YamahaRemoteControl/ctrl", "RX-V6A")
>>> r.basic_status
BasicStatus(on='Standby', volume=-33.0, mute='Off', input='HDMI2') SSDP discovery doesn't work: >>> rxv.ssdp.discover()
[] |
I've also had issues with discovery. When there are multiple network interfaces the discovery packets seem to go out the first interface only. @borski do you have multiple network interfaces in the computer that you're testing on? If that's the issue, it can be solved by sending discovery requests on each interface. Something like this: |
Yes, but the raspi doesn't, unless I'm mistaken? aka Home Assistant should be able to do the discovery just fine. |
@esev I made the change, locally, to force it try each interface; that isn't the issue. Good thought, though! |
Can you look if discovery is working
and check if the IP of your receiver comes up. |
I have the same receiver and the same problems with discovery in HA. I tried discovery via
Don't know if that helps! |
@PygmalionPolymorph could you try these three also?
Lines 21 to 27 in da90b75
|
FWIW, my RX-V577 responds to |
I am getting responses for all 3 of those. For completeness i tried to run discovery and manual control through
But discovery didn't work, but unlike @borski i got an error:
The error message also looks similar to the one i originally got inside Home Assistant:
|
@PygmalionPolymorph Ah! progress :) Thanks for these updates! Looks like maybe the desc.xml response doesn't contain all the elements that rxv is expecting. What happens if you modify rxv a bit? Change these lines: Lines 91 to 92 in da90b75
To something like this: unit_desc_url_local = res.find(UNITDESC_URL_QUERY)
if unit_desc_url_local:
unit_desc_url = urljoin(url_base_el.text, unit_desc_url_local.text)
else:
unit_desc_url = None Could you post the response from |
Same issue for me, I have a RX-V4A. It fails here https://github.com/wuub/rxv/blob/main/rxv/rxv.py#L137
I have been able to make it work in HA by changing the |
@esev here is the result of
|
@wuub did you make any progress with your new receiver? I have an RX-A6A myself and have been walking a path of issues leading me here 😅 Similar sorts of issues as above - discovery is broken because |
@DazWorrall I did, by actually using this integration instead https://www.home-assistant.io/integrations/yamaha_musiccast/ because I added more musiccast devices to my home network |
I saw that integration and initially disregarded it because it didn't think it could control the source input of the receiver, but I dug deeper and found that it can, so it's good enough for my use case 👍 |
@wuub I'm having the same problem with the Yamaha Network Receivers integration for my RX-A4A. My goal is to use yamaha.select_scene, which the MusicCast integration does not support. Any suggestions? |
Hi! For some reason,
rxv
doesn't seem to work with the RX-V6A receiver. Is this a known issue?The text was updated successfully, but these errors were encountered: