-
-
Notifications
You must be signed in to change notification settings - Fork 29.1k
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
HomeKit TV Remote Widget Volume Control Not Working #63043
Comments
homekit documentation |
Hey there @bdraco, mind taking a look at this issue as it has been labeled with an integration ( |
The volume level or step is set via a service call for these |
Hi @bdraco , I'm not sure if that meant that I should enable full HA debug and provide more logs, but I've done that.
In the log I see debug log lines
Here is the debug log: Would that mean that the Remote widget is not sending the press of the hardware volume buttons to HomeKit? Thanks! EDIT: |
That is what is appears is happening. |
And do youm, please, have any clue why is it happening? Or where I should start investigating? Is that because of my Samsung TV integration? Or is that because the volume press is not monitored by the event in Home Assistant? I have no clue what to do now to make it work 😪 Thanks in advance. |
Honestly I don't have enough information to guess how to debug this since Apple doesn't provide docs for the television accessory unless you are MFI certified |
We just added diagnostics for HomeKit which may help figure this out. Can you try updating to 2022.2.3 and send diagnostics for the config entry ? |
Sure, it's awesome new function 🚀. Please see the diagnostics attached :) |
So the |
Here is what an certified device shows
|
Here is how Home Assistant is presenting your device's speaker
|
This is how volume is presented by Home Assistant for your device
This is what an certified device looks like
|
So volume is only added if if features & SUPPORT_VOLUME_SET:
self.chars_speaker.append(CHAR_VOLUME) |
Hi @ollo69, |
This may be related or not. My volume control via iOS remote works fine for about a day, then is either extremely delayed (30+ seconds) or stops working completely until I reboot HA. Power and source changing continues to work via Apple Home app during this time. Volume control continues to work via HA media player card, so it’s not a matter of an issue between HA and the TV. I have one HomeKit hub being an Apple TV 4K connected via Ethernet. (I’m mobile right now, but will capture some logs) |
EDIT: Living Room TV diagnostics (this TV is not working) Sofia TV diagnostics (working) EDIT 2: |
Was there any progress on this? I have a similar issue |
Really good to know, but I don't think that is related to last component version. More probably is due to some changes in HA or eventually in your TV software. |
The problem
Hello,
I can't control volume of the TV via the Remote widget on my iPhone using the side hardware buttons. All other controls visible on the screen are working and I was able to catch them via event
homekit_tv_remote_key_pressed
. But when I press the hardware volume buttons the event is not received nor the volume of entity is changed. I'm able to control the volume viamedia_player
entity in Lovelace and also via service:I think the
supported_features
includes mandatorySUPPORT_VOLUME_MUTE
,SUPPORT_VOLUME_SET
andSUPPORT_VOLUME_STEP
bits. Here is the TV entity info:Below you can find my yaml configuration of the HomeKit Bridge in accessory mode.
I've enabled debug logging for HomeKit using below which I found here:
and below you can find the debug log. During the debugging I've done this in the Remote widget:
I don't understant all from the logs but I think I can see there only five taps of arrow_down (
{'characteristics': [{'aid': 1, 'iid': 15, 'value': 5}]}
) and five taps of arrow_up ({'aid': 1, 'iid': 15, 'value': 4}
), not the volume buttons presses between them.Can you please help me with this?
Thanks a lot.
Regards,
Pavol
What version of Home Assistant Core has the issue?
core-2021.12.7
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
homekit
Link to integration documentation on our website
https://www.home-assistant.io/integrations/homekit/#cant-control-volume-of-your-tv-media-player
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: