Posts: 381
Joined: Dec 2012
Reputation:
4
I am using the official iOS remote-app on my iPad together with four Kodi-PCs (OpenElec). Two of them do have analog sound connection, but the other two output the sound via HDMI. I have pulse eight CEC adapter attached to them so I can control the volume of my amplifiers with the Kodi IR-remotecontrol even in passthrough mode. However, using the Kodi remote-app for iOS only allows me to control the internal Kodi-Volume. Therefore I cannot use it together with these two PCs for I still have to grab my IR-remotecontrol anyway to adjust the volume.
Is there anychance you could add an option that allows the remot-app to control the volume via CEC instead of only within Kodi?
Brgds,
FantasticN
Posts: 1,832
Joined: Nov 2010
Reputation:
58
Dunno if CEC volume can be controlled via JSON-RPC, I'll check the feasibility
Posts: 381
Joined: Dec 2012
Reputation:
4
Hi joethefox,
Thanks in advance!
Brgds,
FantasticN
Posts: 3
Joined: Dec 2014
Reputation:
0
+1
Same issue here. Would it be "easier" if this was done as a system setting (ie: volume control passes to CEC on pass through)?
Posts: 381
Joined: Dec 2012
Reputation:
4
Good idea. That would automatically apply to all webinterfaces as well then. Whenever volume is adjusted it will send out the CEC signal if that option is activated. That would help all people using passthrough and CEC.
Brgds,
FantasticN
Posts: 381
Joined: Dec 2012
Reputation:
4
Not quiet sure about CEC support of modern TVs. But I can use the remote of my two TVs (both Samsung as well) to control kodi. So there is kind of a CEC support at least as to this aspect.
However, people using passthrough for 5.1 (or even 7.1) sound will most probably have an amplifier. And modern amplifiers with hdmi ports do usually support CEC. Using my "regular" remote (or even the remote of my TV) works fine and the volume keys will adjust the volume of the amplifier via CEC. Whereas using the official XBMC remote app I can only adjust the internal volume of Kodi which does not have any effect if you are using passthrough. Same applies if you use any webinterface (default, AWXI, Chorus). So it would be nice to have an option in the sound settings to connect the internal volume adjustment with the CEC output of kodi so that it will even work when used via remote app or webinterface.
Brgds,
FantasticN
Posts: 3
Joined: Sep 2016
Reputation:
0
Is there any update on this?
I too have an external AVR and the ability to control its volume through the iPad app would be a very welcomed addition.
Posts: 37
Joined: Apr 2015
Reputation:
2
No, there is no official update on this. It seems the CEC functions were kind of half-introduced to Kodi at some point and then never touched again.
What I learned so far:
Volume control through Kodi via CEC is possible. It just depends on the type of volume control command being executed within Kodi.
In all cases where your Kodi remote (through a keymap) or the remote app executes the VolumeUp, VolumeDown or Mute command, a CEC command is being sent to your AVR. In cases where your remote app executes the SetVolume command (which all apps with a volume slider control do), a CEC command is not being sent, but the Kodi internal volume will be changed (which does not make any sense with an AVR).
Posts: 3
Joined: Sep 2016
Reputation:
0
I assume it should be possible to implement as I'm currently using both the Kodi app and a mini wireless keyboard (IR USB dongle) in equal measure to control my Raspberry Pi running Kodi.
The keyboard sends volume control data to Kodi, that then adjusts my AVR's volume no problem at all, but the Kodi app only adjusts the internal volume.
Posts: 1,832
Joined: Nov 2010
Reputation:
58
The issue is that the remote is a pure JSON remote interface and as stated at the beginning seems that there isn't a JSON API call to accomplish your needs.
Posts: 3
Joined: Sep 2016
Reputation:
0
Thanks for the reply Joe and thanks for the app its really great.
That's a real shame that it can't be implemented easily (if at all) it really would be the icing on the cake for me.
Posts: 6
Joined: Dec 2015
Reputation:
0
I was able to control the AVR volume (Yamaha RX-V765) using Yatse application. But after I've updated Kodi from openElec 6.0.1 to OSMC (20161128), I cannot do it anymore. I've reverted back to OpenElec 6.0.3... does not help.
I tried to control AVR using cec-client via SSH. That works. "standby", "on", "volup" works.
Also I see new message in the cec-client. I have no idea what is this.
WARNING: [ 153337] unhandled response received: opcode=0 initiator=1 destination=0 response=17