10K+
Welcome to Amateur-God's Home Assistant Add-ons. This repository hosts the ADB-Server add-on, which provides an Android Debug Bridge (ADB) server for Home Assistant, including an ingress terminal for executing commands.
The ADB-Server add-on allows you to connect and control your Android devices from within Home Assistant. This is useful for automating tasks and integrating Android devices into your smart home setup.
Settings > About phone and tap Build number seven times to enable developer mode.Settings > Developer options and enable USB debugging or Wireless debugging.Add the Repository to Home Assistant:
Supervisor > Add-on Store.Repositories.https://github.com/Amateur-God/Hassio-Addons.Install the ADB-Server Add-on:
Install button.Configure the Add-on:
Configuration tab.config.json to include the IP addresses of your Android devices and any other required configuration. For example:
{
"devices": [
{
"name": "Living Room TV",
"ip": "192.168.1.100"
},
{
"name": "Bedroom Tablet",
"ip": "192.168.1.101"
}
],
"additional_config": "your_additional_config_here"
}
Start the Add-on:
Info tab and click the Start button.Start on boot option to ensure the add-on starts automatically when Home Assistant starts.Access the Ingress Terminal:
Open Web UI to access the ingress terminal.List Connected Devices:
adb devices
Install an APK:
adb -s <device_ip> install /path/to/app.apk
Send a Key Event:
adb -s <device_ip> shell input keyevent 26 # Power button event
Reboot the Device:
adb -s <device_ip> reboot
Got questions or need help?
You can open an issue here on GitHub.
We welcome contributions from the community. If you would like to contribute, please read our contribution guidelines.
Thank you for your interest and contributions! :heart_eyes:
This repository is maintained by Amateur-God. For a full list of all authors and contributors, check the contributor's page.
GNU General Public License v3.0
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Content type
Image
Digest
sha256:5472c72a6…
Size
231.3 MB
Last updated
9 months ago
docker pull amateurgod/adb_server