Skip to content

Latest commit

 

History

History
79 lines (44 loc) · 1.45 KB

FindShieldRemote.md

File metadata and controls

79 lines (44 loc) · 1.45 KB


Find Tv Remote




Pings Nvidia Shield remote.




  • 1: Setup Android Debug Bridge Integration

Settings > Devices & Services > Add integration

  • 2: Intent Script

If you dont have it already, create the file intent_script.yaml in the /config dir and fill in the code below.
(dont forget to reference it in configuration.yaml with intent_script: !include intent_script.yaml

  • 3: Custom Sentence

Create a folder called custom_sentences inside your /config dir.
Inside that folder, once again create a folder named with your language code. sv for swedish, en for english.
In that folder you create a file and name it whatever you want, but remember it, cause it will be referencesd later.
I will use IntentName.yaml as an example here, fill this yaml file with the code from below.



🦆 /config/intent_script.yaml


IntentName:
  action:
    - service: androidtv.adb_command
      target:
        entity_id: media_player.ADB
      data:
        command: am start -a android.intent.action.VIEW-d-n com.nvidia.remotelocator/.ShieldRemoteLocatorActivit
  speech:
    text: ""



🦆 /custon_sentences/sv/IntentName.yaml


language: "sv"
intents:
  IntentName:
    data:
      - sentences:
          - "var är fjärrkontrollen"
          - "jag hittar inte fjärrkontrollen"