A modern, high-performance Home Assistant custom integration for Android TV, Google TV, and Android 11+ devices. By leveraging native Wireless Debugging (TLS 1.3 with SPAKE2 PIN pairing) alongside dynamic mDNS Zeroconf port discovery, ADB mDNS eliminates legacy plaintext port 5555 vulnerabilities, survives device reboots effortlessly, and provides pure OS shell integration without installing any helper APKs or binaries on your TV.
Home Assistant users with Android TV and Google TV devices previously faced an awkward dilemma between two core integrations:
| Feature / Capability | Legacy Built-in androidtv |
Built-in androidtv_remote |
⚡ ADB mDNS (This Integration) |
|---|---|---|---|
| Connection Transport | Plaintext TCP Port 5555 |
TLS / Protocol Buffers | Mutual TLS 1.3 over mDNS |
| Android 11+ Reboot Survival | ❌ Drops permanently (port rotates) | ✅ Survives | ✅ Dynamic mDNS tracking (_adb-tls-connect) |
| Setup Complexity | High (USB tether / adb tcpip 5555) |
Low (PIN pairing) | Low (On-Screen PIN pairing) |
| Directional Remote Keys | ✅ Yes | ✅ Yes | ✅ Yes (Fast key repeats & delays) |
| True ADB Shell Access | ✅ Yes | ❌ None | ✅ Pure OS shell (dumpsys, am, pm) |
| Hardware HDMI-CEC Discovery | ❌ Basic | ❌ None | ✅ Dynamic CEC naming via dumpsys |
| On-Screen Keyboard Detection | ❌ None | ❌ None | ✅ Real-time binary_sensor active state |
| System Diagnostics | ❌ None | ❌ None | ✅ SoC Temp, RAM, Storage, CPU Load |
| Background App Control | ❌ Limited | ❌ None | ✅ Force-stop apps & trim cache button |
| Zero On-Device Binaries | ⚠️ Installs helper | ✅ Pure | ✅ Zero APKs / zero jar files pushed |
Compatible with any device running Android 11 (API 30) or higher with Wireless Debugging enabled:
🔒 Zero On-Device Binaries: ADB mDNS communicates purely over mutual TLS 1.3 socket streams. Unlike older integrations, it never transfers APKs, executables, or helper daemons to your TV, keeping your streaming devices secure, clean, and fast.
_adb-tls-connect._tcp.local. whenever the TV or streaming box reboots.HDMI 1 · PlayStation 5) with direct passthrough URI switching.binary_sensor.*_keyboard_active whenever an on-screen search bar or text input field is focused.pm trim-caches 999G), invoke the ambient screensaver, and safely reboot the device.adb_mdns.send_text_input, adb_mdns.search, and direct key macros with full entity, device, and area targeting.Developing pure native TLS 1.3 Wireless Debugging, reverse-engineering mDNS Zeroconf tracking, and maintaining deep Home Assistant media and sensor platforms is an independent effort. If this integration makes your smart home better, consider supporting future development with a coffee!
_adb-tls-connect._tcp.local.), detects the new port instantly, and reconnects without user intervention.dumpsys, am, pm) built into Android and pushes zero APKs, JAR files, or background daemons to your TV.