How to connect the switch Xiaomi Yeelight to a smart lamp or lamp: instructions with photos and tips

Xiaomi Yeelight wireless switches have become one of the most popular smart lighting solutions: they allow you to control lamps without laying additional wires, integrate into the Mi Home ecosystem and support voice control through Alice, Google Assistant or Siri. But many users face difficulties when connecting for the first time: the device does not find the lamp, the switch does not respond to presses or quickly discharge.

The concept is simple: the switch communicates with the lamp via Bluetooth Mesh or Wi-Fi (depending on the model), and the control is through the application or physical buttons. However, there are nuances: for example, Yeelight Wireless Switch requires a Xiaomi Gateway for full operation, while new models like the Yeelight Smart Switch Pro can do without it. We will analyze both options, and also tell you how to connect the switch to other brands of lamps (if they support the Matter or Zigbee standard).

Before proceeding, check the equipment: the box should be the switch itself, the fastening plate (or double-sided tape), the battery. CR2032 If you don't have a battery, you'll have to buy it separately, because you don't have it, and you'll also have a smartphone with the Mi Home app installed (version at least 6.5.4), and make sure that the lamp you're planning to plug in is compatible with the switch. For example, Yeelight. LED Ceiling Light or Yeelight Bulb are perfect, but Philips Hue lamps will require additional settings.

═══

1. What Xiaomi Yeelight switches are and how they differ

Yeelight's switch line includes several models, each designed for different use cases, with major differences in communication protocols, gateway requirements, and number of devices managed.

  • πŸ”˜ Yeelight Wireless Switch is the simplest single-button model. It runs on Bluetooth Mesh, requires a Xiaomi Gateway for remote control. It is suitable for turning on/off a single lamp or group.
  • πŸ”² Yeelight Smart Switch Pro (square) is a two-button model with Wi-Fi and Bluetooth support. It can work without a gateway, but it requires a lamp with Yeelight Interconnect support (for example, Yeelight). LED Strip Plus).
  • πŸ”§ Yeelight Cube Switch is a 6-sided cube switch for controlling multiple devices. Uses Zigbee, so it requires a Mi Gateway 3 gateway.
  • πŸ’‘ Yeelight Bedside Lamp Switch is a specialty model for bedside lamps, has a built-in light sensor and works only with Yeelight lamps.

The most versatile model is the Smart Switch Pro, as it is not tied to the gateway and supports more features (such as brightness or color adjustment). However, if you already have a Xiaomi ecosystem with a gateway, you can save money and take the Wireless Switch. Note: Yeelight switches are not compatible with lamps that are controlled only via Wi-Fi (for example, some Tuya models), if they do not support the Matter protocol.

The models also differ in the type of attachment:

  • 🧲 Magnetic (for metal surfaces).
  • πŸ“Œ Double-sided Scotch (for walls or furniture).
  • πŸ”© On screws (for permanent installation).
πŸ“Š What Yeelight switch you are using?
Round Wireless Switch
Quadrant Smart Switch Pro
Cube Switch Cube
Other (write in the comments)

═══

Preparation for connection: what to do before installation

Before you start setting up, follow a few mandatory steps to avoid typical problems like β€œcan’t see the device in the application” or β€œthe switch does not respond to presses”.

1. Check the compatibility of the lamp and the switch. For example, Yeelight Wireless Switch only works with lamps that support Bluetooth Mesh (the list is available on the manufacturer's website). If your lamp is controlled only over Wi-Fi, the switch will not see it.

2. Update the lamp firmware. Go to the Mi Home app, select your lamp, open Settings. β†’ Firmware update: Outdated software can cause conflicts when linked to a switch.

3.Make sure the lamp is on and connected to the Wi-Fi network.The switch will not be able to find the lamp if it is off or in mode. AP Mode (flashing yellow).

4. Prepare your smartphone:

  • πŸ“± Turn on Bluetooth and Wi-Fi.
  • πŸ”„ Update the Mi Home app to the latest version.
  • πŸ“ Allow the application to access geolocation (need to search for devices).

⚠️ Warning: If you connect the switch to a lamp that is already linked to another Mi Home account, delete it from your previous account first.

Also check the battery charge in the switch. If the indicator on the device does not burn when pressed, replace the battery. CR2032. In some models (such as the Cube Switch), the battery comes with a kit, but it can be discharged after long storage.

Update the lamp firmware|Enable Bluetooth and Wi-Fi on your smartphone|Make sure the lamp is plugged into the socket|Check the battery charge in the switch|Remove the lamp from other Mi Home accounts (if necessary)-->

═══

3. Step-by-step instruction: how to connect the switch to the Yeelight lamp

Consider the process using the Yeelight Smart Switch Pro (square model). For other switches, the steps will be similar, but small details may differ (for example, how to activate the binding mode).

Step 1: Install the battery and activate the switch.

  1. Remove the back cover of the switch (podpodit it with a nail or a flat screwdriver).
  2. Put the battery in. CR2032 plus.
  3. Close the lid. The indicator should flash blue, which means that the device is ready to bind.

Step 2. Add a switch to the Mi Home app.

    Step 3. Link the switch to the lamp.

    1. In the application, go to the switch settings (Device) β†’ Settings β†’ Link to the lamp).
    2. Select the lamp from the list (it must be enabled and connected to the same Mi Home account).
    3. Confirm the binding. The lamp should flash, and the switch should beep.

    If the switch does not find the lamp:

    • πŸ”„ Reset the lamp (turn off/on power for 10 seconds).
    • πŸ“Ά Check that the smartphone and lamp are connected to the same Wi-Fi network.
    • πŸ”‹ Make sure that a working battery is installed in the switch.

    For models that require a gateway (like the Wireless Switch), first add the Xiaomi Gateway to the app and then plug the switch through it.

    What if the switch does not communicate with the lamp?
    If all the steps are done correctly but the coupling is not happening, try resetting the switch. 1. Remove the battery for 10 seconds. 2. Put it back and hold the button for 10 seconds until the indicator flashes red quickly. 3. Repeat the connection process again. If the problem persists, check if your lamp supports Bluetooth Mesh protocol (this is indicated in the specifications on the Yeelight website).

    ═══

    Switch settings: scripts, shortcuts and voice control

    Once you've connected successfully, you can customize the switch to your own needs, like programing different actions to do one, double or long pressing.

    1. Customization of button actions.

    1. In the Mi Home app, select your switch.
    2. Go to Settings. β†’ Button management.
    3. For each button (or side of the cube) select the action: πŸ’‘ Turn the lamp on/off. 🌈 Change color or brightness. πŸ”„ Switch the script (e.g., "Reading" or "Evening"). πŸ”Œ Manage another smart socket or device.

    2. Creating scenarios.

    Scenarios allow you to automate lighting, for example, you can set it up so that if you double-push the switch, the lamp turns on at 50% brightness with warm light.

    1. At Mi Home, go to Automation. β†’ Scripts.
    2. Press Add Add Add. β†’ Manual control.
    3. Select the switch and action (e.g. Double press).
    4. Add a command for the lamp (brightness, color, temperature).

    πŸ’‘

    If the Yeelight Smart Switch Pro switch is permanently disconnected from Wi-Fi, try assigning it a static switch. IP-address in the router settings, which will help avoid problems with reconnecting after rebooting the network.

    ═══

    6.How to connect a Yeelight switch to lamps of other brands

    Officially, Yeelight switches are designed to work with lamps of the same brand, but some models support the Matter or Zigbee standard, which allows you to control devices from other manufacturers.

    1. Through the Matter standard.

    If your lamp and switch support Matter (like Yeelight Smart Switch Pro and Philips Hue), they can be linked via the Google Home or Apple Home app:

    1. Add both devices to Google Home.
    2. Create automation: If the Yeelight switch is pressed β†’ turn on the Philips Hue lamp.

    2.Across the Xiaomi Gateway.

    If you have a Mi Gateway 3 gateway, you can connect lamps of other brands to it (for example, Aqara or other devices). IKEA Tradfri) and controlled by a Yeelight switch:

    1. Add the lamp to the Mi Home through the gateway.
    2. In the switch settings, select Connect with the device and specify the added lamp.

    3. Through Home Assistant.

    For advanced users, the best option is Home Assistant, which allows you to integrate devices from different brands and create complex scenarios:

    1. Install Home Assistant on a Raspberry Pi or other server.
    2. Add integrations for Yeelight and another brand (like Tuya).
    3. Set up automation that connects the switch and the lamp.

    ⚠️ Note: When connecting devices of different brands, there may be a delay in reaction (up to the previous one). 1-2 This is due to the features of the Zigbee and Matter protocols.

    πŸ’‘

    For stable operation of the Yeelight switch with lamps of other brands, it is better to use the Xiaomi Gateway or Home Assistant system. Direct connection without a gateway is possible only with Matter support.

    ═══

    7. Alternative ways of management: without a smartphone and the Internet

    Yeelight switches can work without a permanent connection to the Internet or smartphone.

    1. Local control via Bluetooth.

    Bluetooth Mesh-enabled models (such as the Wireless Switch) can control the lamp directly, without the cloud.

    1. Connect the switch and lamp in the Mi Home app (as described above).
    2. Turn off your smartphone from the internet.
    3. Check that the switch continues to work (the lamp must respond to presses).

    2. Control through the Xiaomi Gateway.

    If you have a Xiaomi Gateway, all the commands will be processed locally, without depending on the Internet, and the gateway acts as a hub that transmits signals from the switch to the lamp.

    3. use of physical buttons without linking to the account.

    Some models (such as the Yeelight Smart Switch Pro) can run in Offline Mode:

    1. Connect the switch to the lamp in the application.
    2. Remove the switch from your Mi Home account (but don’t reset it!).
    3. The switch will retain the binding to the lamp and will control it without a smartphone.

    However, in this case, you will lose the ability to remotely control through the application or voice assistants.

    ═══

    8. Comparison with switches of other brands: which is better?

    Yeelight switches aren’t the only smart lighting solution, but let’s look at the pros and cons of these switches against the alternatives from Aqara, Philips Hue and Tuya.

    BrandProtocolLock requiredPrice (from)PlusesCons
    Xiaomi YeelightBluetooth, Wi-Fi, ZigbeeDepends on the model.1 200 β‚½Low price, integration with Mi Home, easy installationNot all models work without a gateway, limited compatibility with other brands
    AqaraZigbeeβœ… Yes.1 500 β‚½Stable work, support for HomeKit, a wide range of productsDemands a gateway, more expensive than Yeelight
    Philips HueZigbeeβœ… Yes.2 500 β‚½High quality, Matter support, extensive automation capabilitiesIt is very expensive to use the Hue Bridge.
    Tuya/Smart LifeWi-Fi❌ No.800 β‚½Cheap, operating without gateway, wide compatibilityCloud dependency, possible delays

    When to choose Yeelight?

    • πŸ’° If you need a budget solution with basic features.
    • 🏠 If you already have a Xiaomi ecosystem (lamps, gateway, sensors).
    • πŸ”„ If you do not need complex automation, it is enough to turn on / off the lights.

    When to choose an alternative?

    • πŸ”§ If you want reliability and minimal latency (e.g. Aqara or Philips Hue).
    • 🌐 If you want to operate lamps of different brands without additional hubs (Tuya).
    • 🍎 If you want to integrate with HomeKit (better Aqara or Philips Hue).

    ═══

    FAQ: Frequent questions about Xiaomi Yeelight switches

    Can I connect one switch to several lights?
    Yes, but the method depends on the model: Yeelight Wireless Switch: you can associate with a group of lamps in Mi Home (gateway required). Yeelight Smart Switch Pro: supports control of multiple lamps without a gateway (configured in the application).
    How to reset the Yeelight switch to factory settings?
    Reset method depends on the model: For Wireless Switch and Smart Switch Pro: Remove the battery for 10 seconds, then insert it back and hold the button for 10 seconds until the indicator flashes red. For Cube Switch: shake the cube 3 times in a row. After reset, the switch must be re-addressed to Mi Home.
    Why does the Yeelight switch not work after the firmware update?
    This may be due to the incompatibility of the new firmware with your lamp. Try: roll back the lamp firmware (if you can in the Mi Home); reset the connection between the switch and the lamp, then reconnect them; call Yeelight with device models and firmware versions; if the problem persists, wait for the next update - often bugs are fixed in new versions.
    Can I use a Yeelight switch on the street?
    No, all Yeelight models are for internal use only. They don't have moisture protection (IP-They can fail when water is injected or temperatures drop. For the street, it is better to choose specialized switches (for example, Aqara Outdoor Switch).
    How to increase the range of the switch?
    The range depends on the protocol: Bluetooth Mesh: up to 10 meters in line of sight. To increase the range, add other Xiaomi devices (such as sensors or lamps) to the network - they will relay the signal. Wi-Fi: depends on the power of the router. If the signal is weak, use a Wi-Fi repeater. Zigbee: up to 30 meters, but requires a gateway. For stable operation, place the gateway closer to the switch. Also avoid interference: do not install the switch next to microwaves, routers or other sources of electromagnetic waves.