-
-
Notifications
You must be signed in to change notification settings - Fork 72
How Can I Help?
Doug Nelson edited this page Feb 8, 2023
·
9 revisions
One of the most helpful ways to fast track a new app shortcut request is to provide some additional technical details by running one ADB command.
ADB command: adb shell dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp|mInputMethodTarget|mSurface'
It is possible to execute this command through the Home Assistant UI in just a few steps:
- Open Developer Tools
- Click the Services Tab
- Select "Android TV: ADB Command" service
- Choose your device by clicking on the entity button
- Enter
adb shell dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp|mInputMethodTarget|mSurface'
into the command field - Click the CALL SERVICE button
- Click over to the developer tools States tab
- Choose your entity (the one you sent the command to)
- Copy and paste the "Attributes" data under the heading "adb_response:" into your app request issue submission
In order to discover the best and fastest way for Home Assistant to communicate with an android device, we can send a simple adb command to the device and examine the output.
ADB command: adb shell dumpsys input
It is possible to execute this command through the Home Assistant UI in just a few steps:
- Open Developer Tools
- Click the Services Tab
- Select "Android TV: ADB Command" service
- Choose your device by clicking on the entity button
- Enter
adb shell dumpsys input
into the command field - Click the CALL SERVICE button
- Click over to the developer tools States tab
- Choose your entity (the one you sent the command to)
- Review the data to see what and how your device is listening for external input