How it works

1
Insert batteries
Open the back, drop in 2 AAA batteries (not included). LED blinks slowly - ready to pair.
2
Pair in eWeLink
Open eWeLink, tap +, choose Quick Pairing. Hold the reset button on the sensor for 5 seconds until the LED blinks fast. Pairs in ~60 seconds.
3
Stick on door + frame
Peel the adhesive tape. Stick the main unit on the door, the magnet on the frame. They should be less than 5 mm apart when the door is closed.
4
Build an automation
In eWeLink → Scene → "If DW2 opens after sunset, turn on hallway light". Or just enable push notifications for security alerts.

Is this right for me?

Connectivity: Wi-Fi 2.4 GHz (direct, no hub)
Power: 2× AAA batteries (not included)
Sound alert: No - phone notification only
Installation: Adhesive tape, no drilling
Magnet gap: Under 5 mm when closed. Reports "open" when the magnet moves more than 20 mm away
App: eWeLink
History log: Every open/close with timestamp
Water resistance: Not waterproof - indoor use only
Size: 7 cm long, 3.1 cm wide, 1.9 cm thick

Product details

Sonoff Wi-Fi Door/Window Sensor (DW2)

A wireless sensor that detects when a door or window is opened or closed, and sends an instant notification to your phone. It connects directly to your Wi-Fi – no hub needed. Use it for security alerts, or pair it with other Sonoff devices to create automations.


Key Features:

  • Instant Alerts: Get a phone notification the moment a door or window is opened.
  • No Hub Needed: Connects directly to your home Wi-Fi via the eWeLink app.
  • History Log: See a record of every open/close event with timestamps.
  • Smart Automations: Trigger other devices when the door opens – e.g., turn on the hallway light.
  • Battery Powered: Uses 2 x AAA batteries – lasts for months. No wiring needed.
  • Easy Installation: Stick with adhesive tape – one piece on the door/window, one on the frame.

Pro Tip: Place one on your front door and set up an automation: when the door opens after sunset, the hallway light turns on automatically. When it closes, the light turns off after 2 minutes.

What you get

Instant phone alert
Push notification the moment the door or window opens. Open from anywhere - work, abroad, the village.
No hub, no wiring
Connects directly to your Wi-Fi. Sticks on with adhesive tape - 2-minute install, no electrician.
Months of battery
Two AAA batteries (not included). The app shows a low-battery warning.
Auto-trigger smart lights
Pair with a Sonoff switch in eWeLink: hallway light turns on automatically when the front door opens after sunset.
Open/close history
Every event logged with a timestamp. Useful for tracking when family members come home, or when something opens unexpectedly.

A closer look

Discover Smartio's Sonoff Collection

Sonoff Door/Window Sensor | DW2

Sonoff Wi-Fi Door & Window Sensor (No Hub Needed) | DW2: Discover Smartio's Sonoff Collection

Sonoff DW2 Door Sensor

Remind you when door/window is opened or closed. Keep linkage with Sonoff smart products for your easier smart life.

Sonoff DW2 Door Sensor
Sonoff Wi-Fi Door & Window Sensor (No Hub Needed) | DW2, detail 3
Sonoff Wi-Fi Door & Window Sensor (No Hub Needed) | DW2, detail 4
Sonoff Wi-Fi Door & Window Sensor (No Hub Needed) | DW2, detail 5

Works with

Google Assistant (notifications)
Works
Sonoff scenes via eWeLink
Works

What's in the box

1× Sonoff DW2 sensor (main + magnet)
Adhesive tape

Delivery and pickup

Black Friday season: standard delivery can take up to 1 week. Need it sooner? Choose Express or self-pickup
Standard Delivery
All Lebanon governorates, within 2–6 working days.
4 $ · Free over 50 $
Express Delivery
Faster shipping, available across most of Lebanon. Your exact delivery date depends on your town - you will see it at checkout.
Check your town 6 $ flat
Pickup - Dekwaneh
Collect from the Wakilni warehouse in Dekwaneh. We send the exact address on WhatsApp when your order is ready. Weekdays 10am–5pm, Sat 10am–1pm.
3 $ · Free over 30 $

Warranty and support

6-month Local Warranty
Covers defects in materials & workmanship. Handled here in Lebanon.
WhatsApp Support - Always On
Can't set it up? Message us. We reply on WhatsApp during opening hours.
14-day Exchange - Unopened Items
The item must be unopened and in its original packaging. Exchange it for a product of equal or higher value - we do not give cash refunds. Opened items are covered by the warranty if there is a factory defect.
Free Setup Call
If you get stuck, we'll walk you through the setup on a free WhatsApp call.

Frequently asked questions

No - it only detects when the magnet separates from the main unit (door/window opening). For motion, get a separate motion sensor like the SNZB-03P.
No built-in alarm. It sends a phone notification only. If you want an audible alert, pair it in eWeLink with a Sonoff plug + a small Wi-Fi siren or speaker.
No - connects directly to your 2.4 GHz Wi-Fi via the eWeLink app. No bridge needed.
Battery life depends on how often the door opens. The app shows the battery level and warns when it is low.
The sensor runs on its own batteries, but it needs your Wi-Fi to send alerts. If the router has no power, you get no alerts until it is back.
Yes on glass and wood frames. Keep it away from large metal objects and wiring. Just make sure the magnet and main unit are close enough (within 5 mm when closed).
Yes - order as many as you need. Each one pairs separately in eWeLink with its own name ("Front Door", "Kitchen Window", etc.).
No - it sleeps between events to save battery and bandwidth. Only sends data when the magnet separates or rejoins.

Compare models