Repository navigation
Releases
Releases · stevene1919/adb_mdns
v1.0.1
🌟 What's New in v1.0.1
-
🎧 Bluetooth Audio & Headphone Sound Mode:
- Media Player Sound Mode Selector (
sound_mode/sound_mode_list): Paired Bluetooth headphones, earphones, and speakers are dynamically discovered and listed in the Sound Mode dropdown alongside primary TV/HDMI output. - Instant Connection & Disconnection: Selecting a Bluetooth device connects it directly via Google TV's native Slice provider; selecting TV/HDMI output automatically disconnects active Bluetooth headphones.
- One-Click Bluetooth Pairing: Added
button.<device>_pair_bluetooth_accessoryandadb_mdns.pair_bluetoothservice to jump directly to Android TV's native "Searching for accessories..." screen. - Automation Actions: New
adb_mdns.connect_bluetoothandadb_mdns.disconnect_bluetoothservices supporting friendly names or MAC addresses. - Bluetooth Classification & Diagnostics: Bonded Bluetooth devices are classified into
"audio"vs"input"devices, andsensor.<device>_bluetooth_devicesnow reports active connected counts and audio device lists.
- Media Player Sound Mode Selector (
-
🐛 Android 14 Google TV Fixes:
- Playback State Stuck on Idle (#1): Fixed Android 14
dumpsys media_sessionregex where enum values formatted asstate=PLAYING(3)orstate=PAUSED(2)caused playback states to fail parsing and default toidlewhile metadata was active. - Volume Level Scaling: Fixed
STREAM_MUSICvolume parsing on Android 14 whereDevices: hdmi(400)failed against parenthesized bitmask entries and caused volume to incorrectly report1.0(100%). - Wi-Fi MAC Discovery: Added
dumpsys wififallback parsing whenip -o link showis restricted by Android 14 SELinux policy. - Negative Action Masks: Supported negative signed action bitmasks (e.g.
actions=-1on Kodi).
- Playback State Stuck on Idle (#1): Fixed Android 14
-
🏛️ Home Assistant Standards Alignment:
media_position_updated_atnow strictly returns a UTCdatetimeobject (dt_util.utcnow()) instead of a timestamp float.media_positionstrictly returns an integer in seconds.- Exposed native
app_nameproperty and removed redundantapp_idattribute fromextra_state_attributes. - Upgraded Device Registry queries to prevent Home Assistant 2026.10 deprecation warnings (
dr.async_entries_for_config_entry). - Cleared
media_image_hashwhen the media player isOFF.
-
📖 Documentation & Roadmap:
- Clarified reboot behavior in documentation: explains why stock Android resets the Wireless Debugging toggle on cold reboot and how dynamic port tracking reconnects once active.
- Added architectural plan and roadmap for a companion auto-enabler APK (TODO.md).
v1.0.0
Welcome to the initial release of ADB mDNS — the zero-binary, high-performance Home Assistant custom integration for modern Android TV, Google TV, and Android 11+ streaming devices!
🌟 Release Highlights
-
🔒 Zero-Hassle Wireless Debugging (No USB or Root Required):
- Connects directly to stock Android 11+ Developer Options using native TLS 1.3 encryption and on-screen SPAKE2 PIN pairing.
- Requires zero command-line tools or external
adbbinaries installed on your Home Assistant host.
-
🔄 Reboot-Proof Dynamic mDNS Port Tracking:
- Automatically rediscovers and updates rotating connect ports across TV reboots using local Zeroconf discovery (
_adb-tls-connect._tcp.local.), completely eliminating connection drops.
- Automatically rediscovers and updates rotating connect ports across TV reboots using local Zeroconf discovery (
-
🎨 Rich Media Browser with High-Res App Artwork:
- Open Home Assistant's Media Browser to visually browse your installed Android TV apps with official high-resolution brand logos (Netflix, YouTube, Prime Video, Disney+, Plex, Kodi, Spotify, Stan, ABC iview, Twitch, Apple TV+, and more).
- Launch any streaming app with a single click or through automation actions.
-
🔢 Numeric Channel Tuning:
- Use
media_player.play_mediawithmedia_type: channeland numeric channel numbers (e.g."102") to automatically sequence digit keypresses to your TV or live tuner.
- Use
-
🎛️ Focused 3-Step Options Flow:
- Configure your TV easily through dedicated, organized settings menus:
- Sources & App Visibility: Customize app dropdowns and hide unnamed system services.
- Polling & Screen Capture: Tune background refresh intervals and optional screen grab frequency.
- Controls & Remote Power: Adjust keypress repeat delays and configure custom vendor wake/sleep commands.
- Configure your TV easily through dedicated, organized settings menus:
-
⚡ Enhanced Reliability & Concurrency Guarding:
- Internal packet queuing and per-entity execution guards (
PARALLEL_UPDATES = 1) prevent socket collisions and ensure smooth, reliable communication even during rapid automation sequences.
- Internal packet queuing and per-entity execution guards (
-
📺 Hardware HDMI-CEC Discovery & Keyboard Detection:
- Automatically identifies and displays friendly names for connected HDMI-CEC devices (such as game consoles, soundbars, or Blu-ray players).
- Real-time
binary_sensor.*_keyboard_activesensor alerts Home Assistant whenever an on-screen text field or search bar is focused on your TV.
-
🧹 System Care & Performance Tools:
- One-click buttons to reclaim storage by trimming temporary app caches (
pm trim-caches 999G), immediately start your screensaver, or reboot the device. - Snappy UI animation switch entity to disable sluggish system animations for a lightning-fast TV experience.
- One-click buttons to reclaim storage by trimming temporary app caches (