openHAB 2.2 Release

Posted by Kai Kreuzer on December 18, 2017

Half a year has passed since openHAB 2.1 and I am very happy that we still made it before Christmas, so that you have something nice to play with during the holiday season: openHAB 2.2 is out!

The most obvious change that you will immediately notice is the rollout of our new openHAB logo, which you will now find in all our apps, UIs and websites.

openHAB Logo

But the functional evolution is of course of much more importance, and a lot has happened in the past months.

While you can find all the details in the official Release Notes, let me highlight a few of those features.

New Features for Setup & Configuration

Huge effort went into the user experience when setting up and configuring openHAB:

Language Server Protocol (LSP) Support and VS Code Extension

One major step forward is the introduction of Language Server Protocol (LSP) support in the core runtime. This allows text editors to remotely connect and do syntax validation and content assist on our configuration files, which is specifically useful when writing rules. Since these were the main features of the former Eclipse RCP-based “openHAB Designer”, this tool has been discontinued and the VS Code Extension becomes its official successor.

VS Code Extension Visual Studio Code Extension for openHAB

Besides the “usual” features like code highlighting, syntax validation and content assist, the openHAB VS Code Extension uses the connection to the openHAB server to provide many more great features like browsing through the available items & things, showing live previews of sitemaps and many more - you should definitely check it out!

Home Builder

Another new tool for getting started is the Home Builder, which let’s you easily define the whole structure of your home (floors, rooms, objects) and then creates the according item and sitemap files by the click of a button. No tedious typing or copying&pasting necessary anymore - and the risk of typos is gone! The Home Builder is automatically installed when the “Standard” installation package is chosen, all others can install it as an optional add-on.

Home Builder The new Home Builder generates configuration files to start from

openHABian

Talking about an easy start with openHAB, I clearly have to mention openHABian, which has just been released in parallel: openHABian 1.4 is available for all Raspberry Pi models from 0W to 3 as well as for the PINE A64. Its setup is smoother than ever and it by now includes an abundance of options to install next to openHAB, like Node-RED, KNXd, Grafana and FIND, just to name a few. It now also includes those directly in the openHAB dashboard, so that all of them are easily accessible from a single place.

openHABian Populated dashboard in openHABian

New Device Integrations

Of course there are again news on the binding side as well. Some bindings like DMX, Nest and Plugwise existed before, but they are now fully rewritten and support openHAB 2 features like discovery and UI-driven configuration. Other bindings are completely new like e.g. the (specifically in Austria) very popular Loxone system or the webOS-based LG TV support. All Apple users might find the new iCloud binding very useful as it provides a very simple way to do location tracking of people (or rather their devices) and through which you can also trigger “find my iPhone” in case you forgot where you have put your mobile.

iCloud Binding Location tracking through the iCloud Binding

The release notes furthermore contain a detailed list of all noteworthy enhancements and fixes that have been done on the existing add-ons.

… and more

Last but not least I should mention that we also have updates for the iOS app and the Android app available in the app stores - especially the Android app has evolved a lot and it is awesome to see many new contributors being involved in it - check out all the new features and fixes in its release notes.

For the 2.2 release, we plan to come up with 2.2.x updates, which can potentially fix critical issues that are found, but which will more importantly add further bindings that are going to be merged during the next weeks. Our aim is to make the time that it takes for a new binding to become available to our release users much shorter than it is today. So stay tuned for further news on this!

I hope that you like all those updates and I really think that openHAB becomes much better with every release. This wouldn’t be possible without its great community. So let me end my annoucement by thanking all contributors that drive the project forward - be it through code contributions, work on the documentation or simply by reporting bugs and involving themselves in discussions. Merry christmas to all of you!

Merry Christmas