Thank you for that!
First step: Enable ADB in Nvidia Shield (source:
https://sites.google.com/site/nvidiashi ... -debugging)
Code: Select all
Enable debugging
1. Goto Settings
2. Go across to About in Device
3. Go down to Build and click on it 10times until it says you are in development mode
ADB over USB
1. Make sure you have performed the above steps "Enable debugging"
2. Goto Settings
3. Go Across to Developer options
4. Go down to Debugging
5. Toggle USB debugging to On
ADB over Network
1. Make sure you have performed the above steps "Enable debugging"
2. Make sure you have performed the above steps "ADB over USB"
3. Toggle Network debugging to On
That went ok, see open ports:
Code: Select all
Port Scanning host: 192.168.2.7
Open TCP Port: 139 netbios-ssn
Open TCP Port: 445 microsoft-ds
Open TCP Port: 5555 personal-agent
Open TCP Port: 6466
Open TCP Port: 6467
Open TCP Port: 8008 http-alt
Open TCP Port: 8009
Open TCP Port: 9000 cslistener
Open TCP Port: 9080 glrpc
Open TCP Port: 38321
Now making a snapshot of my Domoticz install before installing the android adb tools.
Edit:
On my Domoticz debian Jessie:
Try a connection with these commands:
Code: Select all
adb kill-server
adb start-server
adb connect 192.168.2.7
Confirm the connection on the Nvidia Shield and place a checkmark on 'always allow device'.
A first small shell script enables me to handle play/pause from within domoticz (wich was the most important part for me)
Code: Select all
#!/bin/bash
adb start-server
adb connect 192.168.2.7
adb shell input keyevent 85