Skip to content

openHAB

Java and OSGi core runtime for vendor-neutral, rule-based home automation

Weak copyleft (OSI) · EPL-2.0
  • Self-hosted

Listed by , founder & editor

70

Health

Active

Overview

Stars

1,163

Last commit

today

Nov 2026

Repository age

10 years

since Dec 2015

Latest version

–

Contributors

–

18 active in 90 days

Releases

0

last 12 months

Language

Java

openHAB Core is the runtime layer of openHAB, an automation system for the home that is not tied to one vendor or protocol. It is a framework, not a finished product. The main openHAB distribution picks it up and builds on it.

The repository holds OSGi bundles written in Java, dependency bills of materials and Karaf feature definitions. The build uses Maven and needs JDK 21 and Maven 3.9.6 or newer. Add-on project templates, translation tooling and upgrade tools for configuration and databases live in the tools directory. Unit tests sit next to each bundle, and integration tests that need an OSGi runtime sit in separate modules.

openHAB is self-hosted. It is a direct alternative to Home Assistant if you want a rule-based engine with a mature binding ecosystem. It is licensed under EPL-2.0, a weak copyleft license, and the project has been developed since 2015.

Who it's for

Home automation users who want a vendor-neutral engine

It works across device brands and technologies and runs rules on your own hardware.

Skip if: You want the largest integration catalog and a simple setup; Home Assistant is easier to start with.

Java developers building smart home add-ons

The core is OSGi bundles with archetype templates for writing add-ons.

Skip if: You only want to run automations and do not plan to write or build code.

The problem it solves

Smart home devices come from many vendors, each with its own app and protocol. You want one self-hosted system that ties them together with rules instead of a cloud service.

Strengths

  • Vendor and technology agnostic automation runtime
  • Add-on project templates and translation tooling included
  • Active development with 21 contributors in the last 90 days
  • Self-hosted, with development dating back to 2015

Trade-offs

  • This repository is a framework, not an installable product
  • Java and OSGi setup is steeper than alternatives
  • Fewer integrations than Home Assistant
  • Weaker built-in voice assistant

Self-host openHAB

Self-hostable
Yes

Quick start

git clone https://github.com/openhab/openhab-core.git
cd openhab-core

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is openHAB Core a standalone app?

No. It is a framework of OSGi bundles that the main openHAB distribution uses.

How is it licensed?

It uses EPL-2.0, a weak copyleft license approved by the OSI.

What do I need to build it?

You need JDK 21 and Maven 3.9.6 or newer. A Maven Wrapper is included.

Can I self-host it?

Yes. It is built for self-hosted use.

Similar tools in Smart home and voice assistants

hassio-zigbee2mqtt

Smart home and voice assistants

570 178 6 years ago Dormant Apache-2.0

Home Assistant

Smart home and voice assistants

Local-first home automation hub for tinkerers, runs on a Raspberry Pi or home server

92k 39k today Thriving Apache-2.0

Replaces Google HomeAlexa

esphome

Smart home and voice assistants

YAML-configured firmware for ESP32, ESP8266 and RP2040 smart home devices

12k 5.8k today Thriving GPL-3.0