Related Topics
[AI Router] Add SwitchBot Devices to Home Assistant
This guide uses the SwitchBot hub as an example to show how to add IoT devices to Home Assistant, including basic setup and control.
1. Preparation
First, make sure you have completed the initial setup of your IoT device using the manufacturer's official app, connected it to your router, and confirmed it works properly. If you want to add a SwitchBot hub, you need to obtain an API key from the SwitchBot app for Home Assistant integration.
- Open the SwitchBot mobile app and go to [Profile] → [Preferences].
- Tap [About] (or App Version) about 10 times until [Developer Options] appears.
- Enter Developer Options, and you will see your unique API Token and Secret Key. Copy and save them securely.
What is the API key? The API Token and Secret Key are your personal credentials. They authorize Home Assistant to communicate with your SwitchBot devices via the cloud. Think of them as keys that allow Home Assistant to securely control your SwitchBot devices. Please keep them safe and do not share them with others.
2. Open the Add Device Page
In the Home Assistant sidebar, go to [Settings] > [Devices & Services] and click the [Add Device] button in the lower right corner


3. Search for SwitchBot Integration
Type [SwitchBot] in the search bar and select it from the results.

4. Set up SwitchBot cloud
Click [Switch cloud].

In the pop-up window, enter the API Token and Secret Key you just obtained to complete the connection.

5. Select SwitchBot Devices to Add
The system will automatically find the SwitchBot devices under your account. Select the devices you want to add and complete the setup.

6. Integration Complete
Once setup is complete, you can see the integrated SwitchBot devices in the Home Assistant device overview page, and further set up automations or controls.

How to get the (Utility / Firmware)?
You can download the latest drivers, software, firmware and user manuals in the ASUS Download Center.
If you need more information about the ASUS Download Center, please refer this link.