Sonoff Basic smart relays have been the gold standard in DIY automation for years, allowing you to transform a regular outlet or light switch into a smartphone-controlled device. The integration process Sonoff Basic Connecting to your home network can seem daunting to a beginner due to the abundance of technical jargon and different firmware versions, but in reality, it only takes a few minutes with the right approach. In this article, we'll cover every step in detail, from preparing the equipment to the intricacies of configuring access point (AP) mode if the standard method doesn't work.
Before setting up, make sure your router supports 802.11 b/g/n Wi-Fi standards at 2.4 GHz, as newer Sonoff models and older chips often fail to detect 5 GHz networks. It's also important to ensure geolocation is enabled on your smartphone, as Android and iOS operating systems require this permission to share Wi-Fi network data with apps. Modern versions Smart home apps have become more security-conscious, so ignoring this step is the most common reason for first-time failures.
If you plan to use the device as a light switch, be sure to first de-energize the 220V network to avoid short circuits or electric shock. The device contains high voltage, which is dangerous to life, so all manipulations with wires should be carried out only with the circuit breaker in the panel turned off. After the device is safely installed in a wall box or flush-mounted electrical outlet, you can move on to the software part.
Preparing for the first launch and installing the application
The first step in creating a smart ecosystem is installing the control software. For Sonoff devices, the primary and most functional app is eWeLink, which is available in the App Store for iOS and Google Play for Android. Download the official app, avoiding third-party modifications that may contain malicious code or interact incorrectly with the manufacturer's servers.
After installation, you'll need to register an account using your email or phone number. This account will serve as your key for accessing your devices from anywhere in the world, so use a strong password. During the registration process, the system may request confirmation via SMS or emailβthis is a standard verification procedure to protect your data.
- π± Download the app eWeLink from the official store of your operating system.
- π§ Register a new account using a valid email address or mobile phone number.
- π Confirm your registration using the code sent by the security system.
- π Make sure your smartphone is connected to your home Wi-Fi network (2.4 GHz only).
The app's interface may seem overwhelming, but to get started, all we need is the device addition section. Tap the "+" icon in the upper right corner of the main screen. The system will offer several ways to add devices: quickly scan a QR code, search the local network, or manually select from a list. Sonoff Basic Manual selection or quick add mode works best if the device is in pairing mode.
Putting the device into pairing mode
The key to a successful connection is to put the controller into connection standby mode. On the classic model Sonoff Basic (often referred to as R2) to do this, you need to hold down the only black button on the case for 5-7 seconds. The status indicator will begin to rapidly flash blue, indicating that the mode has been switched on. Fast Pairing.
β οΈ Attention: If the indicator flashes slowly (once every 2-3 seconds), the device is in Access Point Mode (AP Mode). To enter Quick Reprogramming Mode, press the button 5 times in a row or hold it for more than 10 seconds until the mode changes to rapid flashing.
In the newer model Sonoff Basic R3For devices equipped with an OLED display, the procedure may vary. A long press or a combination of actions described in the specific revision's manual is often used. If the standard hold doesn't work, try performing a factory reset by holding the button for more than 10 seconds until the indicator light flashes five times.
After activating the fast blinking mode, you only have two minutes for the app to find the device. If you don't, the relay will exit pairing mode to save power, and you'll have to repeat the process. In the app, select "Quick Pairing Mode," enter your Wi-Fi network password, and wait for the search to complete.
βοΈ Checklist before connecting
Configuration via Access Point Mode (AP Mode)
Sometimes the router or network security settings block the standard connection process, and the device isn't in quick pairing mode. In such cases, AP Mode comes to the rescue, simulating the controller creating its own Wi-Fi network. To enter this mode, quickly press the relay button five times in a row. The indicator light should begin flashing slowly, approximately once every 2-3 seconds.
When adding a device in the eWeLink app, select the "AP Pairing Mode" option. The system will prompt you to go to your smartphone's Wi-Fi settings and connect to a network with a name like ITEAD-XXXXXXOnce connected to this network, return to the eWeLink app, which will automatically continue transferring data about your home router to your device.
This method is more reliable, as it eliminates password transmission errors and allows the device to "get acquainted" with the network on its own. However, it requires switching Wi-Fi on the phone, which can be inconvenient if you don't have mobile data to return to the app.
Why is AP mode more reliable?
AP (Access Point) mode creates a direct communication channel between the phone and the device, bypassing the router's complex algorithms. This is especially useful if the router has AP Isolation enabled or is using specific WPA3 security settings that older ESP8266 chips may not handle correctly in automatic mode.
Firmware and software update
Immediately after successfully connecting to the internet, the device may prompt you to update the firmware. Ignoring this step is not recommended, as new software versions eWeLink Contains security fixes and connection stability improvements. The update process takes 1 to 3 minutes, during which time the relay will be unavailable for management.
During the firmware update, the indicator may be constantly on or blink at a different frequencyβthis is normal. It is strictly forbidden to disconnect the power from the device during this process, as interrupting the data writing to the flash memory may brick the device, requiring a firmware update via the UART console.
| Indicator status | Meaning of the state | User action |
|---|---|---|
| Fast blinking | Quick pairing mode | Add via Quick Pairing |
| Slow blinking | Access Point (AP) mode | Switch to ITEAD-... network |
| It's on constantly | Device online / Firmware | Do not turn off the power |
| It doesn't burn. | No power or sleep mode | Check the 220V circuit |
Once the update is complete, the app will automatically reboot the relay, and it will appear in the list of devices on the main screen. Now you can rename it, assign a room, and begin setting up automation scenarios.
Integration with voice assistants and ecosystems
One of the main advantages of the platform eWeLink The ability to integrate with popular voice assistants such as Yandex Alice, Google Home, and Amazon Alexa is a key feature. To activate this feature, go to "Profile" -> "Third-Party Services" and link your accounts. This will allow you to control the lights with your voice or create complex scenarios not available in the standard app.
When linking to Yandex, it's important to name your devices correctly to ensure voice control works properly. Use clear names, such as "Hallway Light" or "Living Room Lamp," and avoid complex symbols and numbers. After linking your accounts, your devices will automatically sync, and you'll be able to find them in the smart home app.
- π£οΈ Open the "Third-Party Services" section in your eWeLink profile.
- π Select the desired assistant (Yandex, Google, Alexa).
- π Log in using your eWeLink account login and password.
- π Allow access to devices and wait for synchronization.
It's worth noting that cloud-based voice control requires a stable internet connection. If your router loses connection to the global network, voice commands will not work, although local Wi-Fi control may still work depending on your LAN mode settings.
Diagnosing problems and troubleshooting errors
Despite its simplicity, the connection process can encounter technical obstacles. The most common error is "Device Timeout." This means the app didn't receive a response from the relay within the allotted time. This is most often caused by a weak Wi-Fi signal at the relay's location or incompatible encryption standards.
If your router broadcasts a network with the same name (SSID) for both the 2.4 GHz and 5 GHz bands, your smartphone may attempt to transmit the 5G network password to a device that doesn't understand it. Temporarily separate the networks in your router settings by giving them different names, for example, HomeWiFi And HomeWiFi_5G, and connect your phone to the network without a 5G set-top box.
β οΈ Attention: Router interfaces and app versions are constantly updated. The location of frequency splitting or encryption type settings may differ from those described. Always consult the official documentation for your router model if standard methods don't help.
Issues can also arise due to MAC address spoofing in iOS or the use of random Wi-Fi addresses in Android. For proper smart home operation, it is recommended to disable this feature for the network to which you are connected. Sonoff Basicto ensure that the device's IP address does not change and that the automation rules operate stably.
Why can't Sonoff Basic see my Wi-Fi network?
Most likely, your router is operating in 5 GHz-only mode or is using the Wi-Fi 6 (802.11ax) standard in a mode incompatible with older chips. Make sure the 2.4 GHz network is enabled and not hidden (Hidden SSID). Also, check that the network name and password do not contain Cyrillic or special characters.
How to reset Sonoff Basic to factory settings?
To perform a full reset (Clear Config), hold the button on the device for more than 10 seconds until the indicator flashes quickly 5 times. After this, the network configuration will be cleared and the device will enter quick pairing mode.
Can I use Sonoff Basic without internet?
Yes, if you enable LAN mode in the eWeLink app settings (Profile -> eWeLink LAN). However, voice control and external remote access will not work. Control is only possible within the local network.
What is the maximum load of Sonoff Basic?
The standard Basic R2 model is rated for up to 10 amps (approximately 2.2 kW at 220V). Exceeding this load will result in overheating and possible failure of the relay contacts. For higher-power devices, use models rated 16A or connect them via a contactor.