HOME

TheInfoList



OR:

open Home Automation Bus (openHAB) is an open source home automation software written in
Java Java (; id, Jawa, ; jv, ꦗꦮ; su, ) is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea to the north. With a population of 151.6 million people, Java is the world's List ...
. It is deployed on premises and connects to devices and services from different vendors. As of 2019, close to 300 bindings are available as
OSGi OSGi is an open specification and open source project under the Eclipse Foundation. It is a continuation of the work done by the OSGi Alliance (formerly known as the Open Services Gateway initiative), which was an open standards organization for ...
modules. Actions, such as switching on lights, are triggered by rules, voice commands, or controls on the openHAB user interface. The openHAB project started in 2010. In 2013, the core functionality became an official project of the
Eclipse Foundation The Eclipse Foundation AISBL is an independent, Europe-based not-for-profit corporation that acts as a steward of the Eclipse open source software development community, with legal jurisdiction in the European Union. It is an organization suppo ...
under the name Eclipse SmartHome. openHAB is based on Eclipse SmartHome and remains the project for the development of bindings. According to Black Duck Open Hub, it is developed by one of the largest open-source teams in the world. It also has an active user community.


Features


Installation and runtime

OpenHAB requires a
JVM A Java virtual machine (JVM) is a virtual machine that enables a computer to run Java programs as well as programs written in other languages that are also compiled to Java bytecode. The JVM is detailed by a specification that formally describes ...
and can be deployed on servers running various operating systems, a dedicated
Raspberry Pi Raspberry Pi () is a series of small single-board computers (SBCs) developed in the United Kingdom by the Raspberry Pi Foundation in association with Broadcom. The Raspberry Pi project originally leaned towards the promotion of teaching basic ...
instance, or some
network-attached storage Network-attached storage (NAS) is a file-level (as opposed to block-level storage) computer data storage server connected to a computer network providing data access to a heterogeneous group of clients. The term "NAS" can refer to both the tech ...
systems. The required bindings can be added at runtime via OSGi. OpenHAB supports a number of persistence backends for storing and querying the smart home data, including relational and
time series In mathematics, a time series is a series of data points indexed (or listed or graphed) in time order. Most commonly, a time series is a sequence taken at successive equally spaced points in time. Thus it is a sequence of discrete-time data. Exa ...
databases. By default openHAB uses rrd4j for persistence.


Discovery and configuration

After installation, openHAB scans the local network and discovers devices that can be included in the smart home solution. Users can provide credentials and meaningful device names via an administration user interface.


Things and Items

Since major version 2 of openHAB the connections to physical devices is split in 2 levels. "Things" are the interface elements to a specific physical device (e.g. an interface to a home automation network like KNX,
Z-Wave Z-Wave is a wireless communications protocol used primarily for residential and commercial building automation. It is a mesh network using low-energy radio waves to communicate from device to device, allowing for wireless control of smart home d ...
or
ZigBee Zigbee is an IEEE 802.15.4-based specification for a suite of high-level communication protocols used to create personal area networks with small, low-power digital radios, such as for home automation, medical device data collection, and othe ...
). Within these things, one or more "Items" can then be defined or discovered. These "Items" correspond to one specific component like a relay controlling a light, the desired temperature of a heating system or a dimmer percentage.


Sitemaps

Sitemaps allow the user to determine how the devices in the smart home are arranged. A sitemap groups devices by floor and room and determines how they are visualized and controlled. The following example illustrates what a typical sitemap definition might look like:
sitemap demo label="My home automation" 


User Interface

Once the system is configured, openHAB users can view data and perform actions using a number of user interfaces. These include a browser based interface as well as apps for Android,
Windows 10 Windows 10 is a major release of Microsoft's Windows NT operating system. It is the direct successor to Windows 8.1, which was released nearly two years earlier. It was released to manufacturing on July 15, 2015, and later to retail on J ...
, and
iOS iOS (formerly iPhone OS) is a mobile operating system created and developed by Apple Inc. exclusively for its hardware. It is the operating system that powers many of the company's mobile devices, including the iPhone; the term also includes ...
. All of these UIs are defined by the sitemap mechanism.


Rules

An event, condition, action rule-based system is used to automate the smart home. The following example turns off a light once the sun rises at the configured location. rule "Start wake up light on sunrise" when Channel "astro:sun:home:rise#event" triggered then switch(receivedEvent.getEvent()) end


openHAB Cloud

OpenHAB Cloud is a companion cloud service and backend for openHAB. It provides secure remote access and enables openHAB users to remotely monitor, control and steer their homes through the internet. The openHAB foundation provides a demo system without SLA guarantees.


Version 3 Improvements

In 2020, the code was forked for a major rework, separating to 2.5 version from the upcoming 3.0 branch. Apart from some technical code changes (e.g. use of
java 11 The Java language has undergone several changes since JDK 1.0 as well as numerous additions of classes and packages to the standard library. Since J2SE 1.4, the evolution of the Java language has been governed by the Java Community P ...
), several functional improvements are foreseen: * the UI is unified, and pages (previously managed in sitemaps) are now managed in the openHAB designer. * User and group management will be available to control who can use specific parts of the UI. * Rules and scripts are extended and can be edited directly in the openHAB designer. The main drawback is that backward compatibility to openHAB add-ons for version 1 is dropped. Version 3.0 has been released as of 21 December 2020.


Security

Many security and privacy concerns have been raised with home automation and
IoT The Internet of things (IoT) describes physical objects (or groups of such objects) with sensors, processing ability, software and other technologies that connect and exchange data with other devices and systems over the Internet or other com ...
in general. OpenHAB’s on-premises engine and open source character are answers to these concerns. However, it was criticized for its use of default configurations.


Reception

OpenHAB won the IoT Challenge 2013 and the
JavaOne __NOTOC__ JavaOne is an annual conference first organized in 1996 by Sun Microsystems to discuss Java (programming language), Java technologies, primarily among Java developers. It was held in San Francisco, California, typically running from a M ...
Duke’s Choice Award 2013. It was nominated for the JAX Innovation Award 2014 and was the People's Choice Winner at the Postscapes IoT Awards 2014/15. openHAB was also included in a number of product and platform comparisons.


See also

*
Home Assistant Home Assistant is a free and open-source software for home automation designed to be a central control system for smart home devices with a focus on local control and privacy. It can be accessed through a web-based user interface by using com ...
, another popular open source home automation software


References

{{reflist Home automation Internet of things Smart home hubs