

After you accept the request, you might want to do kill the adb server to make a fresh connection adb kill-serverĪfter that reconnect your device again with previous adb connect. If all goes well, there will be a popup window in your android device asking for debug permission. OPTIONAL Run this command to make sure you can connect to device: adb connect your-device-ip If no error produced, disconnect unplug the USB cable from the computer. Open terminal and run this command: adb tcpip 5555 If your device is one of them, connect your device with USB cable to any computer with ADB installed. IMPORTANT: Some Android device doesn't support "Remote ADB" by default. Visit this documentation for more information

This will output something like Android Debug Bridge version x.x.xĮnable remote developer mode in your Android device. Check if the ADB installed properly by running this command:.Or, if you're using other OS, please refer this link to download the ADB tools:.Or, if the homebridge run inside Docker container like the one from oznu/docker-homebridge, please refer to Docker container section.Sudo apt-get install android-tools-adb android-tools-fastboot If the homebridge server run inside Ubuntu, use this command:.Open Homebridge Config UI X in your browser then navigate to terminal or ssh to your homebridge server, and then run this command: Install ADB tools inside Homebridge server. Install Homebridge, Homebridge Config UI X (this plugin support web configuration over there), and this plugins sudo npm install -g -unsafe-perm homebridge homebridge-config-ui-x Make sure after adding Homebridge bridge in Home App, manually "add accesories" to add the android device in the Home App. This plugins register it self as external accesorries. Where you can control on/off status, volume and dpad control via Control Center remote, and launch certain predefined app defined in the configuration. It make any Android device appear as TV accesory.

The idea is to make random Android based TV box can be controlled with Home App. A HomeBridge plugin to control remote ADB enabled Android device.
