Guides

Where the SwitchBot Matter code is

The SwitchBot app is the reliable source. The Hub 2 also has a printed QR code on its side or back.

Checked against the makers' own pages on 3 November 2026.

Where the code is

Hub 2
Scan the QR code on the side or back of the Hub 2, or copy the code in the app under Hub 2, the gear, Matter Setup (Beta). Before adding it to Apple Home, SwitchBot says to reset the hub: hold the On and Off buttons for 15 seconds.
Matter over Wi-Fi devices
Open the SwitchBot app, go to the device's settings page, select Matter Setup, and follow the steps to reset the device and obtain the Matter pairing code.
Lost sticker
While the device is in the SwitchBot app, the code is recoverable from the app. Keep the device in the app until every ecosystem has it.

Sources

Each page below was read on 3 November 2026. Makers move their pages; if one is gone, their support site has the current one.

Next time, have the code on your phone

SmartHomeQR scans each label once and keeps every HomeKit, Matter and Z Wave code, by home and room, on iPhone, iPad, Apple Watch and Android. Offline, no account. Free for 5 devices.