What Thread credentials are and why Home Assistant needs them

Thread credentials are the network keys and certificates that let your Thread devices talk to each other and to your Thread border router. Home Assistant acts as a Thread border router when you add certain hardware — usually a radio dongle like the Silicon Labs MGM210P or a device like the Apple HomePod mini. To let Home Assistant manage your Thread network, you need to import the credentials that define that network.

If you already have Thread devices running on a network created by another device (like an Apple HomePod mini or a Google Nest Hub Max), those devices hold the Thread credentials. Home Assistant cannot see or control those devices until you move the credentials from the original device into Home Assistant. This is a one-time setup step that happens before you add Thread devices to Home Assistant.

The credentials themselves are not passwords you create. They are generated automatically when a Thread network is first formed. You export them from the device that created the network, then import them into Home Assistant so both systems speak the same Thread language.

Key Takeaways

  • Thread credentials are network keys generated when a Thread network is created, and you must export them from the original device (like an Apple HomePod mini) before Home Assistant can join that network.
  • Home Assistant needs a Thread radio dongle or compatible device to act as a border router, and the import process happens in the Settings menu under Devices and Services.
  • The import method depends on your original device: Apple devices use a QR code or manual export, Google devices use a different export process, and some other brands require their own apps.
  • After import, Home Assistant becomes a full member of the Thread network and can add and control Thread devices alongside the original border router.

Check that your Home Assistant setup has a Thread radio

Before you import credentials, confirm that Home Assistant can actually use them. You need either a USB Thread radio dongle connected to your Home Assistant machine, or a compatible all-in-one device that includes Thread radio hardware.

Common Thread radio options include the Silicon Labs MGM210P dongle (runs about $25 to $35), the Sonoff Zigbee 3.0 USB Dongle Plus (which can run Thread firmware), or certain Raspberry Pi models with a radio hat. If you are running Home Assistant on a generic computer or NAS, you will need the USB dongle. If you are running Home Assistant on a Raspberry Pi 5, you can add a radio hat like the Seeed Studio LoRa/LoRaWAN Gateway.

To check whether Home Assistant already detects a Thread radio, go to Settings, then Devices and Services, then Integrations. Look for an entry called "Thread" or "Matter." If you see neither, Home Assistant does not yet see a radio. Plug in your dongle or install your radio hardware, then refresh the page.

Export credentials from an Apple device

If your Thread network was created by an Apple HomePod mini, Apple TV, or iPad, you export the credentials through the Home app on that device. Open the Home app, tap the house icon at the top left, then go to Home Settings. Scroll down and tap "Thread Border Router," then select the device that created your Thread network.

You will see an option to "Share Thread Network Credentials" or similar wording. Tap it. Apple will show you a QR code. You can either scan this code directly into Home Assistant (if your setup supports camera input), or tap "Show Code" to see the raw credential string, which you can copy and paste into Home Assistant instead.

If you cannot find the Thread settings in the Home app, your device may not be running a recent enough version of iOS, iPadOS, or tvOS. Thread credential export requires iOS 16.1 or later, iPadOS 16.1 or later, or tvOS 16.1 or later.

Export credentials from a Google device

Google Nest devices that support Thread (like the Nest Hub Max or Nest Hub 2nd gen) store credentials differently. You export them through the Google Home app, not through a QR code. Open Google Home, tap the device that is your Thread border router, then tap Settings (the gear icon), then scroll to "Thread network."

Google does not display a QR code. Instead, you will see an option to "Share credentials" or "Export network." Tap it, and Google will generate a credential string. Copy this string — you will paste it into Home Assistant during the import step.

If the Thread option does not appear in your Google device settings, the device may not support Thread, or Thread may not be enabled. Check the device model against Google's list of Thread-compatible products, and make sure the device is up to date.

Import credentials into Home Assistant

Once you have the credential string or QR code from your original device, open Home Assistant and go to Settings, then Devices and Services. Look for the Thread integration — it should appear automatically if Home Assistant detected your radio. Click on it.

You will see a button to "Add Credentials" or "Import Network." Click it. Home Assistant will ask whether you want to scan a QR code or enter credentials manually. If you have a QR code from an Apple device, choose "Scan QR Code" and point your device's camera at the code. If you have a credential string from Google or copied from Apple, choose "Enter Manually" and paste the string into the text field.

Home Assistant will verify the credentials and add them to its Thread network. This usually takes a few seconds. Once the import completes, Home Assistant is now part of the same Thread network as your original device, and both can see and manage the same Thread devices.

What happens after you import credentials

After import, Home Assistant and your original device (the HomePod mini or Nest Hub) both act as Thread border routers on the same network. Your Thread devices can connect to either one. This is actually beneficial — it gives your Thread network redundancy, so if one border router goes offline, devices can still reach the other.

You can now add Thread devices to Home Assistant the same way you would add any other device: go to Settings, Devices and Services, then click "Create Automation" or use the Matter integration if your device supports Matter. Thread devices that support Matter will appear in Home Assistant's Matter section. Devices that only support Thread will appear in the Thread section.

If you want to remove the original border router later, you can do so without losing your Thread devices — Home Assistant will keep the network running. However, if you remove Home Assistant and keep only the original device, your Thread devices will stay on that device's network.

Troubleshooting import failures

If the import fails, the most common cause is that the credential string is incomplete or corrupted. If you copied it manually, try exporting it again and copying more carefully. If you scanned a QR code, try taking the photo in better lighting or from a different angle.

Another common issue is that Home Assistant does not see a Thread radio at all. Check that your USB dongle is plugged in and recognized by your system. On Linux-based Home Assistant setups, you may need to check the device logs to confirm the radio is detected. Go to Settings, System, Logs, and search for "thread" or the name of your radio device.

If Home Assistant shows a Thread integration but says "No Thread radio found," try unplugging the radio for 10 seconds, then plugging it back in. Restart Home Assistant after the radio reconnects. If the problem persists, check the Home Assistant community forums or the documentation for your specific radio model — some dongles require firmware updates before they work with Home Assistant.

Frequently Asked Questions

Can I import credentials from a device that is not Apple or Google?

Some other brands like Nanoleaf and Eve also create Thread networks. Check whether your device has an export option in its app or settings. If it does, the export usually produces a QR code or credential string that works the same way as Apple or Google exports. If your device does not have an export option, you may not be able to import its credentials into Home Assistant.

What if I lose the original device that created the Thread network?

Once Home Assistant has imported the credentials, it holds a copy of them. If the original device fails or is removed, Home Assistant can continue to run the Thread network on its own. Your Thread devices will stay connected to Home Assistant's border router. You do not need the original device anymore after the import is complete.

Do I need to export credentials every time I add a new Thread device?

No. You export credentials once, when you first set up Home Assistant as a border router on an existing Thread network. After that, new Thread devices automatically join the network using the same credentials. You only export again if you want to add a third border router to the same network.

Can Home Assistant run a Thread network without importing credentials from another device?

Yes. If you are starting a new Thread network from scratch with Home Assistant as the first border router, Home Assistant will generate its own credentials automatically. You do not need to import anything. Import is only necessary if you want Home Assistant to join an existing Thread network created by another device.

What if the QR code does not scan?

Try entering the credentials manually instead. Ask your original device to show the credential code as text rather than a QR code, copy it, and paste it into Home Assistant's manual entry field. This usually works even when the QR code is hard to scan due to screen glare or camera focus issues.