Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›IoT & Wireless
  4. ›Sonoff ZBDongle-E and Zigbee Switches (ZBMINIR2, MINI-ZBD)

Component guide · Intermediate · 3 min read

Sonoff ZBDongle-E and Zigbee Switches (ZBMINIR2, MINI-ZBD)

Home Assistant Setup

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerWhat the Sonoff Zigbee dongle and switches isSonoff Zigbee dongle and switches pinoutWiring the Sonoff Zigbee dongle and switchesExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

The Sonoff ZBDongle-E is a USB Zigbee 3.0 coordinator that lets Home Assistant control Zigbee devices locally, with no cloud. The ZBMINIR2 is a tiny Zigbee in-wall switch that keeps your wall switch working and also acts as a router to extend the mesh, and the MINI-ZBD is a dry-contact Zigbee relay for gates, boilers and low-voltage circuits.

Key specs at a glance

ZBDongle-E
EFR32MG21 chip, Zigbee 3.0 coordinator or router, USB, external antenna
ZBMINIR2
Zigbee 3.0 in-wall switch, 10 A, S1/S2 wall switch input, router
MINI-ZBD
Zigbee dry-contact relay, 10 A, potential-free output
Software
Home Assistant ZHA or Zigbee2MQTT (ember adapter)
Range
About 10 to 20 m indoors per hop; mains devices extend the mesh
!Safety: Mains voltage can kill

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 ZBDongle-E Zigbee 3.0 USB Dongle Plus₹3,041
  • Option 2Sonoff ZBMINIR2 ZigBee Smart External Switch₹1,109
  • Option 3Sonoff MINI-ZBD Zigbee 3.0 Dry Contact Smart Relay Switch₹2,519
01

What the Sonoff Zigbee dongle and switches is

Zigbee devices form a mesh: mains-powered devices like the ZBMINIR2 route messages for battery sensors further away. Zigbee uses 2.4 GHz but very little power, and keeps working when the internet or Wi-Fi is down.

Plug the dongle in through a USB extension cable to keep it away from the Pi's USB 3 ports, which cause interference.

02

Sonoff Zigbee dongle and switches pinout

The pins on the Sonoff Zigbee dongle and switches and what each one does.

PinFunction
USB (ZBDongle-E)To the Home Assistant host
L / N (ZBMINIR2)Mains supply
L outSwitched light output
S1 / S2Wall switch input
COM / NO (MINI-ZBD)Dry contact output
PinFunction
USB (ZBDongle-E)
To the Home Assistant host
L / N (ZBMINIR2)
Mains supply
L out
Switched light output
S1 / S2
Wall switch input
COM / NO (MINI-ZBD)
Dry contact output
03

Wiring the Sonoff Zigbee dongle and switches

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. The ZBMINIR2 needs a neutral wire in the switch box.

Sonoff Zigbee dongle and switches pinZBDongle-EZBMINIR2
USBHome Assistant Green or Pi via USB extension-
L / N-Supply live and neutral
L out-Light
S1 / S2-Existing wall switch
USB
ZBDongle-E:
Home Assistant Green or Pi via USB extension
ZBMINIR2:
-
L / N
ZBDongle-E:
-
ZBMINIR2:
Supply live and neutral
L out
ZBDongle-E:
-
ZBMINIR2:
Light
S1 / S2
ZBDongle-E:
-
ZBMINIR2:
Existing wall switch
04

Example code

In ZHA, choose the dongle's serial port and the EZSP/ember radio type. Then press Add device and hold the ZBMINIR2 button 5 s to pair.

Zigbee2MQTT configuration for the ZBDongle-E · yaml
serial:
  port: /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2-if00-port0
  adapter: ember
mqtt:
  server: mqtt://localhost:1883
frontend: true
permit_join: false
homeassistant: true
05

Setup and tuning

Firmware

update the ZBDongle-E to current EmberZNet firmware for Zigbee2MQTT's ember adapter.

Channel

pick a Zigbee channel (15, 20 or 25) away from your Wi-Fi channel.

Mesh

add mains-powered routers first, then battery sensors.

Placement

central location, USB extension cable, away from metal and the Pi's USB 3 ports.

06

What you need

Shop this list5 of 6 found in our store · ₹29,995

  • Sonoff ZBDongle-E Zigbee 3.0 USB Dongle Plus: the part this guide coversSonoff ZBDongle-E Zigbee 3.0 USB Dongle Plus₹3,041
  • Sonoff ZBMINIR2 ZigBee Smart External Switch: another version this guide coversSonoff ZBMINIR2 ZigBee Smart External Switch₹1,109
  • Sonoff MINI-ZBD Zigbee 3.0 Dry Contact Smart Relay Switch: another version this guide coversSonoff MINI-ZBD Zigbee 3.0 Dry Contact Smart Relay Switch₹2,519
  • 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
07

Alternatives and when to choose them

  • ✓Zigbee and XBee: how Zigbee mesh networks work.
  • ✓ESP32-C6 boards: build your own Zigbee devices.
  • ✓MQTT and Home Assistant: automations with Zigbee2MQTT.
08

Common mistakes to avoid

  • !Plugging the dongle straight into a USB 3 port.
  • !Choosing a Zigbee channel that overlaps busy Wi-Fi.
  • !Adding battery sensors before any routers.
  • !Installing the ZBMINIR2 without a neutral.
09

Frequently asked questions

ZHA or Zigbee2MQTT?

ZHA is built into Home Assistant and simpler; Zigbee2MQTT supports more devices and settings.

Does it need internet?

No. Zigbee runs locally through the dongle.

Can I use it without Home Assistant?

Yes, with Zigbee2MQTT or the eWeLink hub for some devices.

How many devices can it handle?

Dozens directly and hundreds with routers in the mesh.

Is the ZBMINIR2 a router?

Yes, it extends the Zigbee mesh.

Parts for this guide

  • Sonoff ZBDongle-E Zigbee 3.0 USB Dongle Plus
    ₹3,041View
  • Sonoff ZBMINIR2 ZigBee Smart External Switch
    ₹1,109View
  • Sonoff MINI-ZBD Zigbee 3.0 Dry Contact Smart Relay Switch
    ₹2,519View
  • Home Assistant Green Smart Home Hub
    ₹23,149View
  • Fuse Holder (Panel, PCB and HRC)
    ₹105View
  • Digital Multimeter
    ₹177View
Shop Smart Home Switches, Relays & Energy Meters

Keep learning

Component guideIntermediateZigbee and XBee ModulesZigbee is a low-power 2.4 GHz mesh network used by smart-home sensors and industrial devices.3 min read · IoT & WirelessConcept explainerIntermediateMQTT and Home Assistant for ESP32MQTT is a lightweight messaging system: devices publish messages to named topics on a broker, and anything subscribed to that topic receives them.3 min read · IoT & WirelessHow-toIntermediateWi-Fi Smart Switches and RelaysSmart switches are Wi-Fi relays that turn lights and appliances on and off.3 min read · IoT & Wireless

Sources

  • Sonoff ZBDongle-E, ZBMINIR2 and MINI-ZBD user manuals
  • Zigbee2MQTT documentation

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the Sonoff Zigbee dongle and switches isSonoff Zigbee dongle and switches pinoutWiring the Sonoff Zigbee dongle and switchesExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide5 items · ₹29,995

Sonoff ZBDongle-E Zigbee 3.0 USB Dongle Plus · Sonoff ZBMINIR2 ZigBee Smart External Switch · Sonoff MINI-ZBD Zigbee 3.0 Dry Contact Smart Relay Switch · Home Assistant Green Smart Home Hub · Digital Multimeter

Ask the Community

Ask a question