Skip to content
Open seenzus

eWeLink Device Integration Tutorial

eWeLink (Sonoff) device integration is for connecting Sonoff and other devices provisioned with the eWeLink app to Home Assistant. This tutorial installs the “Sonoff LAN” integration via HACS, then completes the setup with an eWeLink account.

ItemOSCoreSonoff
Version17.02025.2.1

Before you start, make sure:

  • HACS is installed. We recommend reading “How to Use HACS” before following this tutorial.
  • Your devices have been added to the eWeLink app and provisioned.
  • You have an eWeLink account (the phone number must include the +86 country code).

Open HACS, search for Sonoff LAN, open it, and click Download.

Step 1 screenshot


Go to Settings > ︙ (top-right menu) > Restart Home Assistant > Restart Home Assistant > Restart so the newly downloaded integration takes effect.

Step 2 screenshot


Go to Settings > Devices & Services > Integrations > Add Integration and search for sonoff.

Step 3 screenshot


Step 4: Enter Your Account and Password to Finish

Section titled “Step 4: Enter Your Account and Password to Finish”

Enter your account (make sure to include +86) and password, click Submit, then click Finish.

Step 4 screenshot


ProblemSolution
Cannot find the Sonoff integrationMake sure you have downloaded “Sonoff LAN” in HACS and fully restarted Home Assistant (Step 2).
Login failsThe account must be a phone number with the +86 country code, and the password must match your eWeLink app login credentials.
Devices missing or offlineMake sure the devices are properly provisioned in the eWeLink app and are on the same local network as HA.

The core eWeLink device integration flow is: download Sonoff LAN in HACS → restart Home Assistant → add the Sonoff integration → enter your eWeLink account (+86) and password to finish. Once done, you can manage your Sonoff devices in Home Assistant.