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.
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: ""
language: "sv"
intents:
IntentName:
data:
- sentences:
- "var är fjärrkontrollen"
- "jag hittar inte fjärrkontrollen"