Home Automation – Install OpenHAB on Raspberry Pi

What we do
What we need
How we do (Hardware)
How we do (Software)
Still shots Outcome
What we do

OpenHAB (https://www.openhab.org) is one of the best open-source home automation.

Here, we're going to install it onto Raspberry Pi!

How we do (Hardware)
How we do (Software)

There is a setup guide for OpenhabianPi, so you can find more details there. (https://www.openhab.org/docs/installation/openhabian.html#quick-start)

  • Download OpenhabianPi from OpenHAB website (https://github.com/openhab/openhabian/releases)

First of all, we need an image for Raspberry Pi (called 'openHabian').

Please visit that website and download the latest image for Raspberry Pi.

The downloaded file must be like this.

  • Write the image into sd card

Once you finished the download of the image, we're ready to write that image into sd card.

Here, I've used 'Win32 Disk Imager' in order to write the image into sd card.

  • Wi-Fi based Setup Notes

Once you completed the writing process, please do not eject the sd card yet.

There is one more step remains.

When you go to the my computer - boot(F or I , whatever) drive for the sd card), you can see some files already there like the following.


The file called 'openhabian.conf' is the one we have to make some changes.


please open that file by using notepad or notepad++ etc. then fill out wifi_ssid and wifi_psk with your private thing.

don forget to uncomment 'timezon'e' as well.

if you're going to use ethernet instead of wifi, you can skip this step. 🙂

  • Insert sd card into Raspberry Pi and wait for some time.


Please make sure your internet connection such as wifi or ethernet before powering Raspberry Pi.

OpenHAB guide says we have to wait for 15 - 45 mins for openHabian to do its magic. 🙂

so, now we can try to connect to OpenHAB dashboard which is 'http://openhabianpi:8080/'.


Please note you can also see some logs by 'http://openhabianpi:9001/'

In my case, it shows the following. 🙂

When you go to 'http://openhabianpi:8080', you can see 4 options.

I've chosen 'Expert' mode, but I suggest you choose 'Standard' mode. 🙂


The Standard package installs "Paper UI" (here you can install add-ons, discover and configure things etc), the "Basic UI" (here you can have a look at your created sitemaps), and the Habpanel (here you can create dynamic dashboards for your things) as you can see from the following. Screenshot contains both the outcome of Standard and Expert mode.

Still shots Outcome

Now, we're up and running OpenHABian in Raspberry Pi.

However, there are tons of things we can enjoy from now on! 🙂

Let's move next one!


0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply