Install OpenHAB
Summary
This documentation describes how to install OpenHAB 2 on a Windows computer.
Requirements
- Operating system: Windows
- Java JDK 8
Description
Step 1: Set system variable Java 8
At first, we have to make sure that we are using Java 8 because OpenHub will not work with Java 9 or 10.
Navigate to: Control Panel > System > Advanced System Settings > Environment Variables > System Variables
Add here a System Environment Variable with the Name JAVA_HOME and fill in the path to your Java 8 JDK.
You can find how to install Java on the website of oracle or you click the link below.
echo foo echo bar
Step 2: Install OpenHAB 2
You can download the latest Windows Stable version as a zip-file from the download page of openHAB:
We unzip the file in the chosen directory and start the server by executing the script start.bat which will open an runtime window showing you an OpenHAB logo.
After that you navigate your browser to http://localhost:8080 which will automatically direct you to the OpenHub package selection page.
Here you can decide between four different packages:
- Simple
- Standard
- Expert
- Demo
We chose the Standard setup for it provides all necessary features for our tasks. After that, the installation is complete. The online documentation is very detailed and nearly every error that might have been made is covered. During our installation process no problems occurred.
The section “While you are getting started” will lead you to a “new user tutorial” which will help with the use of the program.
Used Hardware
Device to be used with this documentation Maybe another device to be used with this documentation
Courses
- A course where this documentation was used (2017, 2018)
- Another one (2018)