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?
FeatureLHAZigbee2MQTT
CategoryHome AutomationHome Automation
LicenseMITGPL-3.0
LanguageLuaTypeScript
Setup difficultyMediumMedium
Min. RAM512 MB256 MB
Deploymentbare-metaldocker, bare-metal
GitHub stars★ 13★ 15,477
First released20252018
ReplacesSmartThings

Why pick each one

Choose LHA if…

  • Released under the MIT license
  • Written in Lua
  • Lightweight — runs in 512 MB RAM
LHA details

Choose Zigbee2MQTT if…

  • Frees devices from vendor hubs
  • Wide device support
  • Local control
Zigbee2MQTT details

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.

Related comparisons