today I want to show how to get openHAB on a Raspberry to work fastest. The installation and initial setup is very user-friendly.
openHab is a free software solution developed in Java for the management and networking of various smart home devices. There are many so-called "bindings" (addons) available which are constantly being expanded and further developed. This allows you to link to an MQTT broker, Alexa, or even connect to a weather forecast API. If these bindings are linked, your smart home knows the weather, the status of your devices, the sun's position and can also be controlled with voice commands using Alexa.
Until then, however, it is a long way that we want to go with you here in the blog piece by piece. For today, we limit ourselves to the installation on a RaspberryPi 3B. To do this, we simply flash the preconfigured image with Etcher SD card of the Raspberry. The download can be found here:
this is what the installation looks like:
Afterwards we get the last release of openHABian Here:
When the download is complete we open Etcher:
First select our just downloaded image, the drive of our SD card and start the flash ingess.
When the flash process is complete, it looks like this:
(Windows is more popular about the file system and suggests formatting - just ignore it)
Now it's time to put the Raspberry into operation. To do this, plug the flashed SD card into the Raspberry SD slot and connect your peripherals. The Ethernet port is needed by openHabian to get the DHCP data and to perform the latest updates. (Ethernet required, screen, mouse and keyboard are optional). If your Raspberry is now powered, the operating system will install itself. Don't be alarmed if you don't see an image on your (optionally connected screen) - this process takes up to 30 minutes, depending on your internet connection.
openHABian Installs itself with its own web server. This is already configured and accessible via http://openHabianPI:8080 on your network. On a local registration as shown at the bottom of the picture we do not. For the sake of completeness, I would like to enter the access data for the local registration: Username: "openhabian", password "openhabian".
You can now use your Raspberry with openHub via http://openHabianPI:8080
In one of our next posts, we'll show you how to proceed, install an MQTT broker, and create the first bindings for your smart home. Until next time