LHA vs Zigbee2MQTT
A side-by-side comparison of two self-hosted home automation options — licensing, setup difficulty, resource needs, and what each one replaces.
Not the right match-up?
LHA
Light Home Automation application that is fully extensible using
VS
Zigbee2MQTT
Bridge Zigbee devices to MQTT without vendor hubs
| Feature | LHA | Zigbee2MQTT |
|---|---|---|
| Category | Home Automation | Home Automation |
| License | MIT | GPL-3.0 |
| Language | Lua | TypeScript |
| Setup difficulty | Medium | Medium |
| Min. RAM | 512 MB | 256 MB |
| Deployment | bare-metal | docker, bare-metal |
| GitHub stars | ★ 13 | ★ 15,477 |
| First released | 2025 | 2018 |
| Replaces | — | SmartThings |
Why pick each one
Choose LHA if…
- Released under the MIT license
- Written in Lua
- Lightweight — runs in 512 MB RAM
Choose Zigbee2MQTT if…
- Frees devices from vendor hubs
- Wide device support
- Local control
Frequently asked questions
Is LHA or Zigbee2MQTT better?
Neither is universally better. Zigbee2MQTT has the larger community; both share a medium setup difficulty, so the decision comes down to features and licensing.
Are LHA and Zigbee2MQTT free and open-source?
Yes. LHA is licensed under MIT and Zigbee2MQTT under GPL-3.0. Both can be self-hosted at no software cost.
Can I run LHA and Zigbee2MQTT with Docker?
LHA: check the project docs for container support. Zigbee2MQTT: yes.