-
-
Notifications
You must be signed in to change notification settings - Fork 72
How Can I Help?
Doug Nelson edited this page Nov 9, 2022
·
9 revisions
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