Linux OS X - jit06/openhab GitHub Wiki
Note: for Hardware specific approach please visit the Hardware FAQ.
$ echo "deb http://repository-openhab.forge.cloudbees.com/release/1.5.1/apt-repo/ /" > /etc/apt/sources.list.d/openhab.list
$ sudo apt-get update
$ sudo apt-get install openhab-runtime
The packages are not signed therefore you will get a warning!
Use "apt-cache search openhab" to get a list of all packages. Install the add-ons as you need them using "apt-get install".
$ sudo apt-cache search openhab
$ sudo apt-get install openhab-addon-binding-xy
In terms of configuration please visit the configuration page(s).
$ sudo /etc/init.d/openhab start
The server will run unprivileged using the account "openhab". The deb installer adds openHAB to the system startup.
openHAB comes with a built-in user interface. It works on all webkit-based browsers like Chrome, Safari, etc. Point your browser to http://localhost:8080/openhab.app?sitemap=yourname
and you should be looking at your sitemap.
Changed configuration files will be retained even on upgrades!
$ sudo apt-get update
$ sudo apt-get upgrade
TBD
WARNING: this quick setup is an example for a KNX environment. You need different addons and configurations for other bindings.
The openHAB runtime comes as a platform-independent zip file. To install it, follow these simple steps:
- You will need to install Java if not already installed. Go to http://java.com/ to get it. For ARM based systems and Synology Diskstation, see Hardware FAQ for instructions on getting Java.
- Unzip the
openhab-runtime-<version>.zip
to where it is intended to be running from, e.g./opt/openhab
. - Copy the bindings you have downloaded -
knx-binding-<version>.jar
andhttp-binding-<version>.jar
- to the "addons" directory. - Create a personal configuration file
configurations/openhab.cfg
and add the appropriate configuration parameters fromconfigurations/openhab_default.cfg
(depending on the bindings you've copied).
The openHAB designer comes as a platform-dependent zip, so choose the right type for your platform. To install it, follow these simple steps:
- Unzip the
openhab-designer-<platform>-<version>.zip
to some directory, e.g./opt/openhab-designer
- Launch it by the executable
openHAB-Designer
- Select the "configurations" folder of your runtime installation in the folder dialog that is shown when selecting the "open folder" toolbar icon.
For please visit the configuration page(s).
- Launch the runtime by executing the script
start.sh
openHAB comes with a built-in user interface. It works on all webkit-based browsers like Chrome, Safari, etc. Point your browser to http://localhost:8080/openhab.app?sitemap=yourname
and you should be looking at your sitemap.