ACDR / homebridge-yamaha-avr

homebridge-plugin for Yamaha AVR. Audio Receiver Accessory with Power, Input, Volume & Remote Control
Apache License 2.0
45 stars 5 forks source link

Multiple Zones #31

Closed nitaybz closed 2 years ago

nitaybz commented 4 years ago

So I know there is a plugin out there that does it but your plugin is more maintained and well structured.

The dream plugin for Yamaha AVR for me will be to use your plugin on multiple zones and also have optional fan/bulb representing the Volume for automations.

Thanks and appreciate the work you've done so farπŸ™πŸΌ

ACDR commented 4 years ago

Hi @nitaybz, you should be able to control the volume with automations using the native HomeKit Speaker device available for Yamaha AVRs.

I suppose this may not be available for all models though.

I'll look into adding support for Zones & optionally adding a Speaker device for automation volume control. πŸ‘

nitaybz commented 4 years ago

unfortunately I don't have a native HomeKit AVR.

I'll look into adding support for Zones & optionally adding a Speaker device for automation volume control. πŸ‘

That's super awesome! I would greatly appreciate it and I'm sure the entire Homebridge community will. I'll be watching your plugin to see if we have any progress with that, for now I'm using other plugins with modifications I made but there are so many complications there that it will be better to write it from the start... Then, I encountered your beta, looked at the code, and I thought to my self: "this guy can really do it!" ;)

ThanksπŸ™

iSteve-O commented 2 years ago

Hi @nitaybz, you should be able to control the volume with automations using the native HomeKit Speaker device available for Yamaha AVRs.

I suppose this may not be available for all models though.

I'll look into adding support for Zones & optionally adding a Speaker device for automation volume control. πŸ‘

I didn't know this either! I am so glad I decided to read through other issues LOL Thanks again for explaining in detail.

This only works for audio the receiver is actually playing (like airplay, net radio, tuner, etc) it doesn't work with HDMI inputs, for example. Oh well. Thanks still LOL

ACDR commented 2 years ago

This only works for audio the receiver is actually playing (like airplay, net radio, tuner, etc) it doesn't work with HDMI inputs, for example. Oh well. Thanks still LOL

Could possibly solve this one with a Shortcut automation for now, using the "Get contents of URL" action with this URL: http://{AVR_IP}/YamahaExtendedControl/v1/main/setVolume?volume=50

A shame there's still no way to directly control the volume of an AVR device in an automation. 😞

ACDR commented 2 years ago

Created a shortcut - this will ask for the AVR IP Address & desired volume on import. You can then trigger this shortcut in an automation to set the volume.

https://www.icloud.com/shortcuts/1e8b0433e975465780bfb44aa7f0a608

iSteve-O commented 2 years ago

Created a shortcut - this will ask for the AVR IP Address & desired volume on import. You can then trigger this shortcut in an automation to set the volume.

https://www.icloud.com/shortcuts/1e8b0433e975465780bfb44aa7f0a608

Yeah that's awesome. Thank you for telling me that URL. I already made a shortcut using that LOL but I appreciate you showing me anyway!

Mine just set a volume. Yours is much cooler LOL you used the fancy URL encoding so you could change the IP address for any receiver or change the volume easily. With mine I had to edit the URL every time so yours is much better.

ACDR commented 2 years ago

Additional zones can now be enabled in https://github.com/ACDR/homebridge-yamaha-avr/releases/tag/v3.0.0-beta.8 (see release notes for config - or enable with Homebridge config UI)

Volume "workaround" devices for each zone have been added in https://github.com/ACDR/homebridge-yamaha-avr/releases/tag/v3.0.0-beta.9 - these are also opt-in via similar config setting as zones, disabled by default.