openHABian hassle-free openHAB Setup

openHAB 2 new apt repository and the single distro refactor

Everyone, another important change to openHAB 2 before it’s final release has happened. For one are packages now hosted by a new more powerful repository service provider and secondly are the packages openhab2-online and openhab2-offline now replaced by a base openhab2 package and a openhab2-addons to install on top. Find more details in the corresponding announcement threads:

Implications for openHABian users

I’ve done the needed changes to the openHABian scripts. From this point on forward openHABian will default to openhab2 (the previously known “openhab2-online” package). An option to easily select the addons package will follow.

Fresh installations: The openhab2 package will be installed on fresh systems. Nothing to pay attention to there.

Existing setups: If you are already using openHABian, just execute sudo openhabian-config, then select “Update” followed by “openHAB 2”. This will transition your setup over from the cloudbees repository to bintray and from openhab2-offline to openhab2. You will be prompted about 1-2 changed files in /var/lib/openhab2/etc. Select “Yes” to have them overwritten. Give openHAB a few minutes to restart, you may have to trigger another restart by typing sudo systemctl restart openhab2.service, after that your system as you know it will be back on track. Remember to backup your configuration.

6 Likes