Skip to content

openHAB Distribution

Choose your system
Raspberry Pi
Raspberry Pi
Linux
Linux
Windows
Windows
macOS
macOS
Docker
Docker
Choose your version
Stable5.2.5
Milestone5.3.0.M5
Snapshot5.3.0-SNAPSHOT

Stable versions are thoroughly tested semi-annual official releases of openHAB. Use the stable version for your production environment if you don't need the latest enhancements and prefer a robust system.


Option 1: Use Raspberry Pi Imager

  1. Select your openHABian image under Other specific-purpose OS - Home assistants and home automation.
  2. Insert the SD card in your device, connect the Ethernet cable and turn it on.
  3. If you want to use Wi-Fi, openHABian will launch a hotspot.
  4. Please read the docs while your box is installing openHABian.
  5. Navigate with a web browser to http://openhabian:8080
  6. Continue by following the tutorial to get started

Option 2: Install the APT Packages

REMINDER

openHAB 5 requires Java 21!

TIP

On Debian systems you can also opt to add our openHABian turn-key solution on top of your existing operating system, follow these instructions instead to check whether your system is eligible and install it.

For Raspberry Pi, however, we strongly recommend flashing the complete OS image, see above.

  1. Install a recent Java 21 platform (we recommend your OS package repository provided OpenJDK build, or the Eclipse Adoptium Temurin builds of OpenJDK)
  2. Add the repository key
    curl -fsSL "https://openhab.jfrog.io/artifactory/api/gpg/key/public" | gpg --dearmor > openhab.gpg
    sudo mkdir /usr/share/keyrings
    sudo mv openhab.gpg /usr/share/keyrings
    sudo chmod u=rw,g=r,o=r /usr/share/keyrings/openhab.gpg
  3. Add the HTTPS transport for APT
    sudo apt-get install apt-transport-https
  4. Add the repository
    echo 'deb [signed-by=/usr/share/keyrings/openhab.gpg] https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable main' | sudo tee /etc/apt/sources.list.d/openhab.list
  5. Update the package lists and install the openHAB distribution package
    sudo apt-get update && sudo apt-get install openhab
  6. (Optional) Install the add-ons for offline use
    🛈 You don't need the add-ons package if your machine has Internet access, openHAB will download add-ons online as necessary.
    sudo apt-get install openhab-addons
  7. Navigate with a web browser to http://<ip-address>:8080
  8. Continue by following the tutorial to get started

Option 3: Manual Installation

REMINDER

openHAB 5 requires Java 21!

  1. Install a recent Java 21 platform (we recommend your OS package repository provided OpenJDK build, or the Eclipse Adoptium Temurin builds of OpenJDK)
  2. Download and extract the openHAB runtime distribution:
  3. (Optional) Download the add-on archives for offline use:
    🛈 You don't need the add-ons archives if your machine has Internet access.
  4. Run ./start.sh and wait for openHAB to perform its initial startup (this can take a few minutes)
  5. Navigate with a web browser to http://<ip-address>:8080
  6. Continue by following the tutorial to get started

Previous Versions

Looking for an earlier version of openHAB? Download directly from the links below:

Applications

Get it on Google PlayDownload on the App StoreGet it from Microsoft

Acknowledgements

JFrogJProfilerNetlify