The Sonoff Basic smart switch (specifically the current R4 and R4 Extreme iterations) relies on an internal electromechanical relay to switch AC mains loads via WiFi. The direct answer for sizing: the standard Sonoff Basic R4 is rated for 10A at 250VAC (2200W maximum resistive load), while the R4 Extreme handles 16A (3500W). However, raw continuous amperage is only half the engineering reality. Inrush current, load impedance, and contact breaking capacity dictate whether the relay survives its first week on the bench or welds its contacts shut.

This guide breaks down the electromechanical architecture of the Sonoff Basic smart switch, provides a strict load-selection decision tree, and details exact bench-testing procedures for diagnostics.

Inside the Sonoff Basic: Ratings, Coil, and Contacts

To wire and troubleshoot this device, you must separate the coil side (the low-voltage DC control circuit) from the contact side (the high-voltage AC load path). The Sonoff Basic smart switch contains an internal switching power supply that steps down 100-240VAC to roughly 5VDC. This DC voltage powers the ESP32 microcontroller and energizes the relay coil.

⚠️ WARNING: Mains Voltage Hazard
Always de-energize the circuit at the breaker, lock out the panel, and verify dead with a known-working multimeter before opening the Sonoff enclosure or touching the COM/NO terminals. Local electrical codes may require a licensed electrician for permanent in-wall mains wiring.

Electromechanical Rating Table

The table below outlines the internal component specifications for the standard 10A model (typically utilizing a Hongfa HF32F or Omron G5Q equivalent PCB relay).

ParameterSpecification (Standard R4)Specification (R4 Extreme)Engineering Notes
Internal Coil Voltage5V DC12V DCPowered by internal buck converter.
Contact Rating (Resistive)10A @ 250VAC16A @ 250VACMax steady-state current for heaters/lights.
Breaking Capacity10A @ 250VAC16A @ 250VACMax current the relay can safely interrupt without arcing.
Coil Resistance~125 Ω~360 ΩExpect ~40mA to 80mA coil draw.
Dielectric Strength4000VAC (Coil to Contact)4000VAC (Coil to Contact)Isolation between mains and low-voltage logic.

The Flyback Diode Rule for DC Coil Mods

On the factory PCB, the relay coil is driven by an NPN transistor or MOSFET, and a flyback diode (usually a 1N4148 or Schottky equivalent) is wired in reverse parallel across the coil pins. This diode safely dissipates the inductive voltage spike when the coil de-energizes. If you are modifying the board to bypass the internal AC-DC supply and injecting external 5V DC directly into the board's DC rail (a common mod for 12V marine/RV applications), you must verify this flyback diode is intact. Without it, the inductive kickback from the coil collapsing will instantly fry the ESP32 GPIO pin driving the transistor.

Load Selection Decision Tree: Which Rating Column Governs?

The most common mistake makers and DIYers make is looking only at the "10A" printed on the plastic shell. When sizing a load, you must identify the load type to determine which rating column governs the application. Inductive and motor loads generate massive inrush currents and severe arcing when the contacts open.

Load TypeExamplesGoverning Rating ColumnDerating FactorMax Safe Load (10A Model)
ResistiveSpace heaters, incandescent bulbs, soldering ironsSteady-State Contact Rating100% (No derating)10A (2200W)
InductiveCeiling fans, solenoid valves, LED drivers, transformersBreaking Capacity / Inrush50% - 60%5A - 6A (1100W)
Motor (Capacitor Start)Water pumps, air compressors, HVAC blowersLocked Rotor Amps (LRA)20% - 25%2A - 2.5A (500W)

Why the drastic derating? When a motor starts, it draws Locked Rotor Amps (LRA), which can be 5x to 7x the running current for a few hundred milliseconds. When the Sonoff Basic smart switch opens its contacts to turn off an inductive load, the collapsing magnetic field in the load pulls an electrical arc across the separating relay contacts. If the current exceeds the breaking capacity, the arc sustains, melts the silver-alloy contact pads, and welds them together. The switch will then fail in the "ON" position, creating a severe fire or flood hazard.

Reference: For deeper electromechanical relay derating curves, consult the Omron G5LE Relay Datasheet, which charts exact contact lifespan against varying inductive load currents.

Bench Testing: Dead and Live Diagnostics

When a Sonoff Basic smart switch fails to trigger a load, you need a systematic approach to determine if the fault lies in the ESP logic, the relay coil, or the relay contacts.

Dead Testing (Power Removed)

Set your multimeter to Continuity or Ohms (Ω).

  1. Test the Contacts: Place probes on the COM and NO (Normally Open) screw terminals. The meter should read "OL" (Open Loop). If it reads near 0.00Ω while the device is unpowered, the relay contacts have welded shut. Verdict: Replace immediately.
  2. Test the Coil (Requires opening the shell): Place probes directly across the two solder pins of the relay coil on the PCB. You should read between 120Ω and 360Ω (depending on the model). If it reads "OL", the internal coil wire has snapped. Verdict: Replace.
  3. Test the Internal Fuse: Some revisions include a small glass or ceramic fuse on the AC input. Check for continuity. If blown, investigate your load for a short circuit before replacing.

Live Testing (Mains Applied)

⚠️ WARNING: Live Mains Voltage
Only perform live testing if you are trained in mains voltage safety. Use insulated probes and keep one hand behind your back to prevent current from crossing your chest.
  1. Set your multimeter to AC Volts (V~).
  2. With the Sonoff commanded "OFF", measure between the NO terminal and your system Neutral. You should read line voltage (e.g., 120V or 230V).
  3. Command the Sonoff "ON". Measure between NO and Neutral. The voltage should drop to near 0V (allowing for a tiny voltage drop across the closed contacts).
  4. If the ESP32 chip gets hot but the relay doesn't click, measure the DC voltage across the coil pins while triggering. If you see 5V DC but no click, the mechanical armature is jammed.

When to Repair vs. Replace

Given that a Sonoff Basic R4 costs roughly $6 to $9, replacement is usually the correct economic choice. However, repair is justified under specific conditions:

  • Repair: If a heavy load caused thermal expansion that cracked the solder joints on the relay's AC pins (a common failure on older R2 models), you can reflow the joints with a high-wattage soldering iron and fresh 63/37 flux-core solder.
  • Repair: If the internal MOV (Metal Oxide Varistor) shorted and blew the upstream breaker due to a grid surge, you can desolder the MOV and replace it, provided the ESP chip still boots.
  • Replace: If the contacts are pitted, welded, or if the ESP chip fails to broadcast a WiFi AP in setup mode (indicating a dead 3.3V LDO regulator or bricked silicon).

Frequently Asked Questions

Can I use the Sonoff Basic smart switch for a 1.5HP water pump?

No, not directly. A 1.5HP pump running on 230VAC draws roughly 5A to 6A of running current, which seems safe for a 10A relay. However, the Locked Rotor Amps (LRA) during startup can easily spike to 30A+ for several hundred milliseconds. This inrush will rapidly pit the relay contacts, leading to failure within a few hundred cycles. To control a 1.5HP pump, use the Sonoff Basic to switch the coil of a heavy-duty hardwired contactor (like a 30A Schneider or Eaton contactor), letting the contactor handle the motor inrush.

Why does my Sonoff Basic smart switch click but the load doesn't turn on?

If you hear the distinct mechanical click of the relay armature moving but the load receives no power, you have one of two failures. First, the internal silver-alloy contacts may be severely pitted or carbon-fouled from switching inductive loads, meaning they are physically touching but not conducting electricity (high contact resistance). Second, and more commonly in DIY setups, you have a loose neutral connection at the output terminal block. The Sonoff switches the Line (hot) wire; if your load's neutral path back to the panel is broken, the circuit remains open regardless of the relay's state.

Do I need a fuse or breaker upstream of the Sonoff Basic?

You must understand that fuses and breakers are not interchangeable in this context; they protect different things and operate on different time-current curves. A 10A fast-blow glass fuse will protect the Sonoff's internal PCB traces from melting, but it will nuisance-trip instantly if you connect a small motor due to inrush current. Conversely, a 10A Type C Miniature Circuit Breaker (MCB) at your panel protects your branch circuit wiring from catching fire. The Type C curve allows a magnetic trip at 5-10x the rated current (50-100A), which safely tolerates motor startup inrush. However, during a dead short, the breaker takes milliseconds to trip, while the Sonoff's internal relay contacts might weld together in microseconds. The rule: Rely on a properly sized Type C or Type D breaker to protect the wall wiring, and accept that the Sonoff relay itself is a sacrificial component in the event of a catastrophic short circuit.

How do I wire the Sonoff Basic smart switch without a neutral wire?

You cannot. The standard Sonoff Basic R4 requires both a Line and a Neutral wire at the switch box to power its internal AC-DC buck converter and WiFi radio. If your switch box only contains a Line, a Load, and a Ground (common in older US/UK lighting circuits), the Sonoff Basic will not power up. For no-neutral scenarios, you must use a different topology, such as a smart bulb, a battery-powered Zigbee button paired to a smart relay at the fixture, or a specialized no-neutral smart switch that bleeds a tiny amount of current through the load itself (though these often flicker with low-wattage LED bulbs).