This How To Setup A New OpenHAB on Raspberry Pi describes in simple steps how you can easily setup a new Raspberry. Its actually very easy!
Index:
Setup A New Raspberry Pi
Get Ready
First of all we prepare. You like to order a Raspberry Pi. Once you have it you download in the first step the latest version of OpenHAB.
- I prefer to spend my time for a proper configuration and a stable environment, hence I did select a Raspberry Pi for my OpenHAB. To simplify my life I leveraged on a full Raspberry Pi 4 8GB kit. In addition I took the Corsair 512 GB USB stick that is known for high performance.
- Download the latest OpenHAB 3 OpenHABian system image, directly from the official OpenHAB GitHub page. Because the 64 bit version is still beta and because I prefer a stable environment, I selected the 32 bit version.
- Download the latest Raspberry Pi Imager fro the official Raspberry Pi Repository.
Once the Raspberry hardware is ready, as well as the latest OpenHABian and the Raspberry Pi Imager are downloaded, then we have no stone in the road anymore and we can start!
Setup A New Setup A New OpenHAB On Raspberry Pi
1. You like to install the Raspberry Pi Imager and once done start it
2. Plug the Raspberry Pi 4 SD card into your computer and install the OpenHAB 3 OpenHABian system image to your SD card. To do so, you click first the Choose OS button, select the downloaded image. Following this you select the SD card by clicking Choose Storage and finally you hit Write.
- Click “CHOOSE OS” -> scroll down and select “Use custom”
- Select your OpenHABian system image file
- Select under Storage “CHOOSE”. The tool will show most likely automatically the SD card you plugged before. You select this
- Confirm and wait (….)
Install OpenHABian on SD Card
How to install OpenHAB to a Raspberry Pi SD Card
Your OpenHAB 3 installation is now ready to be used! Plug the SD card now into your Raspberry and start the Raspberry. You may have to leverage on your router to find the IP address of your OpenHAB in your network. If found, you can login by using SSH.
- Username: openhabian
- Password: openhabian
Alternatively you can leverage on plugging your OpenHAB Raspberry into a screen. After you logged in, you execute the following command to find out your IP address:
ifconfig -a
Additional Information
There are many installation options for OpenHAB. The above one is my preferred one. However, you can find more information in the OpenHAB documentation!