sonoff regular switch to sv

Sonoff Regular Switch to SV: Step-by-Step Guide

By James Martinez
AD

The Sonoff Regular Switch is a versatile, affordable, and user-friendly smart switch by eWeLink. While it comes with its own eWeLink app, many users seek alternative solutions like the SmartThings app for integration with their existing systems. Converting a Sonoff Regular Switch to SmartThings, however, isn't as straightforward due to the lack of official support. Here's a comprehensive guide on how to achieve this using a custom component and the SV (Secondary Version) method.

Before we dive into the process, ensure you have the following: a Sonoff Regular Switch (SR), a computer, the Sonoff-TTS Two-Way Switch component by Te sektet (available on Community Store), and a working knowledge of the SmartThings app and its capabilities.

Understanding SV Method and Custom Components

The SV method involves using a custom component, developed by the SmartThings community, to communicate between the Sonoff Switch and the SmartThings hub. This method allows you to control the switch using the SmartThings app, but it's essential to understand that it may not include all the features available in the official eWeLink app.

AD
an electronic device is displayed on a white surface with the words sonoff above it
an electronic device is displayed on a white surface with the words sonoff above it
Sonoff Basic Wi-Fi Smart Switch — Untangling the Ropes - EDN
Sonoff Basic Wi-Fi Smart Switch — Untangling the Ropes - EDN
Flashing a Custom Firmware to Sonoff | Random Nerd Tutorials
Flashing a Custom Firmware to Sonoff | Random Nerd Tutorials

Custom components are unofficial add-ons created by SmartThings community members. They offer unique functionalities not covered by official SmartApps. Before using the Sonoff-TTS Two-Way Switch component, ensure you're comfortable with the risks and limitations of custom components.

Setting Up Sonoff Switch for SV Method

To prepare your Sonoff Regular Switch for the SV method, follow these steps:

SONOFF BASICR2- WiFi Wireless Smart Switch
SONOFF BASICR2- WiFi Wireless Smart Switch
DIY Hybrid Sonoff Smart Switch for $10
DIY Hybrid Sonoff Smart Switch for $10
SONOFF MINI-D Review - A Matter-enabled dry contact WiFi switch tested with eWeLink, Home Assistant, and Apple Home - CNX Software
SONOFF MINI-D Review - A Matter-enabled dry contact WiFi switch tested with eWeLink, Home Assistant, and Apple Home - CNX Software
  • Follow the Sonoff instruction manual to set up your SR switch initially.
  • Once set up, download and install the eWeLink app. Log in and connect your SR switch to your Wi-Fi network.
  • In the eWeLink app, change the Wifi mode of your SR switch to 'AP+Station'. This allows the switch to connect to both Wi-Fi and act as a hotspot simultaneously.

Adding Sonoff-TTS Two-Way Switch to SmartThings

Now that your SR switch is ready, follow these steps to add the custom component to your SmartThings app:

  1. Open the SmartThings app. From the dashboard, tap 'Add a Thing'.
  2. Select 'Community Store' at the bottom, then search for 'Sonoff-TTS Two-Way Switch'.
  3. Tap the component and follow the instructions to connect it to your hub. This involves scanning the QR code on your SR switch using the camera app on your smartphone.

Integrating Sonoff Switch with SmartThings Routines and Automations

Once added, you can control your Sonoff Regular Switch using the SmartThings app. However, the true power of SmartThings lies in its automation capabilities.

AD

Automations allow you to create complex, multifaceted routines that can trigger based on various conditions. To create an automation using your Sonoff switch:

Blog
Blog
SONOFF MINIR4 review - A Tiny WiFi Smart Switch tested with eWelink app/web, and R5 controller - CNX Software
SONOFF MINIR4 review - A Tiny WiFi Smart Switch tested with eWelink app/web, and R5 controller - CNX Software
Blog - Page 43 of 190 - The Engineering Knowledge
Blog - Page 43 of 190 - The Engineering Knowledge
SONOFF TX Ultimate Smart Touch WiFi Wall Switch User Manual
SONOFF TX Ultimate Smart Touch WiFi Wall Switch User Manual
Sonoff Basic Wi-Fi Smart Switch — Untangling the Ropes - EDN
Sonoff Basic Wi-Fi Smart Switch — Untangling the Ropes - EDN
How to install smart switch - The Tech Edvocate
How to install smart switch - The Tech Edvocate

Using Sonoff Switch in Automations

Here's how to add your Sonoff Switch to a new automation:

  1. In the SmartThings app, tap 'Automation' at the bottom, then the '+' icon in the top-right corner.
  2. Choose the trigger for your automation, such as 'Motion' or 'Sunset'.
  3. Tap '+' to add a condition or action. Select 'Switch' and choose your Sonoff Regular Switch.
  4. Set the desired action, like 'Turn On' or 'Turn Off', then save your automation.

Examples of Sonoff Switch Automations

Some automation ideas for your Sonoff Switch include:

AD
  • Turning on a connected lamp when motion is detected in a room.
  • Turning off a bedroom fan at sunrise.
  • Toggling a hallway light when the front door is opened after sunset.

With this comprehensive guide, you should now be able to convert your Sonoff Regular Switch to SmartThings using the SV method. This opens up a world of possibilities for automating your smart home. Happy tinkering, and remember to stay safe when working with electronics!

Control Sonoff Basic Switch with ESP Easy Firmware and Node-RED | Random Nerd Tutorials
Control Sonoff Basic Switch with ESP Easy Firmware and Node-RED | Random Nerd Tutorials
an electronic device that is white and has two wires attached to it
an electronic device that is white and has two wires attached to it
Sonoff Basic Wi-Fi Smart Switch — Untangling the Ropes - EDN
Sonoff Basic Wi-Fi Smart Switch — Untangling the Ropes - EDN
Sonoff Pow R2 is a Power Monitoring WiFi Smart Switch with Better Accuracy, Safety and Extra Features - CNX Software
Sonoff Pow R2 is a Power Monitoring WiFi Smart Switch with Better Accuracy, Safety and Extra Features - CNX Software
AD