Fire TV Keeps Disconnecting from Home Assistant? ADB Fix
In this article
If your Fire TV keeps dropping out of Home Assistant, the usual culprit is a broken ADB (Android Debug Bridge) connection. This guide walks you through a complete ADB repair: re-enabling ADB, clearing the stale connection, and setting up a stable link that stops the disconnects. You'll need your Fire TV's IP address, a computer or phone on the same network, and about 10 minutes. The fix works for Fire TV Stick and Fire TV Cube models running Fire OS 5 or newer.
What You'll Need
- Fire TV device powered on and connected to your Wi-Fi network
- Your Fire TV's IP address (find it under Settings > Network > About)
- A computer or phone with a web browser (for the ADB enabling step)
- Home Assistant already installed and running on your network
- Optional: ADB tools on your computer if you want to manually clear the connection
Step-by-Step
- Enable ADB on your Fire TV. Go to Settings > My Fire TV > Developer Options. If you don't see Developer Options, go to Settings > My Fire TV > About, then click on the device name 7 times until a message says you're a developer. Once in Developer Options, turn on ADB debugging and Apps from unknown sources (the latter is needed for some Home Assistant integrations).
- Note your Fire TV's IP address. Go to Settings > Network > About (or Settings > My Fire TV > About > Network) and write down the IPv4 address. It looks like 192.168.1.23.
- Restart your Fire TV. Unplug the power cord for 10 seconds, then plug it back in. This clears any temporary network glitches that can cause ADB to drop.
- Remove the old integration from Home Assistant. In Home Assistant, go to Settings > Devices & Services. Find your Fire TV integration and delete it. This clears all stored connection data, including the stale ADB key.
- Restart Home Assistant. Go to Settings > System > Restart (or restart the Home Assistant service on your server). This ensures no background processes are holding the old connection.
- Re-add the Fire TV integration. In Home Assistant, go to Settings > Devices & Services, click Add Integration, search for "Fire TV" (or "Android TV" if you use that), and select it. Enter your Fire TV's IP address and port 5555 (default ADB port).
- Accept the ADB prompt on your Fire TV. When Home Assistant tries to connect, a dialog will appear on your TV screen asking to allow USB debugging. Select OK (or Always allow from this computer, if offered). This is the critical step that often gets missed.
- Verify the connection. Once added, the integration should show as "Configured" and your Fire TV's state should change from "Unavailable" to "Idle" or "Playing" when you use it. Test by pressing a button in Home Assistant (like the power toggle) and see if your Fire TV responds.
- Set a static IP (optional but recommended). If your Fire TV's IP changes, ADB will break. To prevent this, assign a static IP to your Fire TV in your router's DHCP settings (look for "Address Reservation" or "Static DHCP"). This ensures the IP never changes.
Common Mistakes
- Not enabling ADB debugging. If ADB is off, Home Assistant can't connect at all. Double-check that the toggle is on.
- Skipping the ADB prompt. If you don't click OK on the TV screen, the connection times out and Home Assistant shows "Unavailable." You must physically confirm the prompt.
- Using the wrong IP address. Make sure you use the IPv4 address, not the IPv6 one. Also, if your network uses a VPN or VLAN, the Fire TV might be on a different subnet.
- Not restarting after enabling ADB. Some Fire OS versions need a reboot for ADB to fully activate. Always restart after enabling developer options.
- Keeping the old integration. If you just edit the existing integration instead of deleting it, the stale ADB key can cause the same disconnects to continue.
Tips
- Use a static IP. This is the single best way to prevent future disconnects. If you can't set a static IP, at least check the IP periodically and update Home Assistant if it changes.
- Keep Fire OS updated. Go to Settings > My Fire TV > About > Check for Updates. Newer firmware often fixes ADB bugs.
- Reduce network congestion. If you have many devices on the same Wi-Fi, consider a 5 GHz band for your Fire TV (if supported) and ensure your router isn't overloaded.
- Use a wired connection (if possible). Ethernet is far more stable than Wi-Fi for ADB. If your Fire TV has an Ethernet port or you have an adapter, use it.
- Set ADB to "Always allow" when prompted. If your Fire TV asks again, select "Always allow from this computer" to avoid repeated prompts.
Troubleshooting
If the steps above didn't fix the disconnects, try these in order:
- Restart everything. Turn off your Fire TV, router, and Home Assistant server. Wait 30 seconds, then turn them back on in this order: router, Fire TV, Home Assistant. This often clears network glitches.
- Check the ADB port. By default, ADB uses port 5555. If your router has a firewall that blocks this port, you'll need to allow it. On some networks, you may need to set a port forwarding rule (but only if you're trying to connect from outside your LAN).
- Manually clear the ADB key. On your computer, open a command prompt or terminal and run:
adb connect. If it fails, run:5555 adb kill-serverthenadb start-server, then try again. If it connects, you can then runadb disconnectto clear the stale key. - Factory reset your Fire TV. This is a last resort. Go to Settings > My Fire TV > Reset to Factory Defaults. This will erase all your apps and settings, so only do this if nothing else works. After resetting, you'll need to re-enable ADB and re-add the integration.
- Try a different Home Assistant integration. If the official Fire TV integration still fails, try the "Android TV" integration (if you have a Fire TV with Android TV compatibility) or the "ADB" integration. Some users find the ADB integration more reliable.
Frequently Asked Questions
Why does my Fire TV keep showing "Unavailable" in Home Assistant?
This usually means the ADB connection is lost. The most common causes are a changed IP address, the Fire TV going to sleep (which can sometimes drop ADB), or a stale ADB key. The steps above address all of these.
Do I need to keep ADB enabled all the time?
Yes, for Home Assistant to connect, ADB debugging must stay on. It doesn't affect normal Fire TV usage, but it does allow apps from unknown sources, which is a security consideration. Only keep it on if you trust your network.
Will a Fire TV restart break the connection?
A restart can temporarily break the connection, but Home Assistant should automatically reconnect within a few minutes. If it doesn't, you may need to manually reconnect or re-add the integration.
Can I use the same ADB key for multiple Fire TVs?
No. Each Fire TV generates its own ADB key. When you add a new Fire TV to Home Assistant, it will prompt for a new key on that TV's screen. You must accept it for each device.
Why does Home Assistant ask for the ADB port?
ADB uses port 5555 by default. If you changed it (unlikely), you'd enter that. Most users can leave it as 5555.
Is there a way to prevent the Fire TV from sleeping and dropping ADB?
You can set the sleep timer to "Never" in Fire TV settings (Settings > Display & Sounds > Sleep). However, this increases power usage. A better option is to keep the Fire TV plugged in and let Home Assistant reconnect automatically after it wakes.