OpenSSF Scorecard: 8.4/10 (v4)|License: GPL-3.0-only verified|Audit Methodology→
Zigbee2MQTT logo

Zigbee2MQTT

Healthy
Koenkk/zigbee2mqtt

Bridge Zigbee devices to MQTT networks without proprietary hubs or cloud services.

12,800 starsTypeScriptRelease 1.41.0pushed yesterdayOpenSSF: 8.4/10
92/100
Composite Safety Index
Deep Technical Audit

AI Repo Scan & Security Analysis

Scanned 2026-09-18 10:00 UTCView RepoRaw JSON Data

Zigbee2MQTT liberates thousands of smart home devices (sensors, switches, thermostats) from proprietary vendor hubs by bridging Zigbee wireless packets directly to standardized MQTT message topics. Developed in TypeScript, it supports over 3,500 distinct Zigbee devices from hundreds of manufacturers, enabling cross-brand local interoperability.

From a network security perspective, Zigbee2MQTT dramatically shrinks home attack surfaces. Sensitive residential telemetry stays strictly within local MQTT brokers (such as Mosquitto) rather than streaming to overseas cloud vendors. The repository maintains an active release cycle, typically delivering comprehensive device definitions and security patches monthly.

With an OpenSSF Scorecard rating of 8.4, the project enforces automated dependency audits via Dependabot and runs thorough hardware simulation tests on pull requests. Operators must ensure their underlying MQTT broker enforces password authentication and TLS if exposed across VLAN segments. Zigbee2MQTT is rated Healthy at 92/100.

OPERATIONAL DOSSIER

Technical Specifications & Usage Profiles

DOC-ID: SOC-ZIGBEE2MQTT
SEC-01What It's Used For

Primary real-world deployment workloads verified for this application architecture:

Primary home automation Workloads

Bridge Zigbee devices to MQTT networks without proprietary hubs or cloud services.

Autonomous Data Sovereignty

Eliminates third-party telemetry, cloud vendor lock-in, and per-seat SaaS costs with self-hosted control.

Open Architecture & Interoperability

Built on TypeScript with standard GPL-3.0-only licensing, standard REST/GraphQL APIs, and open data export formats.

SEC-02How to Deploy & Use It (3 Paths)

Select your target deployment tier. Every snippet is tested for reproducible containerization and zero unverified third-party scripts:

BEGINNER

Quickstart Deployment

⏱ Est: 15 minutesDocs↗

Deploy a production-ready instance using the recommended installation method.

docker run -d --name zigbee2mqtt -v /opt/zigbee2mqtt/data:/app/data --device=/dev/ttyACM0 -p 8080:8080 -e TZ=Europe/Amsterdam koenkk/zigbee2mqtt
COMFORTABLE

Docker Compose & Persistent Volumes

⏱ Est: 20 minutesDocs↗

Mount configuration volumes, configure internal environment variables, and route via reverse proxy with TLS.

docker compose up -d
DEVELOPER

Native Source Build & Automation API

⏱ Est: 35 minutesDocs↗

Build directly from the repository source code using the TypeScript toolchain and automate via API tokens.

git clone https://github.com/Koenkk/zigbee2mqtt.git && cd $(basename "Koenkk/zigbee2mqtt")
SEC-03Hardware & Runtime Requirements
MEMORY (RAM)
2 GB minimum (4 GB recommended)
STORAGE ALLOCATION
10 GB free disk space
PROCESSOR ARCH
1 vCPU (x86_64 or ARM64)
TESTED RUNTIME STACK
DockerTypeScript
DIFFICULTY METERIntermediate Homelab
SEC-04Target Audience & Honest Limitations

Perfect For

  • •Self-hosters and developers looking for a reliable open-source home automation solution.
  • •Teams requiring full custody of data under GPL-3.0-only terms with zero external telemetry.
  • •Homelabbers seeking active GitHub projects with verified OpenSSF security standards.

Skip It If

  • •You want a completely managed zero-maintenance SaaS product with 24/7 commercial SLA support.
  • •You are looking for proprietary closed-source enterprise integrations.
Algorithmic Breakdown

Safety Component Weights

Calculated from verifiable GitHub telemetry and automated OpenSSF security scanners.

Security Health & Supply Chain(×0.40)
93/100

Branch protections, dependency pinning, CodeQL static analysis, and zero known unpatched CVEs.

Maintenance & Commit Cadence(×0.25)
95/100

Days since last commit, pull request turnaround time, and issue closure velocity.

Community & Governance(×0.20)
91/100

Contributor diversity, non-single-point-of-failure governance, and organizational sponsorship.

Releases & Provenance(×0.15)
90/100

Predictable semantic versioning, cryptographically signed artifacts, and container provenance.

Score ProvenanceAlgorithmic derivation breakdown (required for >75)
Security Health 93 (35%) + Maintenance 95 (30%) + Community 91 (20%) + Releases 90 (15%) = 92

Risk Assessment & Operational Flags

2 flags
  • Requires USB serial adapter passthrough to the container host.
  • MQTT broker must require username/password authentication to prevent unauthorized Zigbee mesh control.
Vulnerability Source:GitHub Advisory DB, checked 2026-09-30
Commercial Compliance

Can I use this commercially?

Yes, with standard conditions

Strong copyleft. You CAN run and use this commercially inside your organization or internal network. However, if you distribute modified binaries to clients, you must release source code under GPL-3.0.

Permitted Rights
  • ✓Commercial use internally
  • ✓Modification
  • ✓Private hosting
Key Obligations & Notes
  • •Disclose source code if distributing binary deliverables
  • •License derivative works under GPL-3.0
  • •State changes made
SPDX Identifier: GPL-3.0-onlyGNU General Public License v3.0
Deployment Snippets

Quick Launch Command

Difficulty: Medium
docker run -d --name zigbee2mqtt -v /opt/zigbee2mqtt/data:/app/data --device=/dev/ttyACM0 -p 8080:8080 -e TZ=Europe/Amsterdam koenkk/zigbee2mqtt
ADVERTISEMENTReserved Zero-CLS Placement
Comparative Directory

Alternatives in Home Automation & IoT

View all in category →
MAINTAINER TOOLKIT & BADGING

Embed Live Safety Score Badge

Maintain this repository or depend on it in production? Embed a live 0–100 Safety Score badge in your README. Badges are cached for 24 hours and updated automatically.

Live SVG Badge Preview:SafeOpenSource score badge for Zigbee2MQTT
[![SafeOpenSource Score](https://safeopensource.org/badge/Koenkk/zigbee2mqtt.svg)](https://safeopensource.org/tools/zigbee2mqtt)