Setting up Wi-Fi on Sonoff devices: a complete guide from connection to troubleshooting

Smart relays Sonoff from the brand ITEAD They allow you to remotely control household appliances via a smartphone, but connecting them to Wi-Fi for the first time often raises questions for users. Without proper network configuration, the device will not be able to connect to the cloud server. eWeLink, which means it will remain a useless "brick" with a button on the body. In this article, we'll look into it. all stages of connection — from preparing the router to solving typical errors like Device offline or infinite indication AP Mode.

Feature of the devices Sonoff (be it Basic R3, Mini or TH16) is that they do not support connection to networks with double authentication (e.g. corporate Wi-Fi with a capture portal) and require 2.4 GHz bandIf your router only works in wireless mode 5 GHz or uses complex security settings, you'll need to temporarily change them. We'll show you how to do this without risking other devices on the network.

Before you begin setup, make sure you have the following on hand:

📊 Which Sonoff model are you setting up?
Sonoff Basic
Sonoff Mini
Sonoff TH16
Sonoff Pow
Another model

1. Preparing the router: why Sonoff can't see your network

Most connection issues Sonoff Wi-Fi issues arise due to incompatible router settings. Devices in this series only support WPA/WPA2-PSK security standards And don't work With:

  • 🔒 Networks with WPA3 (you'll have to temporarily switch back to WPA2)
  • 📡 Range 5 GHz (only 2.4 GHz)
  • 🔄 Hidden SSID (network name must be visible)
  • 🛡️ Networks with MAC address filtering (if enabled, add the device's MAC address in advance)

To check your current settings:

  1. Open your router's control panel (usually at 192.168.0.1 or 192.168.1.1).
  2. Go to the section Wireless Network (Wi-Fi) → Security Settings.
  3. Make sure it is selected WPA2-PSK and encryption AES.
  4. If the router supports guest network, create a separate access point with a simple password (without special characters) specifically for setting up Sonoff.

Important: After successful connection Sonoff You can reset your router settings. The device will remember your network settings and connect automatically.

Official app eWeLink (available for Android And iOS) is the only legal way to manage devices SonoffDownload it from App Store or Google Play, avoiding third-party sources. After installation:

  1. Register an account (you can do this via email or phone).
  2. Select your server region. This option is best for Russia and the CIS. Asia (less delays).
  3. Click + → Add Device in the upper right corner.

The application will offer two options for adding:

  • 🔌 Easy Mode (recommended for beginners) - automatic connection via network data transfer from a smartphone.
  • 📡 AP Mode — manual entry of Wi-Fi parameters (necessary if Easy Mode did not work).
What should I do if eWeLink doesn't detect the device?

If after several attempts Sonoff does not appear in the list of available devices, check:

- Is Bluetooth enabled on your smartphone (needed for Easy Mode).

- Does the antivirus block the application's access to the network?

- Is a VPN being used (disable it during setup).

If you have Sonoff Mini or Basic R3, before adding a device to the application, you need to transfer it to pairing modeTo do this:

  1. Connect the device to power (for Basic — 90–250V, for Mini — 5V via USB or power supply).
  2. Press and hold the button on the case 5-7 secondsuntil the indicator starts flashing quickly (mode AP Mode).

3. Step-by-step instructions: Connecting Sonoff to Wi-Fi

Let's look at both ways of adding a device to eWeLink.

Method 1: Easy Mode (automatic)

  1. In the application, select Easy Mode and confirm access to geolocation (needed to search for devices).
  2. Make sure your smartphone is connected to the same Wi-Fi network you want to connect to. Sonoff.
  3. Click Next and wait for the application to find the device (may take up to 30 seconds).
  4. Enter your Wi-Fi password and confirm adding.

Method 2: AP Mode (manual)

If Easy Mode didn't work:

  1. Translate Sonoff in mode AP Mode (fast blinking indicator).
  2. On your smartphone, connect to the Wi-Fi network named ITEAD-100XXXXXXX (no password required).
  3. Return to eWeLink, select AP Mode and follow the instructions (the application will prompt you to enter the password for your main network).

Critical detail: if the app freezes at 99% after connecting in AP Mode, do not interrupt the process. Wait 2-3 minutes—the device often connects with a delay.

Device in AP Mode (indicator blinking)|

Smartphone connected to ITEAD-100XXXXXXXX|

Wi-Fi password without Cyrillic and special characters|

The router operates in the 2.4 GHz range|-->

4. Common mistakes and their solutions

Even with the correct settings Sonoff It may not connect to Wi-Fi. Let's look at the most common issues:

Error Cause Solution
Device offline in eWeLink The device connected to Wi-Fi but failed to communicate with the server. Reboot Sonoff (Turn the power off/on). Check the internet connection on the router.
The indicator is on but not flashing. The device is already linked to another account. Reset settings (press and hold the button for 10 seconds until it blinks slowly).
Can't find the network ITEAD-100XXXXXXX The smartphone does not support AP Mode or blocks the connection Try a different phone or disable power saving for Wi-Fi.
Error Network configuration failed Incorrect Wi-Fi password or incompatible router settings Check your password. If that doesn't help, change the encryption type to WPA2-PSK (AES).

If the device connects, but intermittently falls off from the network, check:

  • 📶 Wi-Fi signal strength at the installation location Sonoff (must be not less than 70%).
  • ⚡ Power supply stability (for Mini — minimum 5V 1A).
  • 🔄 Interference from other devices (microwaves, cordless phones).

Official app eWeLink Requires mandatory registration and relies on cloud servers. If this doesn't suit you, there are two workarounds:

Method 1: Flashing Tasmota

Open firmware Tasmota allows you to control Sonoff Locally, without the cloud. To install:

  1. Download the firmware from official website (version for your model).
  2. Connect Sonoff to the computer via USB-TTL adapter (needed for firmware).
  3. Use the program Tasmotizer or esptool to download the firmware.

After flashing, the device will be accessible via a local IP address (for example, 192.168.1.100). You can manage it via a web interface or integrate it with Home Assistant.

Method 2: Local eWeLink Server

Company ITEAD offers a solution eWeLink LAN Mode, which allows you to manage devices without the cloud, but with limitations:

  • ✅ Works without internet.
  • ❌ No push notifications or remote access.
  • ⚠️ Requires manual activation in the app settings (Me → LAN Control → Enable).

6. Setting up automation and integration with other systems

After successfully connecting to Wi-Fi Sonoff can be used for:

  • ⏱️ Timers and schedules (for example, turning on the light at 18:00).
  • 🌡️ Smart scenes (turn on the heater if the temperature is below 20°C - for Sonoff TH16).
  • 🤖 Integration with voice assistants (Alice, Google Assistant, Alexa).

To set up automation in eWeLink:

  1. Open the device card in the app.
  2. Go to the tab Timer or Smart Scene.
  3. Create a rule, for example:
    IF [Temperature < 18°C] THEN [Turn on Sonoff TH16]

To integrate with Google Home:

  1. IN eWeLink go to Me → Third Party Services → Google Assistant.
  2. Sign in with your Google account and sync your devices.
  3. In the appendix Google Home A new device that can be controlled by voice will appear.
How to reset Sonoff to factory settings?

1. Turn off the power of the device.

2. Press the button on the body.

3. Connect the power supply without releasing the button for 10 seconds.

4. The indicator should start flashing slowly - the reset is complete.

7. Security: How to protect Sonoff from hacking

Devices Sonoff By default, data is transferred via the cloud eWeLink, which creates potential risks. To improve security:

  • 🔐 Use complex passwords for account eWeLink (at least 12 characters with numbers and special characters).
  • 🌐 Disable LAN Mode, if you do not use local control (in the application settings).
  • 🔄 Update your firmware through eWeLink (chapter Firmware Update).
  • 🛡️ Set up a guest network For Sonoff, separating it from the main network with personal data.

If you have flashed Tasmota, Necessarily:

  1. Change the default login/password (admin/admin) on your own.
  2. Turn it off OTA Updates in the settings if you don't plan on remote updates.
  3. Set up Firewall on the router to restrict access to the device from the outside.

8. Frequently asked questions and answers

Is it possible to connect Sonoff to Wi-Fi without a smartphone?

Yes, but only through alternative firmware like Tasmota or ESPHome. Official application eWeLink Requires mandatory authorization from a smartphone. To flash the firmware, you will need USB-TTL adapter and computer.

Sonoff connects to Wi-Fi, but eWeLink shows "Offline." What should I do?

The problem is typical for users from Russia and is related to the blocking of cloud servers. eWeLinkSolutions:

  1. Turn on LAN Mode in the application settings (works only in a local network).
  2. Use VPN on your smartphone (server in Hong Kong or Singapore).
  3. Sew it Tasmota for complete autonomy from the cloud.
What kind of power supply does Sonoff Mini need?

For stable operation Sonoff Mini a power source with the following parameters is required:

  • 5V voltage;
  • 1A (1000mA) current (minimum) 500mA, but failures under load are possible).

Do not use smartphone chargers with Quick Charge - They can damage the board due to power surges.

Can Sonoff be controlled via Home Assistant?

Yes, there are two ways:

  1. Via eWeLink: use the official plugin HACS (requires an account) eWeLink).
  2. Via Tasmota: add device as MQTT-client (setting in configuration.yaml).

For Tasmota component is also available Tasmota integration (installed via Settings → Devices & Services).

Sonoff Basic isn't responding to the button. How do I reset it?

If the button doesn't work, try:

  1. Turn off the power for 30 seconds, then turn it on again.
  2. If the indicator does not light, check the input voltage (there should be 90–250V For Basic).
  3. To perform a hardware reset, short the contacts GPIO0 And GND when turning on the power (you need a soldering iron or tweezers).

If none of the methods helped, the controller may be faulty. ESP8266In this case, you will need to replace the board or purchase a new device.