unfoldedcircle / feature-and-bug-tracker

Feature and bug tracker repository for Unfolded Circle products
24 stars 0 forks source link

[bug] Apple TV Volume always 0 #10

Open Laess3r opened 1 year ago

Laess3r commented 1 year ago

Is there an existing issue for this?

Description

Hi! The volume control within the Apple TV Integration always shows zero. This is regardless of the Apple TV controlling the TV or the AVR volume.

The control does work but always shows zero on display.

How to Reproduce

  1. Use apple tv Integration on remote
  2. Play some media on apple tv
  3. Change volume using the buttons

Expected behavior

I expect the volume control to show the correct value.

System version

V1 0.3

What part of the system affected by the problem?

UI

Additional context

No response

Macsim51 commented 1 year ago

Same problem here, just to confirm.

And an other similar problem : with Airpods (connected to Apple TV), the volume level is sometimes displayed correctly but impossible to change it.

r00li commented 1 year ago

To expand on this... for me when Apple TV is controlling an AVR the volume control works, but the display is wrong (for me it always says 50 despite increasing/decreasing volume). When connected to my airpods however the volume control goes very weird... volume down does not work at all, volume up does increase the volume, but it almost looks like the command gets stuck and keeps increasing the volume every few seconds.

A short video demonstrating this (and one other issue): https://github.com/unfoldedcircle/bug-reports/assets/2136711/5d0e94c1-e8b6-4781-8b1c-d05e76f625b1

Additionally connected to the sound output selection - there is no long press action on the home button, so you cannot enter the quick menu for selecting the audio output. So in order to switch between sources you need the original remote. But I guess that's a different thing entirely.

matwho commented 1 year ago

I have the same issue add appletv to a page, volume and mute buttons do not work. I am on version 1.3.3

sklever commented 11 months ago

It’s also same with AppleTV via Home Assistant integration on remote.

zehnm commented 10 months ago

It turns out that volume control with Apple TV is tricky. I suggest adding a configuration option if the ATV uses HomePod / volume control over HDMI CEC / IR volume control. Unfortunately there doesn't seem a way to retrieve this setting from the device. Depending on this setting, the integration offers full volume control (with current level) / only VOL up & down / no volume control.

With HDMI CEC, volume can be increased and decreased, but we don't get the current volume level. Since this is likely the most common scenario, we start with this option: no volume level feedback in the UI (always showing 0 or 50 doesn't make much sense :-) We will discuss this internally on how to improve volume control. Please feel free to respond if you are using HomePod. If the majority isn't using HDMI CEC, then we should change our priority and get a HomePod device...

We are using the same communication library as Home Assistant. If things don't work in HA, then we have the same limitations.

r00li commented 10 months ago

My primary use case is controlling AV receiver via CEC. Other than volume display that works fine. The most frustrating part is when I have my Airpods connected (for late night listening). Then the volume down doesn't work at all and volume up looks like it gets stuck and increases my volume to the maximum.

Laess3r commented 10 months ago

Hi! I also primarily use AV receiver via CEC. As the AVR reports the volume on the display as well as on the TV display already, it's not a deal breaker to me to not see it on the remote as well :-)

sklever commented 10 months ago

Have connected HomePods to AppleTV, so it's all controlled via AppleTV though. AppleTV is my only source for watching movies, tv series, live tv