Sonoff gear is cheap and capable, and the modules are mains work. Here is how to split the job and get the eWeLink side right.
📍 We serve KL, Selangor & Putrajaya.

Sonoff makes the hardware and eWeLink is the app that runs it, and the first question with any Sonoff device is who fits it. Plugs, Zigbee sensors and remotes you can set up yourself. The small modules sold as DIY smart switches go behind a wall switch or inside a fitting, which is mains electrical work, whatever the box says. Get the fitting done properly, then the eWeLink side is a set-up job: account, pairing, LAN Control and scenes. For the wider picture, see smart home installation.
Sonoff is the brand on the device; eWeLink is the app and cloud service it reports to. eWeLink describes its app as the place for pairing, setting and managing every supported device in one app, with scenes built on an if-this-then-that pattern. Other brands also run on eWeLink, so a household can end up with a Sonoff plug and a different brand's sensor in the same app.
If you are still choosing between eWeLink and the other big app platform sold in Malaysia, the Tuya vs eWeLink comparison covers that decision. This page assumes the Sonoff gear is already chosen or already on the wall, and walks through getting it running well.
Sonoff's range is wide, and the set-up path depends far more on the kind of device than on the model number. Sort what you have into these groups before you open the app.
| Kind of device | Where it lives | Who fits it |
|---|---|---|
| Smart plugs | In an existing socket | You plug it in |
| Zigbee sensors and buttons | Stuck on a door, wall or table, on batteries | You place it |
| Gateways and bridges | Near the router, on a plug-in adapter | You place it |
| Small relay modules (sold under DIY Smart Switches) | Behind a wall switch or inside a light fitting | An electrical contractor registered with Suruhanjaya Tenaga |
| Smart wall switches and wall panels | In place of a switch plate | An electrical contractor registered with Suruhanjaya Tenaga |
| Ceiling-fan and appliance controllers | Inside the fan canopy or the appliance supply | An electrical contractor registered with Suruhanjaya Tenaga |
Sonoff's own navigation shows how varied the modules are: a WiFi relay with Matter support, a Zigbee relay sold as needing no neutral wire, and others. Which one suits a given switch box is a question for the person opening the box, together with the no-neutral smart switch guide.
Sonoff files its relay modules under DIY Smart Switches, and plenty of online videos show people wiring them in an evening. In Malaysia, anything that connects into the fixed wiring behind a switch, in a ceiling rose or at an appliance supply is electrical work on the installation. Any mains electrical work, such as a new power point, a change at the distribution board or a hardwired switch that needs new wiring, must be done by an electrical contractor registered with Suruhanjaya Tenaga.
This is why the page you are reading has no wiring steps. The set-up that follows starts from a module that has already been fitted and tested, with the power back on and the cover closed. For smart switches and anything wired into the mains, we supply the devices and set up the app, and the switch or wiring work is done by an electrical contractor registered with Suruhanjaya Tenaga that we coordinate.
Create the eWeLink account in the name of the person who owns the home, with an email address the family will still have in five years' time. Devices are tied to the account that added them, so an account created on an installer's phone or a relative's email becomes a problem the day you need to change a setting.
When pairing stalls at the last step, the cause is usually the router, not Sonoff. The WiFi pairing guide walks through band steering, router settings and the app's alternative pairing mode, so it is not repeated here.
Sonoff's Zigbee sensors, buttons and Zigbee relays do not join your WiFi at all. They pair to a gateway, and only the gateway talks to the router. Add the gateway to eWeLink first, then add each Zigbee device to that gateway from the app. Battery sensors sleep most of the time, so press their button during pairing to wake them.
Zigbee devices that run on mains power pass messages along for the others, so a house with a few Zigbee relays upstairs will usually reach the upstairs sensors better than one with only battery devices. If a sensor keeps dropping off, move the gateway out of the TV cabinet before buying anything new.
By default an eWeLink command goes out to the cloud and back. eWeLink's guide to LAN Control explains that, with it switched on, the app can send supported commands straight to compatible devices over your home network, so they can still be switched from the phone during an internet outage as long as the router is running. It is turned on per device: open the device, tap the settings icon, enable LAN Control, then look for the LAN icon in the device list.
| Cloud control | LAN Control | |
|---|---|---|
| Path of the command | Through eWeLink's servers | Directly over the home network |
| Needs the internet | Yes | Not for supported local commands |
| Control away from home | Yes | No |
| Which devices | Any supported device | Only models and firmware that offer it |
| Common blocker | Internet or service outage | Guest-network isolation on the router |
eWeLink is clear that LAN Control does not make every feature work offline, and that support varies device by device, so check each one rather than assuming the whole brand family has it. Test it by unplugging the internet line with the router still on. The guide to smart homes without internet looks at local control across brands.
Sonoff has its own remote system called eWeLink-Remote. A device with the gateway function receives signals from small eWeLink-Remote buttons and switches, and Sonoff says this local control works even with no internet. Sonoff's page sets two limits worth knowing before you buy: one gateway takes up to 8 sub-devices, and a sub-device can belong to only one gateway.
Not every Sonoff device acts as an eWeLink-Remote gateway, and older models may not support it at all; check the device page before you buy a remote to control it. For a family member who will never open an app, a stick-on button beside the bed is often the feature that gets used most.
Scenes are where eWeLink becomes useful: porch lights on at sunset, the water-heater plug off at midnight, a button that turns off everything downstairs. Keep them simple and name them in plain words. Give every automated device a manual fallback that works without the app.
eWeLink's own LAN Control guide adds two sensible cautions: use smart plugs only with electrical loads they are rated to handle, and do not rely on LAN Control as the only way to monitor or control devices with safety-critical functions. Check the rating printed on any plug before putting a heater, kettle or portable aircon on it.
eWeLink devices are commonly linked to Google Home and Alexa from inside those apps, and some newer Sonoff models are listed as Matter-enabled, which lets them join a Matter controller directly. Homes that outgrow one app often move control into Home Assistant while keeping eWeLink for set-up and firmware. Whichever route you take, keep one app in charge of scenes so two systems do not fight over the same light.
We supply Sonoff devices, set up the eWeLink account in your name, pair plugs, gateways, sensors and buttons, turn on LAN Control where the device supports it, and build the scenes and schedules. Plugs, sensors and gateways we install ourselves. For relay modules, smart wall switches and fan controllers, we coordinate an electrical contractor registered with Suruhanjaya Tenaga for the fitting, then do the app side. We do the smart device, app and low-voltage side of the job.
WhatsApp us your job details for a quote — we reply within the hour. A site visit is free. We serve KL, Selangor & Putrajaya.
💬 WhatsApp for a quoteTell us what you need — we reply within the hour.