Skip to content
Doug Nelson edited this page Nov 9, 2022 · 9 revisions

Device Interrogation

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:

  1. Open Developer Tools
  2. Click the Services Tab
  3. Select "Android TV: ADB Command" service
  4. Choose your device by clicking on the entity button
  5. Enter adb shell dumpsys input into the command field
  6. Click the CALL SERVICE button
  7. Click over to the developer tools States tab
  8. Choose your entity (the one you sent the command to)
  9. Review the data to see what and how your device is listening for external input