HomeHome AutomationZigbee: Hub vs Zigbee2MQTT

Zigbee: Hub vs Zigbee2MQTT

Showdown Xiaomi MiHome Hub vs CC2531 running Zigbee2MQTT

When it comes to battery powered sensors and IoT devices, Zigbee is one of the more popular protocols to use. Adopted by Xiaomi in their MiHome, IKEA in their TRADFRI and other manufacturers quickly made its way into our homes. Until recently, I only had my hands on MiHome Hub and Aqara sensors. Now I’m able to use CC2531 Zigbee USB sniffer with my Rasberry Pi as well. Which one is better: Hub vs Zigbee2MQTT?

Hub vs Zigbee2MQTT

Zigbee USB vs MiHome Hub

Both gadgets integrate nicely with Home Assistant and NodeRED. I have been running MiHome for 6 months now so I’m very aware of the benefits the ecosystem brings to home automation. A promise of IKEA TRADFRI integration was something I was looking forward a lot, but the experience had been subpar with only lightbulbs being supported.

I ended up with IKEA devices not being used and gathering the dust. I put all my hopes in CC2531 and Zigbee2MQTT. It turns out, that that way of connecting devices is really cool, but not without disadvantages.

Xiaomi’s MiHome, IKEA’s TRADFRI Hub, and other “hubs”

Xiaomi’s MiHome is hands down, one of the better ecosystems you can run in your home automation. It comes with support for 100s devices ranging from my favourite Yeelight WiFi bulbs, sensors to connected scooters! Integration with a 3rd party like IKEA, or dling doorbell makes it one of the most versatile ecosystems out there.

Working with MiHome is easy. The software comes with the local mode and the security key once enabled, can be shared with NodeRED making most of the Aqara line available in NodeRED.

With that said, not all of the devices are properly exposed. The Xiaomi (dling) Video Doorbell is not supported at the time of the writing, and despite the promised integration with IKEA, none of the IKEA’s remotes are usable. To add the insult to injury, Xiaomi fragments its market by binding devices to specific markets. The mentioned doorbell is available only via Chinese servers, without integration with western assistants (Google Home, Alexa).

IKEA TRADFRI looks even more limited. The ecosystem is limited to IKEA devices only, and while “hubless” operation is welcomed, the system itself comes with pretty heavy limitations even when connected to the IKEA hub.

Meatballs of Automation

While it’s nice to have a well-developped ecosystem with a nice mobile app, support and updates, going this way means you will limit yourself to supported devices.

CC2531 USB sniffer and Zigbee2MQTT

What’s the alternative for now, and why people are not flocking around Zigbee2MQTT? To answer simply: “it’s complicated”. Working with CC2531, NodeRED and Zigbee2MQTT require time-consuming research, a fairly prohibitive learning curve and a lot of patience.

The benefit? You should be able to link most of your Zigbee devices in a single ecosystem. Sounds great right? I hope you don’t mind tinkering as this is the biggest trade-off.

In my previous write-ups, I had proven how cool NodeRED integration can be. I showcased how much functionality you can squeeze out from a single button over the standard behaviour. You could do even more impressive things if you know how.

The reality of the DIY approach is that you will spend a lot of time looking for answers and hoping someone has resolved the problem for you. It’s slow, often requires a lot of research, but the rewards are high.

If you opt out for compatibility, you will sacrifice fancy apps and interfaces, and every integration (like assistant support) will be on your shoulders to implement.

Buy USB Zigbee Stick CC2531

Buy it using these links to support NotEnoughTech.

Going forward: Hub vs Zigbee2MQTT

Since I already went through the research, I learned how to use CC2531, (3 min flash guide without CC Debugger) how to integrate Zigbee2MQTT with NodeRED and how to connect various devices, I will continue this way. I won’t blame you if you pick the easy route of consumer-grade systems. I took me 2 weeks to actually get enough time and will to flash the stick and several hours of tinkering to figure things out. Not everyone has that amount of time and patience. If you have any questions, feel free to leave it in this Reddit thread.

PayPal

Nothing says "Thank you" better than keeping my coffee jar topped up!

Patreon

Support me on Patreon and get an early access to tutorial files and videos.

image/svg+xml

Bitcoin (BTC)

Use this QR to keep me caffeinated with BTC: 1FwFqqh71mUTENcRe9q4s9AWFgoc8BA9ZU

Smart Ideas with

Automate your space in with these ecosystems and integrate it with other automation services

client-image
client-image
client-image
client-image
client-image
client-image
client-image
client-image
client-image

Learn NodeRED

NodeRED for beginners: 1. Why do you need a NodeRED server?

0
To server or not to server? That's a very silly question!

Best Automation Projects

Tuya SDK for beginners: Intro to Tuya Cloud API

0
Working with Tuya Cloud API. A guide to Cloud automation for beginners, get started with REST!

NEST your old thermostat under $5

0
Nest-ing up your older thermostat under $5

Nora – Google Assistant in NodeRED

0
Integrate Google Assistant with NodeRED thanks to Nora - NodeRED home automation

DIY Smart Washing Machine – for about 15 bucks!

0
Learn how to add washing machine notifications to your Google Home on the cheap

Sonoff Zigbee Bridge – review

0
Sonoff line up will soon include Sonoff Zigbee Bridge and more Zigbee sensors - here is the first look

Smart Home

We’ve seen this before: SwitchBot K10+ PRO

0
This is an odd one. Building on the success of SwitchBot K10+ they released SwitchBot K10+ PRO - but is the experience actually better?

Is this the smart panel we have waited for?

0
ITEAD has released a new smart panel: Sonoff NSPanel Pro 120 - have they learned the lesson from the terrible launch of the original Pro? Let's see what's new.

Aqara FP1E detects motionless humans

0
This isn't exactly a new device, it's an interaction of the original Aqara presence sensor. Aqara FP1E brings Matter, ZigBee and new triggers to your smart home

SwitchBot S10: cleaning re-imagined!

0
SwitchBot S10 promises unattended vacuuming and mopping so you can focus on things you love and care for. Does it deliver?

Sonoff for households and gardens

0
ITEAD released two ZigBee devices to manage water in your household and gardens. Now you can monitor the flow and dispense water with Sonoff SWV and prevent water damage using the Sonoff Water Leak sensor with a twist.