Communica

Step-by-Step: Integrating the Sonoff SV WiFi AC/DC Switch with Alexa, Google Home & Home Assistant

Step-by-step guide to integrating the Sonoff SV WiFi AC/DC switch with Alexa, Google Home, and Home Assistant. Includes eWeLink setup, local control with Tasmota, troubleshooting, and South African project ideas.

Person working on electronics
December 11, 2025
9 min read

Platform Integration Paths

Stock eWeLink works with Alexa and Google Home; Tasmota or ESPHome enable local Home Assistant control.

Load Shedding Advantage

Local control keeps your Sonoff SV automation running even when the internet or cloud goes down.

SA-Ready Hardware

Communica stocks Sonoff SV, power supplies, and enclosures for same-day collection in Gauteng.

Why the Sonoff SV Is Worth Integrating Properly

The Sonoff SV is a versatile Wi-Fi switch that can handle both AC and DC loads - typically up to 10A at 250V AC or 10A at 30V DC - making it a favourite for low-voltage automation projects like garage doors, gate controllers, irrigation pumps, and LED lighting. But its real power emerges when you integrate it into a broader smart-home ecosystem. In South Africa, where load shedding and unstable power are common, having voice or app control over critical low-voltage circuits can be a genuine convenience, not just a novelty.

This guide focuses specifically on platform integration: how to get the Sonoff SV working with Amazon Alexa, Google Home, and Home Assistant. It assumes you already have the SV wired and powered - if you need wiring help, see our beginner installation guide. Here, we tackle the software side.

What You Will Need

  • A Sonoff SV flashed with stock firmware or Tasmota/ESPHome (more on that later)
  • The eWeLink app installed on your smartphone (for stock firmware)
  • A 2.4 GHz Wi-Fi network - the SV does not support 5 GHz
  • An Amazon Alexa or Google Home device
  • A Home Assistant instance if you want local control (optional but recommended)
  • A stable 5V DC power supply for the SV (many use a USB phone charger)

Before we dive in, a note on hardware availability: Communica stocks a wide range of Sonoff devices and accessories, along with the breadboards, jumper wires, and enclosures you might need for a clean install. The Samrand branch is particularly handy for Gauteng-based makers who want to collect parts same-day.

Step 1: Getting the Sonoff SV on Your Wi-Fi with eWeLink

The stock firmware on the Sonoff SV uses the eWeLink cloud platform. If you have not already done so, download the eWeLink app (available on iOS and Android) and create an account. Power up the SV - the green LED should blink rapidly, indicating pairing mode. If it does not, hold the button for about 5 seconds until it does.

In the app, tap the plus icon, select “Sonoff” from the device list, and follow the prompts. You will be asked to enter your 2.4 GHz Wi-Fi password. The app will then push the credentials to the SV. Once connected, rename the device to something meaningful - “Gate Motor” or “Garage Light” - because this name will appear in Alexa and Google Home later.

A practical tip from experience: if pairing fails repeatedly, move the SV closer to your router during setup. The small PCB antenna inside the Sonoff SV is adequate but not stellar; a metal enclosure or a crowded distribution board can weaken the signal. For permanent installs, consider mounting the SV outside a metal box or using a short antenna extension if you are comfortable modifying the board.

Step 2: Linking eWeLink to Amazon Alexa

With the SV visible in eWeLink, open the Alexa app and go to Skills & Games. Search for “eWeLink Smart Home” and enable the skill. You will be prompted to sign in with your eWeLink account credentials. Once linked, tap “Discover Devices.” Alexa should find your Sonoff SV within 20-30 seconds.

Now you can control the SV by voice: “Alexa, turn on the gate motor.” You can also include it in Alexa Routines - for example, a routine that turns off all non-essential Sonoff devices when you say “Alexa, goodnight.” In South Africa, where many of us use Alexa for load-shedding reminders, adding your Sonoff SV to a “Power Outage” routine can help you shut down sensitive DC equipment before the battery runs flat.

One limitation of the cloud-to-cloud integration: there is a slight delay (typically 1-3 seconds) between your voice command and the relay clicking. For gate or garage control, that is usually fine, but for time-critical automation, local control via Home Assistant is better.

Step 3: Linking eWeLink to Google Home

The process is similar for Google Home. Open the Google Home app, tap the plus icon, choose “Set up device,” then “Works with Google.” Search for “eWeLink Smart Home” and sign in. Google will import your Sonoff devices. You can assign them to rooms (e.g., “Garage” or “Outside”) and control them with commands like “Hey Google, turn on the irrigation.”

Google Home routines are also worth exploring. For instance, you can create a routine that turns on the Sonoff SV connected to a security light when your phone connects to your home Wi-Fi after sunset. That kind of automation is straightforward once the device is linked, and it uses only the free Google Home app.

Again, the cloud dependency means an internet outage will break voice control. If your fibre line goes down, you will still be able to use the eWeLink app on your phone if you are on mobile data, but voice assistants will not respond to commands that require the cloud.

Related Home Automation & IoT Products

Discover quality home automation & iot products related to Step-by-Step: Integrating the Sonoff SV WiFi AC/DC Switch with Alexa, Google Home & Home Assistant

Ubiquiti Uap-ac-proe Unifi Ac Pro Dual Band Ap

Ubiquiti Uap-ac-proe Unifi Ac Pro Dual Band Ap

UbiquitiHome Automation
ZAR4019.25

Ubiquiti Uap-ac-proe Unifi Ac Pro Dual Band Ap

Ubiquiti Poe-48-24w-g Gigabit Poe Adapter 48v

Ubiquiti Poe-48-24w-g Gigabit Poe Adapter 48v

UbiquitiHome Automation
ZAR414.00

Ubiquiti Poe-48-24w-g Gigabit Poe Adapter 48v

Ubiquiti Ubam-nsm2 - 2.4ghz Indoor/outdoor Nanostation

Ubiquiti Ubam-nsm2 - 2.4ghz Indoor/outdoor Nanostation

UbiquitiHome Automation
ZAR2213.75

Ubiquiti Ubam-nsm2 - 2.4ghz Indoor/outdoor Nanostation

Tuya Basic Wifi Smart Switch For Smart Home. Switches Relay 110-250vac At Max 10amp, Tuya Smart App, Works With Amazon Alexa, Google Home And Supports

Tuya Basic Wifi Smart Switch For Smart Home. Switches Relay 110-250vac At Max 10amp, Tuya Smart App, Works With Amazon Alexa, Google Home And Supports

TuyaHome Automation
ZAR126.50

Tuya Basic Wifi Smart Switch For Smart Home. Switches Relay 110-250vac At Max 10amp, Tuya Smart App, Works With Amazon Alexa, Google Home And Supports

Blebox Wlightbox S Pro Turns On, Off And Dims Single-color 12-24v Led Lighting From Anywhere

Blebox Wlightbox S Pro Turns On, Off And Dims Single-color 12-24v Led Lighting From Anywhere

BleBoxHome Automation
ZAR735.52
ZAR1125.00

Blebox Wlightbox S Pro Turns On, Off And Dims Single-color 12-24v Led Lighting From Anywhere

Blebox Ble-uremote Pro Home Automation

Blebox Ble-uremote Pro Home Automation

BleBoxHome Automation
ZAR789.00

Blebox Ble-uremote Pro Home Automation

Blebox Uremote With The Uremote You Can Control All Ble Devices Based On The Micro-wifi Technology :gates, Roller Shutter, Lighting Or Other Electrica

Blebox Uremote With The Uremote You Can Control All Ble Devices Based On The Micro-wifi Technology :gates, Roller Shutter, Lighting Or Other Electrica

BleBoxHome Automation
ZAR516.74
ZAR745.00

Blebox Uremote With The Uremote You Can Control All Ble Devices Based On The Micro-wifi Technology :gates, Roller Shutter, Lighting Or Other Electrica

Blebox Doorbox Is An Integrated, Uwifi (microwifi) Controller, To Open & Close Doors And Pedestrian Gates, Control Electric Bolt Locks, Electric Strik

Blebox Doorbox Is An Integrated, Uwifi (microwifi) Controller, To Open & Close Doors And Pedestrian Gates, Control Electric Bolt Locks, Electric Strik

BleBoxHome Automation
ZAR1200.00

Blebox Doorbox Is An Integrated, Uwifi (microwifi) Controller, To Open & Close Doors And Pedestrian Gates, Control Electric Bolt Locks, Electric Strik

Blebox Shutterbox Dc With A Smartphone Or Tablet Allows You To Control Roller Shutters, Awnings, Shutters Or Windows Equipped With Low Voltage (12-24v

Blebox Shutterbox Dc With A Smartphone Or Tablet Allows You To Control Roller Shutters, Awnings, Shutters Or Windows Equipped With Low Voltage (12-24v

BleBoxHome Automation
ZAR375.00
ZAR695.00

Blebox Shutterbox Dc With A Smartphone Or Tablet Allows You To Control Roller Shutters, Awnings, Shutters Or Windows Equipped With Low Voltage (12-24v

Blebox Rollergate Controller, Is An Integrated, Uwifi (microwifi) Controller, To Open & Close Gates From Anywhere, Uses Free Wbox Mobile Application

Blebox Rollergate Controller, Is An Integrated, Uwifi (microwifi) Controller, To Open & Close Gates From Anywhere, Uses Free Wbox Mobile Application

BleBoxHome Automation
ZAR1968.98
ZAR2650.00

Blebox Rollergate Controller, Is An Integrated, Uwifi (microwifi) Controller, To Open & Close Gates From Anywhere, Uses Free Wbox Mobile Application

Sonoff L1 Smart Led Strip 5m

Sonoff L1 Smart Led Strip 5m

SonoffHome Automation
ZAR570.00

Sonoff L1 Smart Led Strip 5m

Ubiquiti Locom2 Nanostation - 2.4ghz Indoor/outdoor Power & Electrical Supplies

Ubiquiti Locom2 Nanostation - 2.4ghz Indoor/outdoor Power & Electrical Supplies

UbiquitiHome Automation
ZAR1374.25

Ubiquiti Locom2 Nanostation - 2.4ghz Indoor/outdoor Power & Electrical Supplies

Step 4: Local Integration with Home Assistant (Recommended for Advanced Users)

For South African users dealing with unreliable internet or those who simply prefer local control, Home Assistant offers a far more robust integration path. The best approach is to flash the Sonoff SV with open-source firmware like Tasmota or ESPHome. This removes the eWeLink cloud entirely and exposes the device via MQTT or the native Home Assistant API.

Flashing requires a USB-to-serial adapter and a bit of patience. You will need to open the Sonoff SV enclosure and connect four pins (3.3V, TX, RX, GND) to the adapter. The process is well documented on the Tasmota and ESPHome websites, and the hardware is forgiving if you follow the instructions carefully. Once flashed, you can configure the SV in Home Assistant using the Tasmota integration or the ESPHome integration.

The payoff is significant: near-instant response (under 200ms), no cloud dependency, and complete control over automations. You can create automations that trigger the SV based on local sensors - for example, turning on a DC pump when a soil moisture sensor drops below a threshold. All of this runs on your local network, which is a blessing during load shedding when your internet router might be on backup power but your fibre line is down.

If you are new to Home Assistant, start with a Raspberry Pi 4 or an old laptop. Communica stocks a range of prototyping and development boards that can serve as your Home Assistant server, along with the necessary power supplies and enclosures. For those who prefer a plug-and-play hub, the Sonoff iHost is another option, though it is less flexible than a full Home Assistant setup.

Step 5: Adding Voice Control to Home Assistant via Alexa or Google

One of the most common questions is how to keep voice control after moving to Home Assistant. The answer is the Home Assistant Cloud (Nabu Casa) subscription or a manual integration like Emulated Hue or the Alexa Smart Home skill. The subscription costs about $6.50 per month (roughly R120 at the time of writing, though exchange rates fluctuate) and supports the project’s development. It provides a secure, easy way to link Alexa and Google Home to your local Home Assistant instance without exposing your network.

Alternatively, you can use the free Emulated Hue bridge to expose Home Assistant entities to Alexa as Philips Hue devices. This works well for simple on/off control and avoids any cloud dependency for voice commands, though it requires your Alexa device to be on the same local network. For Google Home, you can use the Home Assistant Cloud or the manual Google Assistant integration, which involves creating a Google Cloud project - a more technical route.

In practice, many South African users combine approaches: stock eWeLink for quick setups and Home Assistant with Tasmota for critical automation. The Sonoff SV is cheap enough that you can deploy a few units and experiment.

Troubleshooting Integration Issues

Even with careful setup, you may hit snags. Here are some common ones and how to resolve them, based on real-world experience.

SymptomLikely CauseSolution
Alexa says “device is not responding”eWeLink skill lost authenticationDisable and re-enable the skill, then rediscover devices.
Google Home cannot find deviceDevice not named uniquelyRename in eWeLink to avoid duplicates (e.g., “Sonoff SV 1”).
Home Assistant shows “Unavailable”MQTT broker credentials incorrectCheck Tasmota MQTT settings and broker IP.
Relay clicks but no power to loadWiring fault or blown fuseVerify load wiring and check the SV’s onboard fuse.

Another frequent issue is Wi-Fi signal strength. The Sonoff SV uses a PCB antenna, and if it is installed inside a metal enclosure or a distribution board, the signal can drop. In one installation we saw, a Sonoff SV inside a garage door motor housing would intermittently drop off the network. Moving it outside the metal box and using a short USB extension cable to reposition the antenna solved the problem entirely.

If you are using Tasmota, keep an eye on the firmware version. Older versions may have bugs that affect Wi-Fi reconnection after a power outage - a relevant concern in South Africa. Updating to the latest stable release is a good idea before you deploy.

Practical Project Ideas for Integrated Control

Once your Sonoff SV is integrated, the fun begins. Here are three project ideas that leverage the platform integrations we have covered.

Voice-Controlled Gate or Garage Door

Wire the SV in parallel with your existing gate remote’s button (typically a dry contact). Then integrate with Alexa or Google Home. You can say “Alexa, open the gate” from inside the house. For security, avoid naming it something a passerby could shout through a window; use an obscure name like “Portal.”

Home Assistant Scene for Load Shedding

Use a Home Assistant automation that triggers when Eskom’s load-shedding schedule changes (via the EskomSePush integration) to turn off non-critical DC loads connected to Sonoff SVs - like a 12V LED strip or a small pump - to conserve battery power. This is a uniquely South African use case that showcases local integration.

Scheduled Irrigation with Voice Override

Set a schedule in eWeLink or Home Assistant to run a 12V irrigation pump for 10 minutes every morning. Then add voice control so you can skip a cycle if it rained overnight: “Hey Google, turn off the irrigation.” This combines the convenience of automation with manual override.

For these projects, you will need a few extra bits - a 12V power supply, a relay if you are switching mains, and suitable enclosures. Communica stocks a comprehensive range of power supplies and brands like Mean Well and Sonoff to support these builds. If you are a student or hobbyist, the Communica range includes many entry-level options that keep costs down without sacrificing reliability.

Sources

Communica Samrand — Electronic Component Experts

Communica supplies semiconductors and electronic components to industries such as automotive, electrical, automation, mining, and education.

Last updated: September 15, 2026

Disclaimer: This content is for educational purposes only. Product availability, pricing, and specifications are subject to change. Always verify current details on the retailer's website before making a purchase. We may earn affiliate commissions from qualifying purchases.

Frequently Asked Questions

Get answers to common questions about Home Automation And Iot

Why Choose Communica?

*Free Shipping

Free shipping for orders over ZAR 1,000.00.

7-Day Returns

Get a full refund if you had the product for less than 7 days.

Quick Delivery

Nationwide delivery within 2 - 4 working days.