Skip to content
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

[yamahareceiver] Channel to switch HDMI OUT #6327

Closed
ghost opened this issue Nov 2, 2019 · 9 comments
Closed

[yamahareceiver] Channel to switch HDMI OUT #6327

ghost opened this issue Nov 2, 2019 · 9 comments
Labels
enhancement An enhancement or new feature for an existing add-on PR pending There is a pull request for resolving the issue

Comments

@ghost
Copy link

ghost commented Nov 2, 2019

Yamaha Receivers have multiple HDMI OUTs, e.g. HDMI_OUT_1 and HDMI_OUT_2. When controlling Yamaha Receiver with openHAB it would be great to be able to switch those HDMI OUTs, e.g. to disable HDMI_OUT_2 (with a connected preview monitor) and to enable HDMI_OUT_1 (with a connected beamer).

The Yamaha Extended Control API actually supports this:
http://192.168.0.55/YamahaExtendedControl/v1/system/setHdmiOut1?enable=true
http://192.168.0.55/YamahaExtendedControl/v1/system/setHdmiOut1?enable=false
http://192.168.0.55/YamahaExtendedControl/v1/system/setHdmiOut2?enable=true
http://192.168.0.55/YamahaExtendedControl/v1/system/setHdmiOut2?enable=false

It would be great, if the binding could also support that.

My Environment

  • Version used: openHAB 2.4.0-1
  • Operating System and version: Linux openHABianPi 4.19.66-v7+ Home-Kit "Not Supported" #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l
  • Yamaha Receiver: Yamaha CX-A5100
@ghost ghost added the enhancement An enhancement or new feature for an existing add-on label Nov 2, 2019
@zarusz
Copy link
Member

zarusz commented Mar 17, 2020

Hi @HR77,

The Yamaha Receiver binding is using the XML protocol and specifically the /YamahaRemoteControl/ctrl URL endpoint. The extended control is likely the JSON protocol (not supported on older models). If possible we should stick we the first one, as introducing the second will require more changes and will make existing feature detection harder across two protocols.

Can you please send me the response file?
http://<Your_Yamaha_IP>/YamahaRemoteControl/desc.xml

Essentially, you would need an extra switch channel for HDMI_OUT_1 and HDMI_OUT_2?

My Yamaha model doesn't support multiple HDMI out, so need to rely on you here.

@ghost
Copy link
Author

ghost commented Mar 18, 2020

Hi zarusz,

I am sorry but I do not have the Yamaha receiver anymore. I changed back to my Marantz receiver, because OpenHAB integration was much more comfortable for me.

@fragger42
Copy link
Contributor

fragger42 commented Sep 26, 2020

Hi @zarusz ,
I have a RX-V775 with the same problem that I can't control HDMI out. The full desc.xml from my Receiver is this:
desc.zip
I cannot quote the corresponding section here unfortunately. It is the one at "Menu Func_Ex="HDMI_Out" Title_1="HDMI OUT""

It does work in FHEM (so I'm now doing MQTT to Openhab from there for HDMI switching). The FHEM YAMAHA binding had a similar problem of the missing option and did a change to support it which was discuessed here: https://forum.fhem.de/index.php?topic=41924.0

@hmerk
Copy link
Contributor

hmerk commented Jul 27, 2021

closed due to inactivity

@hmerk hmerk closed this as completed Jul 27, 2021
@fragger42
Copy link
Contributor

@hmerk : Can you please reopen? This enhancement request is still valid. Or are enhanxement reuests not wanted anymore?

@hmerk
Copy link
Contributor

hmerk commented Jul 27, 2021

This is open for 2 years now and has been inactive for a long time now. So it is unlikely that someone will step in and implement this. But please feel free to come up with a contribution.

@fragger42
Copy link
Contributor

@hmerk:
I tried it today and have patch that works fine on my side:
HDMIOutput.patch.txt
How to get this into openhab-addons code? Can you commit this or has someone to review it?

@hmerk
Copy link
Contributor

hmerk commented Jul 27, 2021

@fragger42 You need to create a Pull Request which needs to be reviewed by the maintainers.
Please check the contribution guidelines.

fragger42 added a commit to fragger42/openhab-addons that referenced this issue Jul 27, 2021
fragger42 added a commit to fragger42/openhab-addons that referenced this issue Jul 28, 2021
@hmerk hmerk reopened this Jul 29, 2021
@hmerk hmerk added the PR pending There is a pull request for resolving the issue label Jul 29, 2021
kaikreuzer pushed a commit that referenced this issue Jul 31, 2021
…Yamaha receivers (#6327) (#11063)

* Add possiblity to switch HDMI outputs on and off on Yamaha receivers
(#6327)

Signed-off-by: Bernhard Gruber <b-gruber@gmx.de>
@hmerk
Copy link
Contributor

hmerk commented Jul 31, 2021

Closed as related PR was merged

@hmerk hmerk closed this as completed Jul 31, 2021
frederictobiasc pushed a commit to frederictobiasc/openhab-addons that referenced this issue Oct 26, 2021
…Yamaha receivers (openhab#6327) (openhab#11063)

* Add possiblity to switch HDMI outputs on and off on Yamaha receivers
(openhab#6327)

Signed-off-by: Bernhard Gruber <b-gruber@gmx.de>
thinkingstone pushed a commit to thinkingstone/openhab-addons that referenced this issue Nov 7, 2021
…Yamaha receivers (openhab#6327) (openhab#11063)

* Add possiblity to switch HDMI outputs on and off on Yamaha receivers
(openhab#6327)

Signed-off-by: Bernhard Gruber <b-gruber@gmx.de>
dschoepel pushed a commit to dschoepel/openhab-addons that referenced this issue Nov 9, 2021
…Yamaha receivers (openhab#6327) (openhab#11063)

* Add possiblity to switch HDMI outputs on and off on Yamaha receivers
(openhab#6327)

Signed-off-by: Bernhard Gruber <b-gruber@gmx.de>
Signed-off-by: Dave J Schoepel <dave@theschoepels.com>
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this issue May 5, 2022
…Yamaha receivers (openhab#6327) (openhab#11063)

* Add possiblity to switch HDMI outputs on and off on Yamaha receivers
(openhab#6327)

Signed-off-by: Bernhard Gruber <b-gruber@gmx.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on PR pending There is a pull request for resolving the issue
Projects
None yet
Development

No branches or pull requests

3 participants