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

Homekit iOS Remote Widget controls missing #81677

Closed
sbasmanov opened this issue Nov 6, 2022 · 2 comments
Closed

Homekit iOS Remote Widget controls missing #81677

sbasmanov opened this issue Nov 6, 2022 · 2 comments

Comments

@sbasmanov
Copy link

sbasmanov commented Nov 6, 2022

The problem

I have old Sony TV connected to old Yamaha receiver. To control them, I set up IR blaster with Tasmota, connected it to HA. Because of this, I can't use any media_player entities, so I set up using media_player_template (https://github.com/Sennevds/media_player.template). It works perfectly - sends codes to tv and receiver, so I can change volume, source and power state from UI. According to source, it adds supported features: SUPPORT_TURN_ON, SUPPORT_TURN_OFF, SUPPORT_VOLUME_STEP, SUPPORT_VOLUME_MUTE, SUPPORT_SELECT_SOURCE. Its state shows:
source_list: source 1, source 2, source 3, source 4, source tv
device_class: tv
friendly_name: Sony TV
supported_features: 69000
is_volume_muted: off

When adding this to HomeKit, it appears in home.app, I can turn on/off and select source. When I start apple remote widget, I can select tv and it allows me to adjust volume with phone buttons, sends events when I press buttons, but widget is not complete - missing mute, power, channel, select list. It should look like this:
ios15-iphone12-pro-home-control-center-apple-tv-remote
But instead, it looks like this:
IMG_BC9A3D5CB3E0-1
That transparent speaker sign is not related to mute.

According to Apple (https://support.apple.com/en-us/HT201664?cid=mc-ols-appletv-article_ht201664-ios_ui-10062021) full interface must be available on AirPlay2 devices. And it is not showing on ATV3 as well.

So, may be there is some attributes missing, so widget doesn't show all controls?

What version of Home Assistant Core has the issue?

Home Assistant 2022.11.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

HomeKit

Link to integration documentation on our website

https://www.home-assistant.io/integrations/homekit/

Diagnostics information

config_entry-homekit-6ef04b208fdc35e87a96d5b206cc1cb6.json.txt

Example YAML snippet

homekit:
  - name: HA Bridge TVs
    mode: accessory
    port: 21100
    filter:
      include_entities:
        - media_player.smart_tv
    entity_config:
      media_player.smart_tv:
        feature_list:
          - feature: on_off
          - feature: play_pause
          - feature: play_stop
          - feature: toggle_mute

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

home-assistant bot commented Nov 6, 2022

Hey there @bdraco, mind taking a look at this issue as it has been labeled with an integration (homekit) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of homekit can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Change the title of the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign homekit Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


homekit documentation
homekit source
(message by IssueLinks)

@sbasmanov
Copy link
Author

@bdraco , I found very strange behavior when using iOS remote widget. When I open it from control center and pressing any arrows/select button it trying to change state of tv (event if it turned on in HA). I see this in log:
[pyhap.characteristic] client_update_value: Active to 1 (original: 1) from client:
I'm not sure - if this is compatibility issue with media_player_template and active status is lost somewhere, or this is issue with HomeKit somewhere reporting incorrect status. So, should I open another issue or I can send You log & diagnostics somehow, so You can see what's wrong here?

@github-actions github-actions bot added the stale label Dec 6, 2022
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 14, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jan 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants