Replies: 7 comments 34 replies
-
Copying over our notes from the community forums page. Apple TV type: custom:android-tv-card
remote_id: remote.apple_tv
_row_1:
- power
- play
- pause
- menu
navigation_row: touchpad
custom_keys:
up:
icon: mdi:chevron-up
key: up
down:
icon: mdi:chevron-down
key: down
left:
icon: mdi:chevron-left
key: left
right:
icon: mdi:chevron-right
key: right
center:
icon: mdi:checkbox-blank-circle
key: select
power:
icon: mdi:power
key: suspend # or wakeup? idk I'm an Android user.
play:
icon: mdi:play
key: play
pause:
icon: mdi:pause
key: pause
menu:
icon: mdi:menu
key: menu Kodi type: custom:android-tv-card
navigation_row: touchpad
custom_keys:
up:
icon: mdi:chevron-up
service: kodi.call_method
service_data:
entity_id: media_player.kodi
method: Input.Up
down:
icon: mdi:chevron-down
service: kodi.call_method
service_data:
entity_id: media_player.kodi
method: Input.Down
left:
icon: mdi:chevron-left
service: kodi.call_method
service_data:
entity_id: media_player.kodi
method: Input.Left
right:
icon: mdi:chevron-right
service: kodi.call_method
service_data:
entity_id: media_player.kodi
method: Input.Right
# continue in a similar manner for other commands |
Beta Was this translation helpful? Give feedback.
-
Just confirming that these are working great. Fab! |
Beta Was this translation helpful? Give feedback.
-
Question:
|
Beta Was this translation helpful? Give feedback.
-
This is actually a feature of the tv-card that this was forked from, but it doesn't seem to work for me. Considering that the code that deals with double clicks hasn't been modified from the parent I wonder if it was working before the fork.
You can do this using card-mod. I probably won't add a separate input for this as it falls under theming which can all be done using card-mod. card_mod:
style: |
:host {
--ha-card-background: #7096d540;
}
toucharea {
background: #244cc650;
} |
Beta Was this translation helpful? Give feedback.
-
@houser42 can you post your full Kodi and AppleTV remote configs and some screenshots? I want to add them to the README examples. |
Beta Was this translation helpful? Give feedback.
-
Could this be adapted to work with Roku players? |
Beta Was this translation helpful? Give feedback.
-
@Nerwyn Would you be able to adapt the keyboard code to work with roku? Possible reference would be the Firemote code. |
Beta Was this translation helpful? Give feedback.
-
Just found this very promising bit of code.
I have an Android TV (Sony Bravia KD.xx) that I am experimenting on with this.
No luck so far. Have the usual remote working with the same entity.
My main question:
I also have two other media players that I am wondering how difficult it would be to adapt this code for:
Kodi and Apple TV.
I want to program very similar swipe gestures/touchpad remotes for all me HT gear, as I have in the current
environment that I am migrating from at some point (iRule)
Any comments appreciated. Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions