Component guide · Beginner · 3 min read
Sonoff POWR3, POWR316 and POWR320D

Energy Monitoring Smart Switch
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
Sonoff POW switches are Wi-Fi relays that also measure voltage, current, power and energy, so you can track and control a geyser, AC, pump or whole circuit. The Pow R2 handles 15 A, the POWR316 16 A, the POWR320D 20 A with a screen, and the POWR3 25 A. They work in the eWeLink app and can run ESPHome or Tasmota for Home Assistant energy dashboards.
Key specs at a glance
- Load
- Pow R2 15 A, POWR316 16 A, POWR320D 20 A, POWR3 25 A at 100 to 240 V AC
- Measurement
- Voltage, current, active power, energy (kWh)
- Chip
- ESP8266 (Pow R2, POWR3), ESP32 (POWR316, POWR320D)
- Display
- LCD on POWR320D Elite
- Mounting
- Inline (Pow R2, POWR3) or DIN rail (POWR316, POWR320D)
- Apps
- eWeLink with energy history, Alexa, Google
This part is often wired to 230 V mains. Do all wiring with the plug pulled out, keep mains wires inside a closed box with strain relief, add a fuse, and never touch the board while it is plugged in. If you are new to mains wiring, have an electrician check it before you switch on.
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1Sonoff POWR3 High Power Wi-Fi Smart Switch w/ Energy Monitoring₹3,969
Option 2Sonoff POWR316 Origin Smart Power Meter Switch₹2,506
Option 3Sonoff POWR320D Elite Smart Power Meter Switch 20A₹2,809
Option 4Sonoff Pow R2 WiFi Power Monitor Smart Switch₹1,299
What the Sonoff POW is
Use a POW on a circuit where you want both control and a record of use: a water pump that should not run dry, a geyser on a timer, or a rented room's AC. Power-based automations can switch off a pump when its current drops (running dry) or alert you when something is left on.
Choose a model rated above the load's running current with margin; for compressors and pumps, allow for start-up current.
Sonoff POW pinout
The pins on the Sonoff POW and what each one does.
| Pin | Function |
|---|---|
| L in / N in | Mains supply |
| L out / N out | Load |
| Button | Hold to pair, press to toggle |
| LCD (POWR320D) | Shows power, energy and status |
- L in / N in
- Mains supply
- L out / N out
- Load
- Button
- Hold to pair, press to toggle
- LCD (POWR320D)
- Shows power, energy and status
Wiring the Sonoff POW
Mains wiring must be done with the power off, in a proper enclosure, with cable and a fuse or MCB rated for the load. If you are not sure, have a qualified electrician install it. Use cable sized for the full rating (2.5 mm2 for 16 to 20 A, 4 mm2 for 25 A) and tighten terminals firmly.
| Sonoff POW pin | Inline (Pow R2, POWR3) | DIN rail (POWR316, POWR320D) |
|---|---|---|
| L in / N in | Supply through MCB | Supply through MCB |
| L out / N out | Load | Load |
- L in / N in
- Inline (Pow R2, POWR3):
- Supply through MCB
- DIN rail (POWR316, POWR320D):
- Supply through MCB
- L out / N out
- Inline (Pow R2, POWR3):
- Load
- DIN rail (POWR316, POWR320D):
- Load
Example code
Pins and sensor chips differ by model (Pow R2 and POWR3 also use CSE7766, on different pins); use the ESPHome device page for your exact model. Add the energy sensor to the Home Assistant Energy dashboard.
uart:
rx_pin: GPIO16
baud_rate: 4800
parity: EVEN
sensor:
- platform: cse7766
voltage: {name: "Voltage"}
current: {name: "Current"}
power: {name: "Power", id: power}
energy: {name: "Energy"}
switch:
- platform: gpio
pin: GPIO13
id: relay
name: "Relay"
restore_mode: RESTORE_DEFAULT_OFFSetup and tuning
compare readings with a known load (a 1000 W heater) and a meter; adjust in firmware if needed.
in an automation, switch off the pump if power stays below its normal value for 30 s.
set a power limit in eWeLink to cut off above a chosen wattage.
leave space around DIN-rail units at full load.
What you need
Shop this list6 of 7 found in our store · ₹33,909
Sonoff POWR3 High Power Wi-Fi Smart Switch w/ Energy Monitoring: the part this guide coversSonoff POWR3 High Power Wi-Fi Smart Switch w/ Energy Monitoring₹3,969
Sonoff POWR316 Origin Smart Power Meter Switch: another version this guide coversSonoff POWR316 Origin Smart Power Meter Switch₹2,506
Sonoff POWR320D Elite Smart Power Meter Switch 20A: another version this guide coversSonoff POWR320D Elite Smart Power Meter Switch 20A₹2,809
Sonoff Pow R2 WiFi Power Monitor Smart Switch: another version this guide coversSonoff Pow R2 WiFi Power Monitor Smart Switch₹1,299
Home Assistant Green smart home hub: to control the switches locallyHome Assistant Green Smart Home Hub₹23,149- Fuse holder: to fuse the switched circuitFind this part
Digital multimeter: to check supply and signal voltagesDigital Multimeter₹177
Alternatives and when to choose them
- Sonoff BASIC and MINI: switching without measurement.
- Energy meters (PZEM): DIY energy monitoring with Arduino.
- Sonoff, Tasmota and ESPHome: open firmware.
Common mistakes to avoid
- Using thin cable on a 20 A or 25 A model.
- No margin for pump or compressor starting current.
- Mixing up input and output terminals.
- Flashing firmware while connected to mains.
Frequently asked questions
Can it switch a 1.5 ton AC?
A POWR3 (25 A) can switch the supply, but derate for the compressor start; check the AC's rated current.
Is the energy reading accurate?
Within a few percent; good for tracking, not billing.
Does it work offline?
Yes, with ESPHome or Tasmota and Home Assistant.
Which model for a geyser?
A 2 kW geyser draws about 9 A, so a POWR316 or POWR320D is fine.
Can it monitor without switching?
Yes; leave the relay on and use the readings.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

