
Cutaway view showing how a smart wall switch works
You can turn a lamp off at the wall and the smart switch is still reachable by your phone. Nothing is drawing power through the lamp socket—yet the switch answers a Wi-Fi ping, executes a schedule, and reports its state to your hub. That persistence is the first clue that a smart switch is not one device but two systems sharing the same enclosure.
Key Takeaways
- A smart switch combines a mains switching circuit (line, load, relay or solid-state element) with a low-voltage control system (microcontroller, wireless radio, firmware).
- The control system draws a small continuous supply even when the light is off—through a neutral wire, or by leaking through the load circuit when no neutral is present.
- Every command—wall press, app tap, voice instruction, or automation rule—converges on the same microcontroller and follows the same five-stage path to the switching element.
- The switching element is either an electromechanical relay (audible click, full on/off), a solid-state switch (silent, fast), or a triac (phase-cutting dimmers).
- Wireless protocol affects the path a command travels to the switch; it does not change what happens inside the switch once the packet arrives.
- Without internet, most switches retain wall control and hub-local automation; cloud-dependent features pause until connectivity returns.
A Smart Switch Contains Two Systems
A conventional toggle switch is a conductor that either completes or breaks a circuit. A smart switch retains that function but adds a second, independent subsystem that monitors, decides, and communicates.
System 1—Mains switching. The line wire carries live mains voltage into the switch. When the switching element closes, current flows out through the load wire to the fixture. Ground provides a fault-return path.
The relay or solid-state device is the physical mechanism that completes or interrupts this high-voltage path.
System 2—Low-voltage control. A small internal power supply converts a fraction of the mains voltage to the 3.3 V or 5 V DC that the microcontroller and wireless radio require. The controller runs firmware that interprets commands, manages state, and drives the switching element. The radio—Wi-Fi, Zigbee, Z-Wave, Thread, or Bluetooth—handles bidirectional communication with apps, hubs, and voice platforms.
The two systems share an enclosure and a mains power source, but operate independently enough that the control system can remain fully active while the load circuit is open.
Follow One Command Through the Switch
The table below maps each of the five stages to its function and location inside the switch.
Stage | Action | Location |
1 | Mains voltage converts to low-voltage DC; controller and radio stay powered | Internal power supply |
2 | A command signal arrives—wall input, wireless packet, or timer event | Paddle sensor or radio receiver |
3 | Controller parses, authenticates, and decides whether to act | Microcontroller / firmware |
4 | Controller drives the relay coil or solid-state gate; load circuit opens or closes | Switching element |
5 | Controller reads output state and publishes an updated status | Firmware + radio transmitter |
1. The switch receives standby power
Before any command can be processed, the control subsystem must be running. The internal power supply draws a small continuous current—typically 0.3–1 W—from the mains at all times. This keeps the radio listening, the clock ticking, and any locally stored schedules executing regardless of whether the load is on or off.
2. A command enters from the wall, app, voice assistant, or automation
Input can arrive from multiple directions simultaneously. A physical paddle or capacitive touch panel generates a digital signal directly to the microcontroller. A wireless packet from a hub, mobile app, or voice bridge enters through the radio and is decoded into the same internal message format.
A locally stored schedule or automation rule fires as a timer event inside the firmware itself—no external packet required.
3. The controller validates the command
The microcontroller compares the incoming instruction against its current state and any rules in firmware. It checks whether the requested state differs from the current state and whether any scene logic should modify the response. Invalid or redundant commands are silently discarded.
4. A relay or solid-state device changes the load circuit
Approved commands translate into a drive signal to the switching element. An electromechanical relay responds with an audible click as its coil pulls a physical contact arm closed or open—full on or full off, no in-between. A solid-state switch (MOSFET or IGBT) responds silently in microseconds and is common in switched outlets and on/off smart switches.
A triac operates by phase-cutting the AC waveform, allowing a smart dimmer to reduce the effective voltage reaching a dimmable load.
5. The switch reports its new state
Immediately after changing the switching element, the firmware reads the output and publishes a state update over the radio. This message reaches the hub, the cloud service, or the mobile app so that the UI reflects reality. Without this feedback loop, a failed relay action could leave the app showing a state the hardware never achieved.
Why the Electronics Need Power When the Light Is Off
This is where neutral versus no-neutral wiring makes an electrical difference, not just an installation one.
Neutral wire present. The internal power supply completes its low-voltage circuit through the neutral wire, drawing a small continuous current at full line voltage. The load circuit is independent—the relay can open completely, leaving the lamp at zero current, while the power supply continues operating normally. Legrand's wiring device guidance explains why this configuration is preferred for full-range dimming and LED compatibility.
No neutral wire. When only line and load wires reach the switch—common in older installations—the internal supply must borrow its operating current by leaking a small amount through the load circuit, even when the relay is "off." Most modern LEDs present such high impedance at low current that this leakage cannot pass on its own. The switch solves this with a bypass capacitor: a small capacitor across the load shunts enough current to keep the power supply alive without turning the lamp on.
The minimum load requirement and bypass design are covered in Shelly's no-neutral technical documentation.
LED flicker. If a no-neutral switch lacks a bypass and the connected LED driver has very high impedance, the power-supply leakage charges the LED driver's internal capacitors in tiny pulses. Each pulse discharges through the LED, producing visible flicker at low frequency. Selecting a switch with an integrated bypass, or adding a load-side bypass module, eliminates this by providing a stable leakage path independent of the LED's internal circuitry.
How Wi-Fi, Zigbee, Z-Wave, Thread, and Bluetooth Change the Control Path
The wireless protocol determines how a command travels from its source to the switch's radio receiver. It does not change what happens inside the switch once the packet arrives.
Wi-Fi connects the switch directly to the local router. No hub is required, but remote access and voice-assistant features typically depend on a cloud service. Local-network commands work during an internet outage; cloud-dependent commands do not.
Zigbee and Z-Wave use low-power mesh networks where each switch can relay packets for neighboring devices. A coordinator hub is required. Commands can execute locally even when the internet is unavailable if the hub supports local processing.
Thread is an IPv6 mesh protocol designed to underpin the Matter application layer. A Thread border router—often integrated into a smart speaker—bridges Thread devices to the IP network. Matter standardizes the command format above the transport layer, so the same on/off cluster message works whether it arrived over Wi-Fi or Thread.
Bluetooth is used primarily for initial setup and short-range local control. Long-range Bluetooth smart switches typically pair with a phone acting as a local gateway or use Bluetooth mesh to extend range.
Does a Smart Switch Still Work Without Wi-Fi?
The answer depends on the control source. The table below maps each source to its communication path and the condition under which it fails.
Control source | Communication path | Fails when |
Wall paddle / touch | Direct digital signal to microcontroller | Switch loses mains power |
Local app (same network) | LAN → router → switch radio | Router offline or switch unreachable on LAN |
Hub automation | Hub → Zigbee / Z-Wave / Thread mesh → switch | Hub offline |
Cloud app / remote access | Phone → internet → cloud service → router → switch | Internet or cloud service offline |
Voice assistant | Voice device → cloud → skill service → switch | Internet or cloud service offline |
Wall control never depends on networking. Local-app and hub-automation commands survive an internet outage. Cloud-app and voice commands require both internet connectivity and the relevant cloud service to be reachable.
How a Smart Dimmer Changes the Electrical Output
An on/off smart switch leaves the load at full mains voltage or removes it entirely. A smart dimmer modifies the waveform reaching the load.
The most common method is leading-edge phase cutting: a triac blocks the start of each AC half-cycle and fires partway through, allowing only a portion of the waveform to reach the load. Reducing the conduction angle reduces average power delivered to the lamp. This technique was designed for resistive and inductive loads (incandescent, halogen, magnetic transformers) and can cause buzzing or flicker with capacitive-input LED drivers not rated for leading-edge dimming.
Trailing-edge phase cutting (electronic low-voltage, or ELV, dimming) cuts the end of each half-cycle using a MOSFET or IGBT rather than a triac. The softer switching transition is compatible with most LED drivers rated for ELV dimming and produces less acoustic noise from the fixture. Lutron's dimming application notes detail load-type compatibility requirements for both phase-cut methods.
Smart dimmers report their current dim level—typically as a percentage—back through the same state-feedback path used by on/off switches, so a hub can read or restore brightness across a power cycle.
FAQs
Can I still turn the light on manually during a power outage?
No. A smart switch requires mains power to run its internal supply. During a complete power outage the control system, radio, and switching element are all unpowered.
The switch cannot respond to a paddle press any more than it can respond to a phone command.
What happens if the app shows "on" but the light is actually off?
State desynchronization occurs when the relay changes state but the status packet fails to reach the hub, or when the load is interrupted upstream—for example, by a tripped breaker. Most switches re-publish state on reconnection or when polled. Setting your hub to request state confirmation after each command reduces the window during which the UI and the hardware disagree.
Why does my smart switch click when I haven't touched anything?
Automated schedules, sunrise/sunset rules, or hub-generated scenes can trigger the relay without manual input. If the click is unexpected, check automation rules, scene schedules, and geofencing triggers in your app. A relay clicking at irregular intervals with no corresponding log entry can indicate RF interference or a firmware instability.
Do smart dimmers work with any LED bulb?
No. LED bulbs must be rated for dimming and—more specifically—for the dimming method used by the switch (leading-edge or trailing-edge). An incompatible bulb may flicker at the low end of the range, buzz, or refuse to go below a minimum brightness.
The switch manufacturer's compatible-load list is the fastest way to confirm compatibility before installation.
Will a Zigbee or Z-Wave switch still respond if the hub is rebooting?
The switch retains its last known state during a hub reboot. Wall control continues because it bypasses the hub entirely. Hub-resident automations pause until the hub returns online; automations stored in the switch's own firmware continue to execute independently.
Conclusion
A smart switch is a mains-grade switching device fused with a low-voltage computer. From the moment mains voltage arrives on the line wire, a small internal supply extracts enough power to keep a microcontroller and radio running continuously—whether the lamp is on or off. When any command arrives, from a wall paddle, a local app, a hub rule, or a voice assistant, it travels through the radio or paddle input to the same microcontroller.
The controller validates it, drives a relay or solid-state element to close or open the load circuit between line and load, and immediately reads the resulting output state. That confirmed state propagates back through the radio to the hub, the app, and the cloud. One input, five stages, one change to the load circuit—and a confirmation to every listener that the chain completed successfully.
