Modern home automation systems are no longer the preserve of select engineers and have become an accessible tool for every property owner. The central element of such a system is often smart relay, which allows you to remotely control lighting, heating devices, or ventilation via your smartphone. Modules from the company are deservedly considered the most popular devices on the market. Sonoff, thanks to their availability, wide range of models and stable operation.
The process of integrating this equipment into the home network Wi-Fi Requires attention and adherence to a specific procedure. Despite its apparent simplicity, beginners often encounter difficulties pairing the device with a router or mobile app. In this article, we'll cover in detail how to properly prepare the equipment and configure the software. eWeLink and avoid common mistakes during first activation.
Successful setting depends not only on the quality of the relay itself, but also on the parameters of your wireless network. It's important to understand that most budget models Sonoff They operate exclusively in the 2.4 GHz frequency range, which is a critical detail for owners of modern dual-band routers. Ignoring this fact means the phone sees the device but is unable to transmit connection data.
Equipment preparation and compatibility testing
Before starting installation, make sure you have all the necessary components and that they are in good working order. The basic kit includes relay, which can be implemented in various form factors, from miniature flush-mounted modules to full-fledged switches. You will also need a smartphone with an operating system Android or iOS, having access to the Internet.
A critical step is to check the characteristics of your wireless network. As mentioned, the communication protocol of most devices in the line Sonoff Basic, Mini or TH Doesn't support the 5 GHz standard. If your router broadcasts the same network with the same name for both bands (Smart Connect feature), the setup process may not work correctly.
β οΈ Attention: Before starting setup, temporarily separate the 2.4 GHz and 5 GHz networks in the router settings by giving them different names, or force the phone to connect to the 2.4 GHz network.
It is also worth deciding in advance where to install the device. Signal Wi-Fi The signal strength at the installation site must be stable, as communication modules consume power in bursts and, if the signal is weak, may constantly reconnect or lose connection with the server. To check the signal strength, you can use any Wi-Fi analyzer app on your smartphone by holding it close to the proposed installation site.
- π± A smartphone with the app installed eWeLink (downloaded from the official Google Play or App Store).
- π A working relay Sonoff and the necessary tools for installation (screwdriver, nippers, electrical tape).
- πΆ A stable 2.4 GHz Wi-Fi network with a known password.
- π 220V power supply for initial testing of the device.
Once you've verified that all components are in place, you can move on to the software. Registering a cloud account is a mandatory step, as it's what synchronizes your phone and the physical device.
Register in the eWeLink app
The main control center for the entire ecosystem Sonoff is a mobile application eWeLinkIt acts as an intermediary between your smartphone and the manufacturer's cloud server, transmitting commands to turn the device on or off. The program should be downloaded exclusively from official sources to avoid the risk of installing modified software containing malicious code.
After installing the app, launch it and select a registration method. The most convenient and fastest way is to log in using your accounts. Google, Apple or Facebook, eliminating the need to remember another password. However, traditional email registration remains relevant and secure.
During the profile creation process, the system will ask you to select a region. For users in the CIS and Europe, the correct server is usually automatically detected, but in rare cases, you may need to select it manually from a list. After confirming your registration via a code sent by email or SMS, you will gain full access to the platform's functionality.
It's important to immediately go to your profile settings after registration and check that the correct interface language and time zone are selected. Correct time display is essential for the app to work. timers and scripts that will run on a schedule. If the time on the server and the device differ, the automation may not be triggered on time.
Physical connection and pairing mode
Before the relay will appear in your phone's device list, it must be put into pairing mode. In this state, the module begins actively broadcasting a signal, allowing the app to discover it on the local network. This applies to different models. Sonoff The procedure for entering this mode may differ slightly, but the general principle remains the same.
Apply power to the device. If the relay is new, it will automatically enter quick setup mode, indicated by the indicator LED rapidly flashing. If the device has been used before or setup does not start automatically, you need to reset the settings. To do this, press and hold the button on the relay body for 7-10 seconds until the indicator LED begins flashing rapidly.
Reset algorithm:1. Provide power.
2. Press and hold the button.
3. Hold for 7-10 seconds.
4. Release when blinking quickly.
There are two main modes for adding a device: "Quick Pairing" and "AP Mode" (Access Point Mode). The first option requires the phone and relay to be on the same Wi-Fi network and is preferred by most users. The second option is used if automatic detection fails and requires temporarily switching the phone to the network created by the relay itself.
- π΅ Quick: The indicator is flashing quickly, the phone is on the 2.4 GHz network, the Wi-Fi password is entered correctly.
- π’ AP Mode: The indicator flashes slowly, the phone connects to the ITD-SmartLife-XXXX network to transfer settings.
- π΄ Error: If the indicator is constantly on or not on, check the power supply and the integrity of the board.
Once you've verified that the indicator is flashing correctly, you can proceed to the final setup stage via the app interface. This is where encryption keys are exchanged and the device is linked to your account.
The process of adding a device to the application
Open the app eWeLink and tap the "+" button in the upper right corner of the main screen. The system will offer several search options: automatic QR code scanning, device search, or manual selection from a list of categories. For novice users, the easiest method is automatic scanning if the relay body has a corresponding barcode.
If you have chosen manual search, find your model in the list, for example, Sonoff Basic or Sonoff MiniThe app will then ask for confirmation (the device's indicator light will flash rapidly). After confirming, select your home Wi-Fi network from the list and enter its password. Be careful when entering the password, as it is case-sensitive.
At this point, the phone will transmit the router's data to the relay, and the connection process will begin. A progress bar will appear on the smartphone screen, displaying the operation status: "Searching for device," "Registering device," and "Initializing." The entire process takes 10 to 40 seconds, depending on signal quality and server load.
βοΈ Checklist for successful setup
Once the process is successfully completed, the relay will be given a default name, such as "Device_001." It's recommended to immediately rename the device to something more descriptive, such as "Hallway Light" or "Boiler," to avoid confusion in the future. You can also assign an icon at this stage for quick visual identification.
Setting up scripts and automation
Once the relay is successfully connected and appears in the device list, extensive opportunities for creating automated scenarios open up. The Scene tab in the application eWeLink allows you to create complex logic circuits that operate without human intervention. This turns a regular relay into a fully-fledged element. smart home.
You can set up a scheduled startup for the device, for example, turning on the aquarium light at 8:00 AM and turning it off at 8:00 PM. More complex scenarios, such as "Loop," allow you to set operating intervals, which is useful for ventilation systems or drip irrigation. All settings are saved in the relay's memory or in the cloud, so they will continue to work even if the phone is turned off.
The Smart Scene function deserves special attention, as it allows you to connect devices from different manufacturers if they support integration through the platform. eWeLinkFor example, a relay can respond to a change in temperature from a sensor. Sonoff TH or to a signal from another smart switch.
| Script type | Function Description | Example of use |
|---|---|---|
| Timer | Single or repeated switching on by time | Turn on the coffee in the morning at 7:30 |
| Loop | Periodic switching on and off | Ventilate the room 10 minutes every hour |
| Countdown | Turning off the device after a specified period of time | Turn off the lights 30 minutes after sleep |
| Conditional triggering | Reacting to events from other devices | Turn on the light when the door is opened |
To implement complex logical conditions, such as "If the temperature is above 25Β°C AND the time is between 10:00 AM and 6:00 PM," a scene builder is used. It allows you to combine multiple conditions using the logical operators "AND," "OR," and "NOT." This gives the user complete control over the home's microclimate and energy consumption.
What are local scripts?
Local scripts run directly within the device or gateway, without requiring access to a cloud server. This ensures instant response and operation even without internet access, but requires a compatible gateway or device with LAN protocol support.
Diagnosing problems and troubleshooting errors
During operation or initial setup, situations may arise where the device doesn't respond to commands or displays as "Offline." This is most often due to changes in router settings, a weak signal, or temporary service provider outages. The first step should always be to check the status of other devices on the network.
If the relay is unavailable, try resetting it by briefly disconnecting the power. In 80% of cases, this resolves the Wi-Fi module freezing issue. If the problem persists, it might be worth checking the device logs in the app (if the model supports this feature) or trying reconnecting it to the network.
β οΈ Attention: App interfaces and firmware are subject to update. If you can't find the feature described, check the official documentation on the manufacturer's website or in the "Help" section within the app.
A common mistake is changing the Wi-Fi password or network name (SSID) after setting up devices. Smart relays Sonoff They can't update this data automatically. After changing the router settings, all devices will have to be removed from the app and reconfigured, or you can use the "Move Device" feature (Available Device), if supported by your software version.
If the indicator is red or flashing irregularly, this may indicate a problem connecting to the server. Check to see if your router's firewall or antivirus software on your phone is blocking the connection to the servers. eWeLinkSometimes changing the DNS servers in your router settings to public ones, such as Google's (8.8.8.8), can help.
Advanced Features and Integrations
Ecosystem Sonoff open for integration with popular voice assistants such as Yandex.Alice, Google Assistant And Amazon AlexaThis allows you to control the relay with your voice, which is especially convenient when your hands are full. To activate this feature, go to "Profile" -> "Third-Party Services" and link your accounts.
For advanced users, there is the option to switch devices to the mode LAN ModeIn this mode, control is performed directly over the local network, bypassing the cloud. This significantly speeds up response times (less than 100 ms) and allows home control even without internet access. However, remote control from another network will not be available in this mode without additional configuration.
It is also possible to flash devices with alternative software, such as Tasmota or ESPHomeThis completely eliminates dependence on Chinese servers and gives full control over the device, but requires programming skills and may void the warranty. For most users, standard functionality eWeLink It's more than enough.
To summarize, we can say that the relay connection Sonoff It's a simple process that requires only attention to detail. Proper network preparation, pairing mode selection, and intelligent scenario setup will allow you to create a comfortable and energy-efficient living environment.
Is it possible to control the relay without the Internet?
Without internet access, control via the eWeLink app is impossible, as the command is routed through a cloud server. However, if you configure local control (LAN Mode) or use the physical button on the relay itself, basic functions will remain available. Voice control and cloud-based scenarios will not work.
How many devices can be connected to one account?
There is no official limit on the number of devices in a single eWeLink account. However, the manufacturer recommends not exceeding 200 devices for stable operation. For larger numbers of devices, it is recommended to split them into multiple accounts or use gateways to reduce network congestion.
What to do if the relay does not see the 5 GHz network?
Most Sonoff models (Basic, Mini, TH, etc.) have Wi-Fi modules that operate only at 2.4 GHz. They are physically unable to detect 5 GHz networks. You'll need to switch your phone to the 2.4 GHz network or configure a guest network on your router for this frequency during the initial setup.
Is Sonoff safe to use for high power appliances?
Yes, as long as the appliance's power doesn't exceed the relay's rating (usually 10A or 16A, as indicated on the relay housing). For very powerful appliances (electric boilers, instantaneous water heaters), it's recommended to connect the relay via a contactor so that the relay controls only the contactor coil and not the high current directly.