openHAB: Vendor-Neutral Home Automation on the JVM
openHAB is the main alternative to Home Assistant, and the differences are real enough that the choice matters.
The model: things, channels and items
openHAB separates the thing (a physical device), its channels (what the device exposes), and items (the abstract state your rules and UI use).
That indirection is more work upfront than Home Assistant’s entity model, and it pays off when you replace hardware: swap the thing, relink the channel, and every rule and dashboard keeps working because they reference the item.
For a setup you expect to rebuild occasionally, that abstraction is genuinely valuable. For getting a light working this evening, it is friction.
openHAB or Home Assistant
The honest comparison.
Home Assistant has far more momentum, a larger integration count, a better out-of-box experience, and the bigger community. For most people it is the right answer, and our Home Assistant entry covers it.
openHAB has a more rigorous abstraction, a text-based configuration and rule language that version-controls properly, strong KNX and Modbus support, and a stability-first release cadence. It appeals to people automating a building rather than a flat, and to anyone who wants their automation in files rather than a database.
Our dotfiles guide covers why text configuration in git matters, and it is the clearest practical argument for openHAB.
Rules
Rules can be written in openHAB’s DSL, in JavaScript, or in Blockly for a visual approach. The DSL in files is the reason many long-term users stay.
Operational notes
A JVM application, so expect to allocate real memory: a gigabyte or more, against Home Assistant’s Python footprint. That matters on a Raspberry Pi and given current memory prices.
Integrates with Mosquitto for MQTT, Zigbee2MQTT and Z-Wave JS UI for radios, and InfluxDB or Grafana for persistence and charts.
Operational caution
Serial device access needs group membership, which is the usual first blocker with a Zigbee or Z-Wave stick. Our /dev guide covers the device nodes and our udev rules guide covers giving the stick a stable name, because /dev/ttyUSB0 moves.
Back up the configuration directory; it is the whole system.
License
openHAB is released under the Eclipse Public License 2.0.