Skip to main content

Posts

Showing posts with the label raspbian

Configuring openHAB on Rasberry pi

General Configuration - openhab.cfg The runtime comes with one core configuration file, the file  openhab_default.cfg . The purpose of this file is to define all basic settings, such as IP addresses, mail server, folder locations etc. The file also contains settings for all (optional) bindings. These settings are automatically dispatched to the according binding. For this, all settings come with a namespace (such as "mail:" or "knx:") to identify the associated binding. First thing after unzipping the runtime should be creating a copy of  openhab_default.cfg  to  openhab.cfg .  cd /usr/share/openhab/configurations sudo cp openhab_default.cfg openhab.cfg sudo nano  openhab.cfg All personal settings should always only be done in this copy. This ensures that your settings are not lost, if you unzip a new version of the runtime to your openHAB home directory. The  openhab_default.cfg  file comes with extensive comments which ex...

Install openHAB on Raspberry Pi

Background This guide will enable you to install openHAB on Raspberry Pi computer. Steps Install Java if 1.6 or higher is not already installed. The following will display your current Java version: java -version   Add the openHAB Bintray Repositories key to the apt-keyring  usin g curl: curl 'https://bintray.com/user/downloadSubjectPublicKey?username=openhab' | sudo apt-key add - Add openHAB apt repository to the apt sources list (Note: the current openhab.list file will be overwritten) echo "deb http://dl.bintray.com/openhab/apt-repo stable main" | sudo tee /etc/apt/sources.list.d/openhab.list Resynchronize the package index sudo apt-get update Install the openHAB runtime sudo apt-get install openhab-runtime If you have more than one OpenHAB binding with a USB device (Z-Wave, RFXCOM, etc), refer to  symlinks Start openHAB - manually sudo /etc/init.d/openhab start sudo /etc/init.d/openhab status Start openHAB - at system startup sudo update-rc....