Xiaomi ecosystem is famous for its openness to third-party devices, but connecting a smart outlet TOYA The Mi Home Gateway is often questioned. TOYA The ZigBee protocol is theoretically compatible with gateways. Xiaomi/Aqara, But in practice requires the right sequence of actions and sometimes additional manipulations with the firmware.
Many users face problems during the device search phase or after a successful connection β the outlet may not respond to commands, appear as an βunknown deviceβ or periodically disconnect from the network. In this article, we will cover all the integration steps, from compatibility checks to common bug fixes, including the hidden settings of the Aqara Hub gateway. M2, Allows you to force uncertified ZigBee devices to be added.
We will pay special attention to models TOYA TR-06ZB and TR-08ZB, As they are the most popular among owners of smart homes based on Xiaomi. If you have another modification, check its specifications for support for ZigBee 3.0 (this is critical for compatibility).
1. Socket compatibility TOYA Xiaomi Gateways: What You Need to Know Before Buying
Not all outlets. TOYA The main criterion is support for the ZigBee protocol (not Wi-Fi or Bluetooth), currently with the Mi Home Gateway, Aqara Hub and Aqara Hub gateways. M2 Compatible with the following models:
- π TOYA TR-06ZB β single-channel power outlet, ZigBee 3.0
- π TOYA TR-08ZB β dual-channel outlet (2 independent outputs), ZigBee 3.0
- π TOYA TR-10ZB β plug-in USB-port, ZigBee 3.0 (requires a lock firmware not lower 1.5.6_003.00)
Important: sockets TOYA indexed WB (for example, TR-06WB) They are Wi-Fi-based and not compatible with Xiaomi gateways, and they can only be connected via the Tuya Smart or Smart Life app, but not through the Mi Home.
Also check the firmware version of your gateway. TOYA recommended:
- π± Mi Home Gateway 3 β firmware 1.4.7_176.014 or newer
- π± Aqara Hub - firmware 1.0.13_003.00 or newer
- π± Aqara Hub M2 β Any firmware (best compatibility)
β οΈ Note: If your Xiaomi gateway is released before 2019 (e.g. Mi Home Gateway 1 or 2), the probability of a successful connection is high. TOYA These models do not support ZigBee 3.0 and do not have the function of adding uncertified devices.
2.Preparation for connection: what will be required
Before you start setting up, make sure you have:
- π± Gateway Xiaomi/Aqara with current firmware (see section above)
- π Rosetta TOYA ZigBee-enabled models ZB titled)
- π± Smartphone with Mi Home app installed (version no lower than 6.1.400)
- π Stable Internet connection (at the stage of adding the device, the gateway must be online)
Also prepare the socket for connection:
- Insert it into a network outlet (preferably near the gateway - at a distance of no more than 1-2 meters).
- Hold the button on the socket body for 5-7 seconds until the indicator starts to flash quickly (pairing mode).
- If the indicator does not flash, check whether the socket case blocks access to the button (some models have a recessed button).
Gateway Xiaomi/Aqara connected to food and the Internet
Rosetta TOYA plugged
Indicator on TOYA flashes quickly (conjugation mode)
Mi Home app updated to latest version
The gateway and the socket are in the same room (maximum 2 meters between them)-->
If the outlet was previously connected to another system (such as Tuya or SmartThings), reset to factory settings:
1. Press and hold the button on the socket for 10-15 seconds.
2. the indicator will first go out, then blink 3 times - this is a signal of a successful reset.3. Step-by-step instructions: how to add TOYA Mi Home
The socket connection process TOYA Xiaomi's gateway is different depending on the gateway model. Below is a universal instruction that is suitable for most cases.
Step 1: Adding the device via Mi Home
- Open the Mi Home app and go to the Devices tab β Add the device.
- Select the category Other devices (or ZigBee devices, if such option exists).
- Click Add Manual (or Other), then select ZigBee.
- The gateway will start looking for the devices. Hold the button on the socket. TOYA, until the indicator flashes quickly.
Step 2: Selecting a Device Profile
If the socket is successfully found, the app will prompt you to choose its type.
- πΉ TOYA It is displayed in the list β select its model (for example, TOYA Smart Socket ZB).
- πΉ TOYA No β select Another Device or Aqara Smart Plug (this is a temporary solution, you can change your profile later).
- πΉ Device not found β go to the problem solving section.
Step 3: Set up the room and name
After addition:
- Assign a room to the outlet (for example, a kitchen or a living room).
- Give a unique name (e.g., a teapot) TOYA Or the TV Rosetta).
- Check the work: turn on / off the socket through the application. If there is no reaction, see section 5.
π‘
If the socket is added as "Unknown device", do not delete it! Try changing the profile manually: go to the device settings β Three dots in the upper right corner β Change the type. Select "Aqara Smart Plug" or "TOYA Smart Socket (if it will appear after the gateway update).
4. Alternative ways of connecting (if the standard method does not work)
If the socket TOYA Not determined by Mi Home, try one of the following methods:
Method 1: Forced addition via Aqara Hub M2
Aqara Hub Gateway M2 It has a hidden function of adding non-certified ZigBee devices:
- Go to Gateway Settings. β Additionally. β Developer mode.
- Activate the option to Allow the addition of uncertified devices.
- Repeat the process of adding the socket (see Section 3).
Method 2: Connecting with Home Assistant + Zigbee2MQTT
If you have a Home Assistant installed, you can integrate it. TOYA through Zigbee2MQTT:
- Connect a ZigBee adapter (for example, CC2531 or ConBee II) to the Home Assistant server.
- Add the socket to Zigbee2MQTT web-based.
- Set up integration with Mi Home through MQTT Home Assistant Cloud.
Method 3: Using Tasmota firmware (for advanced users)
Some models TOYA You can reflash on the alternative firmware Tasmota, which supports integration with Mi Home via the MQTT. However, this method requires a soldering iron and skills to work with ESP8266/ESP32.
β οΈ Attention: Fliping the socket TOYA Tasmota voids warranty and can lead to unstable operation, a method recommended only for experienced users who are prepared for possible risks.
| Connection method | Difficulty | Equipment required | Compatibility with Mi Home |
|---|---|---|---|
| Standard addition via Mi Home | β (simple) | Gateway Xiaomi/Aqara | Yes (if the socket is determined) |
| Developer Mode in Aqara Hub M2 | ββ (middle-of-the-road) | Aqara Hub M2 | Yes (even for non-certified devices) |
| Home Assistant + Zigbee2MQTT | βββ (difficult) | ZigBee-adapter, server | Partially (through) MQTT) |
| Tasmota firmware | ββββ (difficult) | Stolen iron, programmer | Yes (via MQTT) |
5. Common Problems and Their Solutions
Even after successfully adding a plug TOYA It can work incorrectly. Let's look at the common mistakes and how to fix them.
Problem 1: The socket is not in the addition
- π Check the power of the gateway and sockets (indicator on the TOYA should flash).
- πΆ Make sure that the distance between the devices is less than 1-2 meters (walls and furniture can block the signal ZigBee).
- π Reboot the gateway (turn off power for 30 seconds).
- π± Update the Mi Home app and gateway firmware.
Problem 2: The socket has been added as an "Unknown device"
This means that the gateway recognized the ZigBee device, but could not identify its model.
- π§ Try changing the type of device manually (see Section 3, Step 2).
- π₯ Update the gateway firmware to the latest version (sometimes new firmware adds device support).
- π Remove the device and add it again, holding the button on the socket longer (10-15 seconds).
Problem 3: The socket is periodically disconnected from the gateway
Causes and solutions:
- π‘ ZigBee weak signal: add a repeater to the network (for example, an Aqara Temperature Sensor or other socket) TOYA).
- β‘ Power problems: connect the socket to another power outlet (sometimes power surges knock the connection down).
- π Gateway overload: If you have more than 30 devices connected to it, some of them may shut down.
Problem 4: The socket does not respond to commands from Mi Home
- π Check if the socket is physically turned on (there is an on/off button on the case).
- π΅ Make sure the gateway is connected to the internet (without the internet, local teams may not be working).
- π Reset the gateway and socket (turn both off power for 1 minute).
- π² Check if the firewall is blocking or VPN Mi Home.
What to do if the socket TOYA burned after connection?
6. Optimization of the socket TOYA in the Xiaomi ecosystem
After successful connection, set up the socket for maximum convenience:
Automation through Mi Home
Create scenarios for automatic control:
- β° Timer: for example, turning on the kettle on weekday mornings at 7:00.
- π‘οΈ Temperature condition: heater activation if temperature is below 20Β°C (Aqara Temperature Sensor is required).
- πͺ Sensor operation: Turning off all sockets when leaving the house (on a signal from a motion sensor or door).
Integration with voice assistants
Rosetta TOYA You can control your voice through:
- π€ Alice (Yandex): connect Mi Home to the service Yandex Smart Home.
- π€ Google Assistant: sync Mi Home with Google Home.
- π€ Siri: Add Mi Home to HomeKit with Home Assistant.
Monitoring of energy consumption
Models. TOYA TR-06ZB and TR-08ZB They support the measurement of power consumption, and they look at the statistics:
- Open the socket card in Mi Home.
- Go to the Energy Consumption tab.
- Set up notifications to exceed the limit (for example, if the power exceeds 1500 watts).
π‘
To accurately measure your power consumption, calibrate the socket every 3-6 months. To do this, disconnect all appliances from the socket, then select Sensor Calibration (if available).
Comparison TOYA With native outlets Xiaomi: which is better?
If you havenβt bought a car and are in doubt about it. TOYA and original solutions Xiaomi/Aqara, Pay attention to the key differences:
| Characteristics | TOYA TR-06ZB | Aqara Smart Plug | Xiaomi Mi Smart Plug |
|---|---|---|---|
| Protocol | ZigBee 3.0 | ZigBee | Wi-Fi |
| Max. Power. | 2200 watts | 2500 watts | 2200 watts |
| Measurement of energy consumption | Yes. | Yes. | Yes. |
| Working without the Internet | Yeah (through the lock) | Yeah (through the lock) | No. |
| Price (average) | ~1500 β½ | ~2000 β½ | ~1200 β½ |
When to choose TOYA:
- πΉ You need a ZigBee outlet, and the original Aqara is not available or roads.
- πΉ You plan to connect powerful appliances (up to 2200 watts).
- πΉ Compatibility with other ZigBee systems (e.g. Home Assistant).
When to choose Aqara/Xiaomi:
- πΉ You want 100% compatibility without dancing with diamonds.
- πΉ You need a HomeKit-enabled outlet (Aqara has such models).
- πΉ You only use the Xiaomi ecosystem and donβt plan to connect devices from other brands.